The following snippet:
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
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 Quizizz
40 questions
Text Adventure Game Functions Quiz - Part 1

Quiz
•
12th Grade
37 questions
AP CS A Midterm Review

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

Quiz
•
11th Grade - University
40 questions
SUMMATIVE TEST IN COMPUTER PROGRAMMING - 2nd Qtr-1-23-2023

Quiz
•
12th Grade
35 questions
Spring Final Review Part II

Quiz
•
9th - 12th Grade
40 questions
2024_UAS XII RPL 1 PBO

Quiz
•
12th Grade
33 questions
AP CSP Review

Quiz
•
9th - 12th Grade
34 questions
Day 4 - Basics of Python

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University