wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP Vocab #4

Total questions: 23

Worksheet time: 12mins

Name
Class
Date
1.

On-screen objects, like buttons, images, text boxes, pull down menus, screens and so on.

a)

Variables

b)

User Interfaces

c)

UI Elements

d)

Events

2.

The visual elements of an program through which a user controls or communications the application. Often abbreviated UI.

a)

User Interaction

b)

User Interface

c)

User Iteration

d)

User I

3.

Finding and fixing problems in an algorithm or program.

a)

Debugging

b)

Handling

c)

Concatenating

d)

Re-Writing

4.

All values in a programming language have a different this - such as a Number, Boolean, or String - that dictates how the computer will interpret it. For example 7+5 is interpreted differently from "7"+"5"

a)

Value Type

b)

Value Class

c)

Data Type

d)

Data Class

5.

Any valid unit of code that resolves to a value.

a)

Expression

b)

Variable

c)

Data

d)

Grams

6.

A placeholder for a piece of information that can change.

a)

Expression

b)

Event

c)

Statement

d)

Variable

7.

The equality operator (sometimes read: "equal equal") is used to compare two values, and returns a Boolean (true/false). Avoid confusion with the assignment operator "=",

a)

>=

b)

=<

c)

==

d)

+=

8.

A variable that can be used and updated by any part of the code. Its scope is typically derived from the variable being declared (created) outside of any function, object, or method.

a)

Expanded Variable

b)

Local Variable

c)

Expressive Variable

d)

Global Variable

9.

The common programming structure that implements "conditional statements".

a)

If-Statement

b)

Else-Statements

c)

Local-Satement

d)

Function-Statement

10.

A variable with local scope is one that can only be seen, used and updated by code within the same scope. Typically this means the variable was declared (created) inside a function -- includes function parameter variables.

a)

Local Variable

b)

Global Variable

c)

Scope Variable

d)

Expanded Variable

11.

Dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created.

a)

Variable Scope

b)

Variable Type

c)

Variable Range

d)

Variable Location

12.

To link together or join. Typically used when joining together text Strings in programming.

a)

Fusing

b)

Locking

c)

Concatenate

d)

Adding

13.

A value sent back by a function to the place in the code where the function was called form.

a)

Back To the Future Value

b)

Past Value

c)

Root Value

d)

Return Value

14.

A user interface element to use in HTML/JavaScript which allows the programmatic drawing and manipulation of pixels, basic shapes, figures and images.

a)

Canvas

b)

Platform

c)

User Interface

d)

Scene

15.

in JavaScript an event triggered by pressing or releasing a key on the keyboard.

a)

Key Trigger

b)

Key Loop

c)

Key Condition

d)

Key Event

16.

Any sequence of characters between quotation marks.

a)

Integer

b)

Word

c)

Char

d)

Sting

17.

Statements that only run under certain conditions.

a)

Expressions

b)

Conditionals

c)

Statements

d)

Variables

18.

A single value of either TRUE or FALSE.

a)

Boolean

b)

Binary

c)

Conditional

d)

Statement

19.

In programming, an expression that evaluates to True or False.

a)

Boolean Expression

b)

Binary Expression

c)

Conditional Expression

d)

Statement Expression

20.

A programming construct used to repeat a set of commands as long as a boolean condition is true.

a)

If-Then Statement

b)

Jeff Williams Statement

c)

While Loop

d)

For Loop

21.

A program which replicates or mimics key features of a real world event in order to investigate its behavior without the cost, time, or danger of running an experiment in real life.

a)

models and simulations

b)

Models And Simulations

c)

Models and Simulations

d)

Models and simulations

22.

A data structure in JavaScript used to represent a list.

a)

Array

b)

List

c)

Variable

d)

/d

23.

A generic term for a programming data structure that holds multiple items.

a)

Array

b)

Box

c)

I don't have enough mental capacity to think of anything else

d)

List