
Comp Sci Mid Quarter Review Quiz
Authored by Michael Kendall
Computers
9th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
What is an IF statement used for? Select all that apply.
Make True/ False decisions
To count user input
Select between options in a program
Repeat sections of code
2.
MULTIPLE CHOICE QUESTION
2 mins • 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
2 mins • 1 pt
Consider the following code:
x = 18
if (x > 18):
print(1)
elif (x < 18):
print(2)
else:
print(3)
Which of the following will the code output?
1
2
3
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
The following line is seeing if the variable name1 is equal to the string Bob. Select all options that would fix an error in the following code:
IF (name1 == Bob)
Add a : (colon) at the end of the line of code
Change Bob to "Bob"
Change IF to if
Remove the parentheses in the code
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
To test if a variable is between two numbers you would use:
and
!
else
or
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following correctly tests if a number equals 90 or 100?
if (x == 90 and 100):
if (x == 90 and x == 100):
if (x == 90 or 100):
if (x == 90 or x == 100):
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
if (x > 40 and < 50):
The code above should be rewritten as:
The code is fine
if (50 > x or x > 40):
if (50 > x and > 40):
if (x > 40 and x < 50):
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
9 questions
OCR GCSE CS - 2.1 ERL sorts and searches
Quiz
•
10th - 11th Grade
10 questions
SHORTCUT PADA KEYBOARD
Quiz
•
10th - 12th Grade
10 questions
Binary Subtraction
Quiz
•
12th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
10 questions
Basic Parts of Speech EPS
Quiz
•
9th - 10th Grade
10 questions
Fundamentos PHP (Manejo de Fomularios y arreglos)
Quiz
•
9th Grade
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
10 questions
COMPUTER PROGRAMMING Q2_FLOWCHART (2 points each)
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade