
CS Principles - Unit 3 Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Courtney Stenzhorn
Used 27+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When do you use an else statement?
To tell what will happen when an if-statement is false
To end an IF statement
To handle string values
To input a variable
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Select all the mistakes (there may be more than one) in the following:
The = should be ==
elseif should be elif
there is no end if
The else should have a :
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT true about all algorithms?
All algorithms can only do number calculations.
All algorithms have clear instructions.
All algorithms stop in a finite amount of time.
All algorithms have an order.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following code could be rewritten using:
not
or
and
none of the answers
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
When should you use an ELIF statement?
To repeat sections of code
To make a follow-up True/False decision
To counter user actions
To get user input
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write the code to test if the number in the variable text1 is greater than 15.
if (text1 > "15"):
if (text1 < "15"):
if (text1 >= 15):
if (text1 > 15):
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write the code to test if the number 78 is stored in the variable text1:
if (text1 == "78"):
if (str(text1) == 78):
if (text1 == 78):
if ("text1" == 78):
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Advanced HTML and CSS

Quiz
•
9th - 12th Grade
20 questions
Quiz Visual Studio

Quiz
•
12th Grade
20 questions
CSS Box Model +

Quiz
•
8th - 12th Grade
19 questions
Midterm 12C SU

Quiz
•
12th Grade
15 questions
if-else-if and Logical Operators

Quiz
•
9th - 12th Grade
20 questions
HTML and CSS

Quiz
•
9th - 12th Grade
20 questions
Scratch Pre-Assessment

Quiz
•
5th - 9th Grade
20 questions
Edhesive - Intro to CS Unit 3

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade