
Comp Sci Mid Quarter Review Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Michael Kendall
Used 15+ times
FREE Resource
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):
8.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following represents not equal to?
>=
!=
<=
==
Similar Resources on Wayground
11 questions
AP CSP MCQ Review Session 3 Quiz

Quiz
•
10th Grade
10 questions
Programação em C

Quiz
•
10th - 12th Grade
13 questions
Iteration Quiz review part 2

Quiz
•
9th - 12th Grade
9 questions
H446 1.2 Revision Quiz

Quiz
•
12th Grade
10 questions
Functions_Finals

Quiz
•
12th Grade
7 questions
026. A - G Extra Help

Quiz
•
9th - 12th Grade
9 questions
Understanding Selection in Pseudocode

Quiz
•
11th Grade
11 questions
Control Structures - Selection in Python

Quiz
•
8th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade