AP CSP Semester Exam Review

AP CSP Semester Exam Review

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

52 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Any programming language that lets users create programs by manipulating “blocks” or graphical programming elements, rather than writing code using text.

Back

Block-based programming language

Answer explanation

The question describes a programming language that uses visual elements instead of text. The correct answer, 'Block-based programming language', specifically refers to this type of programming, making it the best choice.

2.

FLASHCARD QUESTION

Front

A sequence of steps, written in a programming language, that can be followed to solve a problem, especially by a computer.

Back

Computer Program

Answer explanation

A 'Computer Program' is a sequence of steps written in a programming language that a computer follows to solve a problem. An 'Algorithm' is a part of this, but the complete solution is best described as a 'Computer Program'.

3.

FLASHCARD QUESTION

Front

An error in a program that prevents the program from running as expected

Back

Bug

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.

4.

FLASHCARD QUESTION

Front

Statements that should only run upon a specific user action should be placed

Back

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.

5.

FLASHCARD QUESTION

Front

Finding and fixing problems in an algorithm or program

Back

Debugging

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.

6.

FLASHCARD QUESTION

Front

The program above is run. Then the user clicks the "blueButton" button ONCE. What will be displayed in the console? Options: "1", "2", "3", "1", "3", "2", "2", "1", "3", "1", "3", "2"

Back

"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'.

7.

FLASHCARD QUESTION

Front

What color is blueButton after the code above runs? Options: blue, red, green, yellow

Back

green

Answer explanation

The code likely changes the color of blueButton to green. Therefore, after execution, blueButton is green.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?