Unit 4 Assessment Review

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Aziza Munem
Used 123+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the last thing printed by the following program?
10
20
30
60
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
We want to simulate constantly flipping a coin until we get 3 heads in a row. What kind of loop should we use?
For Loop
While Loop
Loop and a half
Infinite Loop
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the following program print "hello"?
10
11
9
This code will loop infinitely
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following code continually asks the user for a password until they guess the correct password, then ends. But there is one problem.
Which of the following will fix this program?
Change the True in line 3 to be password != SECRET_PASSWORD so that the program doesn’t loop infinitely
Change the True in line 3 to be password == SECRET_PASSWORD so that the program doesn’t loop infinitely
Add a break; statement after line 6 so that the program doesn’t loop infinitely
Put line 7 inside of an else statement
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following program print when run?
4
5
4
5
6
5
4
6
5
4
0
2
6
4
6
5
6
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the boolean variable can_vote at the end of this program?
True
False
Yes
none, there is a syntax error in this code
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of this program?
0
5
True
Nothing will print
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Reviewer Computer 10 - 4th Quarter

Quiz
•
10th Grade
20 questions
C++ Function

Quiz
•
10th Grade
20 questions
Python Functions

Quiz
•
9th Grade
22 questions
CodeHS AP CSP Unit 3 Review

Quiz
•
11th - 12th Grade
20 questions
8525 AQA GCSE 3.2.6 Data Structures

Quiz
•
10th Grade
20 questions
CS J277 Unit 7 Programming

Quiz
•
11th Grade
25 questions
Defensive Design - GCSE Computer Science OCR

Quiz
•
10th Grade
20 questions
Python Functions and Error Handling

Quiz
•
10th Grade - University
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