AP CSP:

AP CSP:

Assessment

Flashcard

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

45 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which of the following does NOT describe a high-level programming language?
- They are ambiguous
- They need to be translated into machine code
- They are easier for humans to understand than machine code
- They are decided on by a small group of people

Back

They are ambiguous

Answer explanation

High level languages are guaranteed to be unambiguous.

2.

FLASHCARD QUESTION

Front

Which of the following is LEAST likely to reduce algorithmic bias? Options: State that the problem does not exist, and people will believe it does not exist; Include a diverse set of engineers on the project; Ensure the training data sets reflect a wide range of inputs; Check the design and implementation frequently for bias

Back

State that the problem does not exist, and people will believe it does not exist

3.

FLASHCARD QUESTION

Front

What does the following program produce?
MOVE_FORWARD()
ROTATE_LEFT()
MOVE_FORWARD()
ROTATE_RIGHT()
MOVE_FORWARD()
ROTATE_LEFT
MOVE_FORWARD()

Back

A line in the shape of a staircase

4.

FLASHCARD QUESTION

Front

Whenever you reduce the complexity of a problem by ignoring unnecessary details, you are using the process of __.

Back

abstraction

5.

FLASHCARD QUESTION

Front

Which of the following is NOT true of a low-level programming language?
Options:
It is easy for humans to understand
It is unambiguous
It is easy for a machine to understand/run
It often refers to details of a machine's hardware

Back

It is easy for humans to understand

6.

FLASHCARD QUESTION

Front

Consider the following pseudocode program. Which input for y will cause an error that prevents the program from finishing?
x = INPUT()
x = x + 10
x = 10 / x
IF (x < 0) THEN DISPLAY("Negative")
ELSE DISPLAY("Positive")
Options: -10, 10, 5, No input will ever cause an error.

Back

-10

7.

FLASHCARD QUESTION

Front

Which of the following is not done by abstraction? Identifies essential details, Disregards non-essential information, Breaks the problem down into smaller tasks

Back

Breaks the problem down into smaller tasks

Create a free account and access millions of resources

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?