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
Java Test - 1

Quiz
•
9th - 12th Grade
40 questions
9th Grade - IT Programming - 2nd Cycle Exam

Quiz
•
9th 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
41 questions
Gerbang Logika

Quiz
•
12th Grade
40 questions
For Loop and Dry Run Revision Quiz

Quiz
•
7th Grade - Professio...
40 questions
Computer Hardware, Software & Peripherals

Quiz
•
9th - 12th Grade
37 questions
18a Artificial intelligence end unit and KEY TERMS

Quiz
•
12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade