Search Header Logo

Python Quiz

Authored by Balaji M CSE

Other

1st Grade

Used 2+ times

Python Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the final value of count?

5

6

Infinite loop

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is always true?

a = {1, 2, 3}

b = {2, 3, 4}

a & b == {2, 3}

a | b == {1, 2, 3, 4}

a - b == {1}

All of the above

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which expression is always True?

{1, 2} == {2, 1}

[1, 2] == [2, 1]

(1, 2) == (2, 1)

All of them are equal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of print("abc" *0)?

abc

""

a

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

You told your playlist to skip every second song, starting from the end. What do you get?

5 3 1

1 3 5

4 2

5 4 3 2 1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name of our College culturals

Takshashetra

Takshisala

Takshashila

Takshakala

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times is "Hi" printed?

2

3

4

5

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?