Python Quiz

Python Quiz

University

13 Qs

quiz-placeholder

Similar activities

Web Application

Web Application

University

12 Qs

Academic Words 9

Academic Words 9

University

10 Qs

Second Language Acquisition

Second Language Acquisition

University

15 Qs

Python Output Based Quiz

Python Output Based Quiz

University

15 Qs

MS Excel - Day 06

MS Excel - Day 06

University

10 Qs

Coding

Coding

4th Grade - University

15 Qs

Acdemic Words 8

Acdemic Words 8

University

10 Qs

Tricky Tech-round 2.1

Tricky Tech-round 2.1

University

10 Qs

Python Quiz

Python Quiz

Assessment

Quiz

English

University

Medium

Created by

Rayyan Uddin

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?