Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP CSP Vocab

Total questions: 14

Worksheet time: 2hrs 20mins

Name
Class
Date
1.

Match the following

a)

a circuit with two inputs and one output defined such that its output is TRUE (or ON) only when both of its inputs are TRUE (or ON).

1.

AND gate

b)

an elementary building block of a digital circuit. Examples would be AND, OR, and NOT gates that perform basic digital operations.

2.

logic gate

c)

a circuit with one input and one output defined such that its output is TRUE (or ON) when its input is FALSE (or OFF) and vice versa.

3.

NOT gate

d)

a circuit with two inputs and one output defined such that its output is TRUE (or ON) when either or both of its inputs are TRUE (or ON).

4.

OR gate

2.

Match the following

a)

condition is a true/false condition. It is named after George Boole (1815-1864) an English mathematician.

1.

boolean

b)

any symbol that requires one byte of storage.

2.

character

c)

an informal way of describing an integrated circuit (IC) consisting of millions of tiny circuits.

3.

chip

d)

such as the numeral '5', is an abstraction that represents a single thing, e.g., the value 5.

4.

constant

e)

The process of translating the entire source code into a single binary file.

5.

compilation

3.

Match the following

a)

a machine that processes information under the control of a program.

1.

computer

b)

can run many different programs (e.g. a smartphone).

2.

general purpose computer

c)

has a fixed program (e.g. a simple calculator, a digital watch, a car's anti-lock braking system).

3.

special purpose computer

d)

An informal term for error in computer hardware or software -- the term was coined by Grace Hopper.

4.

computer bug

4.

Match the following

a)

consists of the programs that control the computer.

1.

software

b)

includes its electronic and mechanical components that carries out the instructions of a computer program.

2.

hardware

c)

houses the computer's main electronic components.

3.

motherboard

d)

stores the computer's programs and data temporarily while power is on.

4.

RAM

e)

the part of the computer's hardware that interprets and runs the computer program.

5.

CPU

5.

Match the following

a)

names a memory location to hold different values in your program.

1.

variable

b)

Variables that are declared and exist only inside a procedure or function (this is called their scope).

2.

local variables

c)

sets a variable to a value or a mathematical expression.

3.

assignment

d)

involves values, variables, and operators for example (a+b)/2

4.

expression

e)

input variables for a procedure.

5.

parameters

6.

Match the following

a)

Inserts x at end of the list

1.

APPEND(list, x)

b)

inserts an element into a list at the index given

2.

INSERT(list, i, value)

c)

removes the element in the given list at the given index

3.

REMOVE(list, x)

d)

data sent to a computer for processing by a program and can be tactile, audible, visual, or text

4.

input

e)

a block of programming statements that controls the flow or behavior of an algorithm.

5.

control structure

7.

Match the following

a)

Selection or conditional algorithm that allows a program to choose between different actions.

1.

If/Else

b)

occurs when the ending condition will never evaluate to true.

2.

Infinite loop

c)

Loops that have a predetermined beginning, end, and increment (step interval).

3.

For loop

d)

a programming construct used to repeat a set of commands (loop) as long as (while) a boolean condition is true

4.

While loop

e)

a statement that will evaluate to true or false and run code based on the answer

5.

conditional statement

8.

Match the following

a)

puts a list into alphabetic or numeric order.

1.

sorting algorithm

b)

a step-by-step procedures for solving a particular problem.

2.

algorithm

c)

a search algorithm that repeatedly divides a sorted list to narrow in on the searched-for item

3.

binary search

d)

specify the values of the parameters when a procedure is called.

4.

arguments

e)

an algorithm that checks ever element in a list from the start to the end of the list to find an item.

5.

linear or sequential search

9.

Match the following

a)

another term for 'repetition'

1.

iteration

b)

a programming language that is directly readable by the computer's CPU.

2.

machine learning

c)

data sent back from the program to the device and can be tactile, audible, visual, or text.

3.

output

d)

a sequence of instructions that controls the computer.

4.

program

e)

a notation for expressing algorithms, which is more precise that ordinary English but less formal than a programming language.

5.

pseudocode

10.

Match the following

a)

control structure uses a true or false condition to determine which of two parts of an algorithm is used.

1.

selection

b)

control structure that is the application of each step of an algorithm in the order in which the statements are given.

2.

sequence

c)

a non-executable block of text that can be added to a program to provide clarification and documentation of the code.

3.

comment

d)

Putting two strings together to make a new string.

4.

concatenation

e)

a system of rules that govern the behavior of some system.

5.

protocol

11.

Match the following

a)

A sequence of characters that can be stored in a variable or list.

1.

string

b)

Part of an existing string

2.

substring

c)

solve by trial and error; trying every possible option

3.

brute force

d)

how well an algorithm uses time and memory/space resources, CPU and RAM

4.

efficiency

e)

A procedure that computes and returns a value.

5.

function

12.

Match the following

a)

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

1.

return value

b)

<, >, <=, >=, ==, != indicate a Boolean expression

2.

comparison operators

c)

users are asked to present several separate pieces of evidence involving knowledge (something they know like a password), possession (something they have like a texted code), and/or inherence (something they are like biometrics).

3.

multi-factor authentication (MFA)

d)

The process of removing errors from computer hardware or software.

4.

debugging

e)

a computational model in which operations are performed in order, one at a time on one processor or computer

5.

sequential computing

13.

Match the following

a)

the number or position of an element in the list.

1.

index

b)

In computer science, this stores multiple items under one variable name and uses an index to number and access them.

2.

list

c)

Symbols like +,-,*,/ used for addition, subtraction, multiplication, division.

3.

operator

d)

in computer science is the practice of organizing and encapsulating algorithms in named procedures that can then be invoked by name. An example would be the 'sqrt(x)', square root of x, which encapsulates the algorithm for calculating the square root of x.

4.

procedural abstraction

e)

the lack of pattern or regularity. A random sequence of events has no order or pattern.

5.

random

14.

Match the following

a)

data means to transmit data from a computer to an online repository or service such as a bulletin board service, or drop box, or network.

1.

upload

b)

gives the remainder when one number is divided by another.

2.

mod operator

c)

an event that cannot be predicted with certainty. Examples would include flipping a fair coin, rolling a die, picking a card from a well shuffled deck.

3.

random event

d)

an algorithm that generates a sequence of numbers that seem to occur in random order.

4.

random number generator