Python Quiz

Python Quiz

University

13 Qs

quiz-placeholder

Similar activities

Tricky Tech-round 2.1

Tricky Tech-round 2.1

University

10 Qs

There/Their/They're, To/Two/Too, Its/It's

There/Their/They're, To/Two/Too, Its/It's

4th Grade - University

12 Qs

Coding

Coding

4th Grade - University

15 Qs

Acdemic Words 8

Acdemic Words 8

University

10 Qs

Academic Words 9

Academic Words 9

University

10 Qs

MS Excel - Day 06

MS Excel - Day 06

University

10 Qs

Flowchart

Flowchart

8th Grade - University

15 Qs

Doi

Doi

10th Grade - University

15 Qs

Python Quiz

Python Quiz

Assessment

Quiz

English

University

Medium

Created by

Rayyan Uddin

Used 4+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

print(type([]) is list)

False

True

none

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?
print("Hello World"[::-1])

Hello World 

None

Error

dlroW olleH

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid variable name declaration? 

my_var = “John”

m = 10

9var = “John”

_n = 20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

True

False

Error

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?
print(bool(0))

True

False

Error

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

print("abc" == "abc")

True

False

Error

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

print((1, 2) + (3, 4))

(1, 2, 3, 4) 

 [1, 2, 3, 4] 

Error

none

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?