
CS2 Unit 7 Review
Instructional Technology
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which code segment results in "true" being returned if a number is even? Replace "MISSING CONDITION" with the correct code segment.
num % 2 == 0;
num % 0 == 2;
num % 1 == 0;
num % 1 == 2;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which code segment will guarantee that the robot makes it to the grey square without hitting a wall or a barrier (black square)?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be printed to the console after this program runs?
[2, 5, 3, 1, 6]
[5, 2, 6, 3, 9]
[0, 3, 6, -1, 9]
[-1, 2, 6, -2, 8]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function calls would provide the most helpful test of this function?
Remember: With tests, you are attempting to figure out all the possible ways the function could be broken.
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You have imported a library with the birthMonth() function. Based on the API, how many strings are inputed to calculate the birth month?
4
1
0
3
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
listAverage() returns the average number in a list. Which of these functions does this correctly?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is printed to the console?
3
2
1
4
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
Research Paper & Citations
Quiz
•
9th - 12th Grade
16 questions
CPA CPF1 System Specifications
Quiz
•
8th Grade - Professio...
20 questions
IED Engineering Design Process
Quiz
•
9th - 12th Grade
10 questions
Edible water Bottle
Quiz
•
KG - Professional Dev...
10 questions
Redes Sociales
Quiz
•
8th Grade - University
20 questions
Pa Emission Study Guide
Quiz
•
12th Grade - University
12 questions
GSuite Basics
Quiz
•
9th - 12th Grade
20 questions
Photoshop Certification [2, Panels]
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade