Python Cert - Day 5 (AM)

Quiz
•
Computers
•
12th Grade
•
Hard

Bobby Liu
Used 2+ times
FREE Resource
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
The following snippet:
is erroneous
will output 4
will output None
will output 2
2.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
What is the output of the following snippet?
2
the snippet is erroneous and will cause SyntaxError
4
6
3.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
What is the output of the following piece of code if the user enters two lines containing 3 and 2 respectively?
2
1
0
3
Answer explanation
4.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
What will be the output of the following snippet?
1 0
0 1
1 1
0 0
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
An operator able to check whether two values are NOT EQUAL is coded as:
!=
not ==
<>
=/=
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
How many elements does the lst list contain?
lst = [i for i in range(-1, -2)]
one
zero
two
three
7.
MULTIPLE CHOICE QUESTION
1 min • 6 pts
What is the output of the following snippet?
[2, 1, 1, 2]
[1, 1, 1, 2]
[1, 2, 1, 2]
[1, 2, 2, 2]
Create a free account and access millions of resources
Similar Resources on Wayground
34 questions
Day 4 - Basics of Python

Quiz
•
12th Grade
40 questions
Python - Lists, Dictionaries and Loops

Quiz
•
9th - 12th Grade
40 questions
Semester Final 2025

Quiz
•
10th Grade - University
40 questions
Text Adventure Game Functions Quiz - Part 1

Quiz
•
12th Grade
36 questions
AP CS A unit 1

Quiz
•
11th Grade - University
35 questions
Unit 9.1 - Textual Programming

Quiz
•
8th Grade - University
35 questions
T3 ASK (Bab 1 - Bab 3)

Quiz
•
12th Grade
41 questions
Midterm prep 7th

Quiz
•
7th Grade - 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