Search Header Logo

AP CSP Unit 2

Authored by anayi garza

Computers

10th - 11th Grade

Used 15+ times

AP CSP Unit 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

A(n) ____ documents what a programmer needs to know about using a library: it's a description of each procedure's purpose, inputs, and outputs (but not its algorithms

Global variable

API

AIP

Local Variable

2.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

A ______ _____ is either TRUE or FALSE

Local variable

Command

Boolean Value

Variable

3.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

A _____ _____ is a variable that is usable by all scripts in the program

Global variable

Local variable

4.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

The if and if-else blocks are called _____ because they control the code based on a true-or-false condition.

Predicates

Conditionals

Boolean values

Variables

5.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

Setting the starting value of a variable is known as _____ the variable

Initializing

Localizing

Globalizing

6.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

A _____ _____ can be set or used only in the environment in which it is defined. This term includes inputs to procedures and variables created by the for or script variables block.

Global variable

Local variable

7.

MULTIPLE CHOICE QUESTION

0 sec • 5 pts

A _____ _____ is an if or if-else statement inside of another if-else statement

Nested Conditional Statement

API

Conditional

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?