
AP CSP Semester Exam Review
Quiz
•
Computers
•
12th Grade
•
Medium
Kelly Kroft
Used 7+ times
FREE Resource
Enhance your content in a minute
62 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
An error in a program that prevents the program from running as expected
onEvent
Bug
Moth
Fly in the Ointment
Answer explanation
A 'Bug' refers to an error in a program that causes it to malfunction or not run as intended. This term is widely used in software development to describe issues that need fixing.
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Statements that should only run upon a specific user action should be placed
inside an onAction block
below an onEvent command
after the first programming statement
within an onEvent programming statement
Answer explanation
Statements that should run on specific user actions must be placed within an onEvent programming statement, as this structure allows the program to respond directly to user interactions.
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Finding and fixing problems in an algorithm or program
Debugging
Event Driven Programming
Run Programs
Algorithms
Answer explanation
Debugging is the process of finding and fixing problems in an algorithm or program. It involves identifying errors and correcting them to ensure the program runs as intended.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The program above is run. Then the user clicks the "blueButton" button ONCE. What will be displayed in the console?
"1"
"2"
"3"
"1"
"3"
"2"
"1"
"3"
"1"
"3"
"2"
Answer explanation
When the user clicks the 'blueButton', it triggers a sequence that first logs '1', then '3', and finally '2' to the console. Therefore, the correct output is '1', '3', '2'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What color is blueButton after the code above runs?
blue
red
green
yellow
Answer explanation
The code likely changes the color of blueButton to green. Therefore, after execution, blueButton is green.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What color is redButton after the code above runs?
blue
red
green
yellow
Answer explanation
The code likely changes the color of redButton to yellow. Therefore, after the code runs, redButton is yellow.
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The program above is run. What color is blueButton if the user DOES NOT click blueButton?
blue
red
green
yellow
Answer explanation
If the user does not click blueButton, it defaults to red. The program likely changes the button color based on user interaction, and since there was no click, blueButton remains red.
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
56 questions
PH INFOR KELAS X
Quiz
•
2nd Grade - University
50 questions
ULANGAN HARIAN TEKNIK PENGOLAHAN AUDIO DAN VIDEO
Quiz
•
1st - 12th Grade
47 questions
Ulangkaji ASK T2 Bab 2 Algoritma
Quiz
•
1st - 12th Grade
50 questions
Arquitetura básica dos computadores
Quiz
•
12th Grade
52 questions
Latihan ASAS GASAL 2425
Quiz
•
9th - 12th Grade
47 questions
IT Fundamentals Chapter 6
Quiz
•
8th - 12th Grade
50 questions
SOAL PERAKITAN KOMPUTER
Quiz
•
12th Grade
48 questions
UD3. La capa física
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
