Python_MCQ_2

Python_MCQ_2

University

15 Qs

quiz-placeholder

Similar activities

Quiz 1

Quiz 1

University

10 Qs

OOP-Q1

OOP-Q1

University

10 Qs

Mastering Python Control Flow

Mastering Python Control Flow

University

15 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

quiz1B1

quiz1B1

7th Grade - University

20 Qs

CodeQuest TechTopia 2025-26

CodeQuest TechTopia 2025-26

University

11 Qs

2F-3 | Python Quiz | 22/11/2024

2F-3 | Python Quiz | 22/11/2024

University

20 Qs

Python_Quiz_1

Python_Quiz_1

University

10 Qs

Python_MCQ_2

Python_MCQ_2

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Dinesh Kushwaha

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many except statements can a try-except block have?

zero

one

more than one

more than zero

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose t = (1, 2, 4, 3), which of the following is incorrect?

print(t[3])

t[3] = 45

print(max(t))

print(len(t))

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

(1, 2)

(1, 2, 4)

(2, 4)

(2, 4, 3)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following Python code?

[1] [2] [3]

[1] [1, 2] [1, 2, 3]

[1, 2, 3]

1 2 3

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

4

5

8

12

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following Python code?

True

False

Error

None

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the following Python code?

30

24

33

12

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?