NEW
Font size
WorksheetsCC CS1 Vocabulary
Total questions: 55
Worksheet time: 28mins
What is the term for 'a sequence of instructions to solve a problem'?
Algorithm
Variable
Compiler
Database
What is the term for information given to a function to change what it does?
Argument
Loop
Variable
Operator
What is the term for 'giving a value to a variable'?
Assign
Compare
Delete
What is the term for this definition? 'A symbol used to store a value in a variable. In Python and JavaScript, it is =.'
Assignment Operator
Comparison Operator
Logical Operator
Increment Operator
What does it mean to give someone credit for their work?
Attribute
Plagiarize
Ignore
Criticize
What is the term for 'Prejudice in favor of or against one thing, person, or group, usually unfair'?
Bias
Justice
Equality
Empathy
What is the term for statements inside a loop or if/else statement?
Body
Header
Footer
Condition
Which data type represents true or false?
Boolean
Integer
String
Float
What is the term for an expression that evaluates to True or False?
Boolean Expression
Arithmetic Expression
String Literal
Loop Condition
What is the term for this definition? 'Running the instructions in a procedure/function/method.'
Call
Return
Loop
Declare
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.
Comparison Operator
Assignment Operator
Arithmetic Operator
Logical Operator
What is the term for a boolean expression that decides if code like an if statement or while loop runs?
Condition
Iteration
Function
Variable
_________: A programming structure that instructs a computer to make a decision given a condition.
Conditional Statement
Loop
Variable
Function
_________: To find and fix problems in a program.
Debug
Compile
Execute
Design
_________: Breaking a problem into smaller parts.
Decomposition
Iteration
Abstraction
Simulation
_________: To create a variable by giving it a name.
Declare
Assign
Initialize
Reference
_________: Text that explains parts of a program to make it easier to understand and maintain.
Documentation
Compilation
Execution
Encryption
_________: Creating a new function.
Define
Call
Return
Import
_________: Steps engineers use to solve a problem.
Engineering Design Process
Scientific Method
Trial and Error
Brainstorming
_________: When a computer interprets and simplifies an expression.
Evaluation
Compilation
Execution
Translation
A programming structure that waits for a specific input and then calls a special function.
Event
Loop
Variable
Array
_________: Running a program or code.
Execute
Compile
Debug
Terminate
_________: Combining values using mathematical, comparison, or logical operators.
Expression
Variable
Constant
Function
_________: A data type for decimal numbers.
Float
Integer
Boolean
Character
_________: A code block used to go through a list.
For Loop
If Statement
Function Call
Variable Assignment
_________: A named block of code that can be reused.
Function
Variable
Loop
Constant
_________: A statement that runs code if a condition is True.
If Statement
For Loop
While Loop
Print Statement
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.
Statement
Loop
Variable
Function
Fill in the blank: ________ is a statement that runs one block of code if a condition is True, and another if it is False.
If/Else Statement
For Loop
Switch Statement
While Loop
Fill in the blank: ________ means to add space before a line of code. This is important in Python.
Indent
Comment
Variable
Loop
Fill in the blank: ________ is a loop that never stops repeating.
Infinite loop
For loop
Conditional loop
Finite loop
Fill in the blank: ________ is information given to a program.
Input
Output
Process
Storage
Fill in the blank: ________ is a data type for whole numbers.
Integer
String
Float
Boolean
Fill in the blank: ________ is repeating a process for a set amount of time.
Iteration
Abstraction
Compilation
Recursion
Fill in the blank: ________ is a special word in a programming language.
Keyword
Variable
Function
Operator
Fill in the blank: ________ is a collection of values with a unique name.
List
Integer
String
Function
Fill in the blank: ________ is a mistake in an algorithm that makes it behave unexpectedly. Programs with these errors still run completely.
Logic Error
Syntax Error
Runtime Error
Compilation Error
Fill in the blank: ________ is a sequence of instructions that changes how an object behaves.
Method
Class
Variable
Attribute
Fill in the blank: ________ is a bundle of information you can access with the dot operator.
Object
Array
Function
String
Fill in the blank: ________ is the information produced after a program processes input.
Output
Input
Process
Storage
Fill in the blank: ________ is a set of instructions for a computer.
Program
Monitor
Keyboard
Printer
Fill in the blank: ________ is a variable used to store information about an object.
Property
Method
Function
Class
Fill in the blank: ________ means giving a variable a new value.
Reassign
Declare
Initialize
Reference
Fill in the blank: ________ means using a variable after it has been declared and given a value.
Reference
Declaration
Initialization
Iteration
Fill in the blank: ________ is a statement that allows a function to return a value.
Return
Break
Continue
Goto
Fill in the blank: ________ is the order in which lines of code are written and executed.
Sequence
Loop
Condition
Function
Fill in the blank: ________ is the act of completing the action described by a code statement in the correct order.
Sequencing
Debugging
Looping
Branching
What is the term for the following definition: 'order in which it is given within a program.'?
Order
Loop
Variable
Function
What is the term for the following definition: 'A specific and valid line of code that tells a computer to perform a specific action.'?
Statement
Variable
Loop
Function
What is the term for the following definition: 'A sequence of characters that are enclosed by quotation marks.'?
String
Integer
Boolean
Array
What is the term for the following definition: 'A smaller string found inside of a larger string.'?
Substring
Superset
Prefix
Concatenation
What is the term for the following definition: 'The rules of a computer language that govern how lines of code are written.'?
Syntax
Algorithm
Variable
Function
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.'?
Syntax Error
Logic Error
Runtime Error
Semantic Error
What is the term for the following definition: 'A programming structure that allows you to save/store information for later use.'?
Variable
Loop
Function
Operator
What is the term for the following definition: 'A code block that repeats a process while a condition is True.'?
While Loop
For Loop
If Statement
Function
