Python_MCQ_2

Quiz
•
Information Technology (IT)
•
University
•
Hard
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
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
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
What will be the output of the following Python code?
4
5
8
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
True
False
Error
None
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Python code?
30
24
33
12
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C-Volution (Hard)

Quiz
•
University
12 questions
Java_Quiz_Part_2

Quiz
•
University
10 questions
Python_Quiz_1

Quiz
•
University
20 questions
2F-3 | Python Quiz | 14/11/2024

Quiz
•
University
10 questions
OOP-Q1

Quiz
•
University
15 questions
Mastering Python Control Flow

Quiz
•
University
20 questions
2F-3 | Python Quiz | 22/11/2024

Quiz
•
University
15 questions
Python Challenge

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade