
CS Principles - Unit 3 Quiz
Authored by Courtney Stenzhorn
Computers
9th - 12th Grade
Used 27+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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):
Access all questions and much more by creating a free account
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
15 questions
Problem Solving : Design Solution
Quiz
•
12th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
21 questions
Computer System
Quiz
•
9th - 11th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
20 questions
SOAL PAS INFORMATIKA
Quiz
•
11th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
20 questions
STS Informatika
Quiz
•
10th Grade - University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade