
Quiz 2: Conditionals (CodeHS)

Quiz
•
Computers
•
11th Grade
•
Hard
Bryan Campbell
Used 6+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The __ keyword in Python is used for identity comparison. It checks if two variables refer to the same object in memory. In other words, it checks if the memory address of both variables is the same.
is
in
if
as
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print to the console for the following code?
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print to the console for the following code?
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print to the console for the following code?
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print to the console for the following code?
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Python, the __ keyword is primarily used for membership testing. It checks whether a specified value exists within a sequence (such as a string, list, tuple, or dictionary).
is
in
if
as
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will print to the console for the following code?
True
False
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
GCSE (9–1) CS 2.1 Algorithms

Quiz
•
9th - 11th Grade
30 questions
D&T Challenge 1

Quiz
•
9th - 12th Grade
40 questions
Year 11 T1 PG1 Python

Quiz
•
11th Grade
35 questions
Python. Основы языка

Quiz
•
9th - 12th Grade
30 questions
Python Operators

Quiz
•
11th - 12th Grade
30 questions
Analisis Data (informatika 10)

Quiz
•
9th - 12th Grade
30 questions
11 Final Test

Quiz
•
11th Grade
34 questions
AP Computer Science Applications - Fall 2023 Exam

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade