

APCS Principles Unit 4 Review
Presentation
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
John Schlamann
Used 72+ times
FREE Resource
6 Slides • 11 Questions
1
APCS Unit 4 Review
​

2
Fill in the Blank
Type answer...
3
Line 3 had the error
You do NOT want to DECLARE the variable "score" again.
Line 3 should NOT have the "var"
should just be:
score = score + 1;
4
Fill in the Blank
Type answer...
5
Line 4 is incorrect
It should be:
if (score>15) {
(otherwise game will end right away)
6
Multiple Choice
day = "Saturday" and temp=80
What prints to the console?
stay in and relax
go out and play
Go to school
7
Fill in the Blank
Type answer...
8
Fill in the Blank
Type answer...
9
Multiple Select
Which line number(s) contain errors?
16
17
18
19
20
10
Variables on lines 18 and 19 should not be in "quotation marks"
if you want to print the contents of the variables they should not be in quotes: fahrenheitTemp and celsiusTemp
11
Multiple Select
Which line(s) should be put into a function to reduce redundancy in this program?
16
17
18
19
20
12
Remove redundancy
lines 17,18, and 19 are in BOTH onEvent functions
they should be removed and stored in a new function and then called inside both
tempDownButton "click"
and
tempUpButton "click"
13
Multiple Choice
day = "Monday" temp =72
What prints to the console?
message 1
message 2
message 3
message 4
14
Multiple Choice
day = "Friday" temp =70
What prints to the console?
message 1
message 2
message 3
message 4
15
day="Friday and temp =70
day does not equal Monday
70 is not greater than 70
70 is not less than 70
console will show:
message 4
16
Multiple Choice
day = "Wednesday" temp =85
What prints to the console?
message 1
message 2
message 3
message 4
17
Multiple Choice
day = "Friday" temp =64
What prints to the console?
message 1
message 2
message 3
message 4
APCS Unit 4 Review
​

Show answer
Auto Play
Slide 1 / 17
SLIDE
Similar Resources on Wayground
15 questions
Slope Intercept
Presentation
•
9th - 12th Grade
10 questions
AP CSP 4.1 The Internet
Presentation
•
9th - 12th Grade
11 questions
Linear & Quadratic Regression using Desmos
Presentation
•
10th - 12th Grade
12 questions
Using Line of Best Fit to Make Predictions
Presentation
•
9th - 12th Grade
14 questions
Quadratic Inequalities
Presentation
•
9th - 12th Grade
13 questions
Protecting Personal Data Online Lesson 2
Presentation
•
9th - 12th Grade
12 questions
Before Darwin Build Up to Evolution
Presentation
•
9th - 12th Grade
13 questions
CMU CS Academy 2.4 Weightlifting and Alien Eyes
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
5.P.1.3 Distance/Time Graphs
Quiz
•
5th Grade
10 questions
Fire Drill
Quiz
•
2nd - 5th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
School Wide Vocab Group 1 Master
Quiz
•
6th - 8th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade