wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CC CS1 Vocabulary

Total questions: 55

Worksheet time: 28mins

Name
Class
Date
1.

What is the term for 'a sequence of instructions to solve a problem'?

a)

Algorithm

b)

Variable

c)

Compiler

d)

Database

2.

What is the term for information given to a function to change what it does?

a)

Argument

b)

Loop

c)

Variable

d)

Operator

3.

What is the term for 'giving a value to a variable'?

a)

Assign

b)

Compare

c)

Delete

d)

Print

4.

What is the term for this definition? 'A symbol used to store a value in a variable. In Python and JavaScript, it is =.'

a)

Assignment Operator

b)

Comparison Operator

c)

Logical Operator

d)

Increment Operator

5.

What does it mean to give someone credit for their work?

a)

Attribute

b)

Plagiarize

c)

Ignore

d)

Criticize

6.

What is the term for 'Prejudice in favor of or against one thing, person, or group, usually unfair'?

a)

Bias

b)

Justice

c)

Equality

d)

Empathy

7.

What is the term for statements inside a loop or if/else statement?

a)

Body

b)

Header

c)

Footer

d)

Condition

8.

Which data type represents true or false?

a)

Boolean

b)

Integer

c)

String

d)

Float

9.

What is the term for an expression that evaluates to True or False?

a)

Boolean Expression

b)

Arithmetic Expression

c)

String Literal

d)

Loop Condition

10.

What is the term for this definition? 'Running the instructions in a procedure/function/method.'

a)

Call

b)

Return

c)

Loop

d)

Declare

11.

What is the term for a symbol that compares two values and gives a True/False result? Known as a relational operator on the AP CSP exam.

a)

Comparison Operator

b)

Assignment Operator

c)

Arithmetic Operator

d)

Logical Operator

12.

What is the term for a boolean expression that decides if code like an if statement or while loop runs?

a)

Condition

b)

Iteration

c)

Function

d)

Variable

13.

_________: A programming structure that instructs a computer to make a decision given a condition.

a)

Conditional Statement

b)

Loop

c)

Variable

d)

Function

14.

_________: To find and fix problems in a program.

a)

Debug

b)

Compile

c)

Execute

d)

Design

15.

_________: Breaking a problem into smaller parts.

a)

Decomposition

b)

Iteration

c)

Abstraction

d)

Simulation

16.

_________: To create a variable by giving it a name.

a)

Declare

b)

Assign

c)

Initialize

d)

Reference

17.

_________: Text that explains parts of a program to make it easier to understand and maintain.

a)

Documentation

b)

Compilation

c)

Execution

d)

Encryption

18.

_________: Creating a new function.

a)

Define

b)

Call

c)

Return

d)

Import

19.

_________: Steps engineers use to solve a problem.

a)

Engineering Design Process

b)

Scientific Method

c)

Trial and Error

d)

Brainstorming

20.

_________: When a computer interprets and simplifies an expression.

a)

Evaluation

b)

Compilation

c)

Execution

d)

Translation

21.

A programming structure that waits for a specific input and then calls a special function.

a)

Event

b)

Loop

c)

Variable

d)

Array

22.

_________: Running a program or code.

a)

Execute

b)

Compile

c)

Debug

d)

Terminate

23.

_________: Combining values using mathematical, comparison, or logical operators.

a)

Expression

b)

Variable

c)

Constant

d)

Function

24.

_________: A data type for decimal numbers.

a)

Float

b)

Integer

c)

Boolean

d)

Character

25.

_________: A code block used to go through a list.

a)

For Loop

b)

If Statement

c)

Function Call

d)

Variable Assignment

26.

_________: A named block of code that can be reused.

a)

Function

b)

Variable

c)

Loop

d)

Constant

27.

_________: A statement that runs code if a condition is True.

a)

If Statement

b)

For Loop

c)

While Loop

d)

Print Statement

28.

Fill in the blank: ________ is when a condition is True, a block of code runs. If not, another condition is checked, and if True, another block runs. If not, nothing happens.

a)

Statement

b)

Loop

c)

Variable

d)

Function

29.

Fill in the blank: ________ is a statement that runs one block of code if a condition is True, and another if it is False.

a)

If/Else Statement

b)

For Loop

c)

Switch Statement

d)

While Loop

30.

Fill in the blank: ________ means to add space before a line of code. This is important in Python.

a)

Indent

b)

Comment

c)

Variable

d)

Loop

31.

Fill in the blank: ________ is a loop that never stops repeating.

a)

Infinite loop

b)

For loop

c)

Conditional loop

d)

Finite loop

32.

Fill in the blank: ________ is information given to a program.

a)

Input

b)

Output

c)

Process

d)

Storage

33.

Fill in the blank: ________ is a data type for whole numbers.

a)

Integer

b)

String

c)

Float

d)

Boolean

34.

Fill in the blank: ________ is repeating a process for a set amount of time.

a)

Iteration

b)

Abstraction

c)

Compilation

d)

Recursion

35.

Fill in the blank: ________ is a special word in a programming language.

a)

Keyword

b)

Variable

c)

Function

d)

Operator

36.

Fill in the blank: ________ is a collection of values with a unique name.

a)

List

b)

Integer

c)

String

d)

Function

37.

Fill in the blank: ________ is a mistake in an algorithm that makes it behave unexpectedly. Programs with these errors still run completely.

a)

Logic Error

b)

Syntax Error

c)

Runtime Error

d)

Compilation Error

38.

Fill in the blank: ________ is a sequence of instructions that changes how an object behaves.

a)

Method

b)

Class

c)

Variable

d)

Attribute

39.

Fill in the blank: ________ is a bundle of information you can access with the dot operator.

a)

Object

b)

Array

c)

Function

d)

String

40.

Fill in the blank: ________ is the information produced after a program processes input.

a)

Output

b)

Input

c)

Process

d)

Storage

41.

Fill in the blank: ________ is a set of instructions for a computer.

a)

Program

b)

Monitor

c)

Keyboard

d)

Printer

42.

Fill in the blank: ________ is a variable used to store information about an object.

a)

Property

b)

Method

c)

Function

d)

Class

43.

Fill in the blank: ________ means giving a variable a new value.

a)

Reassign

b)

Declare

c)

Initialize

d)

Reference

44.

Fill in the blank: ________ means using a variable after it has been declared and given a value.

a)

Reference

b)

Declaration

c)

Initialization

d)

Iteration

45.

Fill in the blank: ________ is a statement that allows a function to return a value.

a)

Return

b)

Break

c)

Continue

d)

Goto

46.

Fill in the blank: ________ is the order in which lines of code are written and executed.

a)

Sequence

b)

Loop

c)

Condition

d)

Function

47.

Fill in the blank: ________ is the act of completing the action described by a code statement in the correct order.

a)

Sequencing

b)

Debugging

c)

Looping

d)

Branching

48.

What is the term for the following definition: 'order in which it is given within a program.'?

a)

Order

b)

Loop

c)

Variable

d)

Function

49.

What is the term for the following definition: 'A specific and valid line of code that tells a computer to perform a specific action.'?

a)

Statement

b)

Variable

c)

Loop

d)

Function

50.

What is the term for the following definition: 'A sequence of characters that are enclosed by quotation marks.'?

a)

String

b)

Integer

c)

Boolean

d)

Array

51.

What is the term for the following definition: 'A smaller string found inside of a larger string.'?

a)

Substring

b)

Superset

c)

Prefix

d)

Concatenation

52.

What is the term for the following definition: 'The rules of a computer language that govern how lines of code are written.'?

a)

Syntax

b)

Algorithm

c)

Variable

d)

Function

53.

What is the term for the following definition: 'A mistake made in an algorithm that does not follow the grammar rules of the programming language. Programs that contain syntax errors will not be fully executed by your computer.'?

a)

Syntax Error

b)

Logic Error

c)

Runtime Error

d)

Semantic Error

54.

What is the term for the following definition: 'A programming structure that allows you to save/store information for later use.'?

a)

Variable

b)

Loop

c)

Function

d)

Operator

55.

What is the term for the following definition: 'A code block that repeats a process while a condition is True.'?

a)

While Loop

b)

For Loop

c)

If Statement

d)

Function