AP CSP Semester Exam Review

AP CSP Semester Exam Review

12th Grade

62 Qs

quiz-placeholder

Similar activities

Algoritmika 1.

Algoritmika 1.

10th Grade - University

50 Qs

DDPTJKT - Latihan Soal PTS Genap

DDPTJKT - Latihan Soal PTS Genap

10th Grade - University

50 Qs

TIN HỌC 10 - ÔN TẬP GK1 2425

TIN HỌC 10 - ÔN TẬP GK1 2425

10th Grade - University

50 Qs

Software de Licenciamento Livre

Software de Licenciamento Livre

12th Grade

50 Qs

EVALUACIÓN INDIVIDUAL. LÓGICA PROPOSICIONAL.

EVALUACIÓN INDIVIDUAL. LÓGICA PROPOSICIONAL.

9th - 12th Grade

50 Qs

#3 CIW Data Analyst - Certification Prep

#3 CIW Data Analyst - Certification Prep

9th Grade - University

54 Qs

Information Technology

Information Technology

12th Grade

50 Qs

Exam revision

Exam revision

1st - 12th Grade

47 Qs

AP CSP Semester Exam Review

AP CSP Semester Exam Review

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Kelly Kroft

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?