Search Header Logo

Python Quiz - 50 Questions

Authored by Code Tigers

Computers

6th - 8th Grade

Used 3+ times

Python Quiz - 50 Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the order of precedence in python?

a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction

b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction

c) Parentheses, Exponential, Multiplication, Division, Subtraction, Addition

d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

5
4
3
2
1
4
3
2
1
0
5  4  3  2  1
4  3  2  1  0

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

5
4
3
2
1
4
3
2
1
0
5  4  3  2  1
4  3  2  1  0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code snippet?

a) 40

b) 45

c) “john”

d) “peter”

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

a) {1: ‘A’, 2: ‘B’, 3: ‘C’}

b) Method update() doesn’t exist for dictionaries

c) {1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’, 5: ‘E’}

d) {4: ‘D’, 5: ‘E’}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code

66

0

36

0

66

3

36

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ______ symbol is used at the beginning of a flow chart.

Circle

Rectangle

Diamond

None of these

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?