Intro to CS Unit 3 Review
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Sammi McConnell
Used 16+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do you use an else statement?
To Input a variable
To handle string values
To tell what will happen when an if-statement is false.
To end an IF statement.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if num1 and num2 are the same.
if (num1 = num2)
if (num1 < num2)
if (num1 == num2)
if (num1 != num2)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Consider the following code:
word = "kangaroo"
if (word == KANGAROO"):
print ("TRUE")
else:
print ("FALSE")
What is output?
KANGAROO
TRUE
FALSE
CAPTAIN
Answer explanation
Capitalized words in a string are not equal to their lower case counter parts. So,
“kangaroo” does not
equal “KANGAROO” which is why the output is false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Consider the following code:
if (90 < = x <= 100)
It should be rewritten as:
if (90 < = x <= 100):
if (90 < = x and <= 100):
if (90 < = x and x <= 100):
Nothing, the if statement is correct
Answer explanation
This correctly tests if 90 is less than or equal to x and tests if x is less than or equal to 100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When do you use an else statement?
When you need something to happen when the if condition is false
To make a follow-up True/False decision
To allow programs to make decisions.
To get user input
Answer explanation
An else statement will run lines of code when all of the other conditions that are checked are false
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the code to test if num1 and num2 are NOT the same.
if (num1 != num2 )
if (num1 == num2 )
if (num1 = num2)
if (num1 < num2 )
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does != mean?
equal
not equal
less than
both
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms
Quiz
•
12th Grade - University
24 questions
Search Engines
Quiz
•
8th - 10th Grade
20 questions
Контрольная работа
Quiz
•
9th Grade
20 questions
9-Класс ТЕСТ 30-34
Quiz
•
9th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
20 questions
SOAL PAS INFORMATIKA
Quiz
•
11th Grade
20 questions
STS Informatika
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
