AP CSP Exam Reference Sheet Practie

AP CSP Exam Reference Sheet Practie

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Mouna Boutemine

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What does the DISPLAY expression do?

Back

Displays the value of expression, followed by a space.

2.

FLASHCARD QUESTION

Front

What does the MOD operator do?

Back

Evaluates to the remainder when a is divided by b.

3.

FLASHCARD QUESTION

Front

What does the relational operator = do?

Back

Tests the relationship between two variables, expressions, or values.

4.

FLASHCARD QUESTION

Front

What does the REPEAT UNTIL (condition) do?

Back

The code in block of statements is repeated until the Boolean expression condition evaluates to true.

5.

FLASHCARD QUESTION

Front

What does the INSERT (aList, i, value) do?

Back

The length of the list is increased by 1, and value is placed at index i in aList.

6.

FLASHCARD QUESTION

Front

What does the PROCEDURE procName (parameter1, parameter2, ...) do?

Back

Defines procName as a procedure that takes zero or more arguments.

7.

FLASHCARD QUESTION

Front

What does the RETURN (expression) do?

Back

Returns the flow of control to the point where the procedure was called and returns the value of expression.

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?