Search Header Logo

Python quick quiz

Authored by Love Lifelong

Computers

University

Used 4+ times

Python quick quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following code snippet?

print(2**2 + (5 + 6)**(1 + 1))


129

125

8

None of the Above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be output if a = 8**2 and b =5

a = input()

b=input()

print(a +b)

69

21

error

8**25

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Samar

Error

Global

No Output

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output?

[2, 5, 7, 19, 22, 45, 72, 89]

(2, 5, 7, 19, 22, 45, 72, 89)

Error

{2, 5, 7, 19, 22, 45, 72, 89}

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

s = {1, 2, 3.0, 3, 2, 4, 5, 5.0}
print(s)

{1, 2, 3, 4, 5.0}
{1, 2, 3.0, 4, 5}
{1, 2, 3.0, 4, 5.0}
{1, 2, 3.0, 3, 2, 4, 5, 5.0}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

[0,1,4,9]

[0,1,4,9,16]

[0,1,4,9,16,25]

[0,1,2,3,4]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Guess output?

1

2

3

4

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?