WorksheetsCSP Unit 1.1 Complete Vocabulary List
Total questions: 100
Worksheet time: 1hrs 15mins
Fill in the blank: A Python method that calculates the absolute value of a number; used to determine the distance between coordinates is called _____.
abs()
sum()
sqrt()
max()
Fill in the blank: A sequence of steps or instructions designed to accomplish a specific task or solve a problem is called an _____
Algorithm
Variable
Loop
Function
Fill in the blank: A method that adds an element to the end of a list, increasing the list's length by 1 is called _____
append
remove
insert
pop
Fill in the blank: A value that is passed into a function or method to be used in its execution is called an _____
Argument
Operator
Class
Loop
Fill in the blank: A data structure similar to a list in other programming languages; used to group similar types of items together is called an _____
Array
Function
Loop
Variable
Fill in the blank: The '=' symbol used to assign a value to a variable; NOT used for mathematical equivalence is called the _____
Assignment Operator
Equality Operator
Comparison Operator
Arithmetic Operator
Fill in the blank: The indented code segment beneath a loop statement that executes during each iteration is called the _____?
Body of the Loop
Header of the Loop
Condition of the Loop
End of the Loop
Fill in the blank: A data type that evaluates to one of two values: true or false is called _____
Boolean
Integer
String
Float
Fill in the blank: An imperfection or error in code that causes unexpected or incorrect behavior is called a _____
Bug
Loop
Variable
Function
Fill in the blank: The action of instructing the program to execute a specific procedure or function is called _____
Calling a Procedure
Defining a Variable
Looping a Block
Declaring a Constant
Fill in the blank: A turtle method that draws a circle with radius r, extent e (angle of arc), and s steps (segments to create polygon effect) is called _____
circle(r, e, s)
arc(r, e, s)
draw_circle(r, e, s)
turtle_circle(r, e, s)
Fill in the blank: A blueprint or design used to create instances of objects with specific properties and methods is called a _____.
Class
Function
Variable
Array
Fill in the blank: Text in a program that begins with # and is not executed; used to annotate and explain code is called a _____
Comment
Function
Variable
Operator
Fill in the blank: The process of joining two or more strings together into a single output is called _____
Concatenation
Iteration
Segmentation
Division
Fill in the blank: A situation where different statements execute only if certain conditions are true is called _____
Conditional
Sequential
Iterative
Random
Fill in the blank: A construct that uses relational operators and evaluates to true or false is called a _____
Conditional Expression
Loop Statement
Assignment Operator
Function Call
Fill in the blank: An if statement that allows programs to make decisions based on whether conditions are true or false is called a _____
Conditional Statement
Loop Statement
Assignment Statement
Print Statement
Fill in the blank: A classification that defines what kind of data a variable holds and what operations can be performed on it is called _____
Data Type
Algorithm
Function
Loop
Fill in the blank: A problem for which an algorithm can be written to produce correct output for all inputs is called a _____
Decidable Problem
Undecidable Problem
Heuristic Problem
Random Problem
Fill in the blank: A tool used to visualize and identify errors in programs is called a _____
Debugger
Compiler
Editor
Interpreter
Fill in the blank: A Python keyword (combination of else and if) used to check additional conditions after an initial if statement is called _____
elif
elseif
else if
elifelse
Fill in the blank: A clause in a conditional statement that executes when the condition is false; serves as a catch-all is called _____
else
if
switch
case
Fill in the blank: An individual item in a list, separated by commas, is called an _____
Element
Array
Function
Operator
Fill in the blank: A list with nothing in it, represented by empty brackets [], is called an _____
Empty List
Full List
Integer List
String List
Fill in the blank: A turtle method that specifies the end of shapes that will use the specified fill color is called _____
end_fill()
begin_fill()
fillcolor()
pendown()
Fill in the blank: To run or implement a program or algorithm is to _____.
Execute
Terminate
Compile
Design
Fill in the blank: A combination of values, variables, operators, and functions that evaluates to a single value is called an _____
Expression
Statement
Loop
Array
Fill in the blank: The second parameter of the circle method that specifies the angle of an arc to be drawn is called _____
extent
radius
center
diameter
Fill in the blank: A turtle method that specifies the color to fill the inside of a shape is called _____
fillcolor()
pencolor()
bgcolor()
shape()
Fill in the blank: A numeric data type that includes decimal points and provides very precise information is called _____
Float
Integer
Boolean
Character
Fill in the blank: A loop that executes a block of statements a specified number of times or for each item in a list is called a _____
for Loop
while Loop
do-while Loop
switch statement
Fill in the blank: A reusable block of code that performs a specific task; can accept parameters and return values is called a _____
Function
Variable
Loop
Array
Fill in the blank: A turtle method that moves the turtle to the specified x and y coordinates is called _____
goto(x, y)
move(x, y)
jump(x, y)
setposition(x, y, z)
Fill in the blank: A debugging technique where you manually follow a program step-by-step and record variable values in a table is called _____
Hand Trace
Breakpoint Debugging
Code Refactoring
Unit Testing
Fill in the blank: A turtle method that returns the current angle the turtle is facing (0-360 degrees) is called _____
heading()
angle()
direction()
get_angle()
Fill in the blank: A conditional statement that executes a block of code only if a specified condition is true is called an _____
if Statement
loop Statement
switch Statement
print Statement
Fill in the blank: A variable that adds one to itself at each iteration of a loop is called an _____
Incrementing Counter
Decrementing Counter
Accumulator
Flag
Fill in the blank: Lines of code indented to the same level using spaces, indicating they are part of a block, are called an _____
Indented Segment
Inline Comment
Syntax Error
Function Call
Fill in the blank: The position of an element in a list, starting at 0 for the first element, is called the _____
Index
Node
Value
Pointer
________: Code that executes indefinitely because the ending condition is never met or always evaluates to true.
Infinite Loop
Conditional Statement
Recursive Function
Syntax Error
________: Information or data that a program receives from a user or external source during runtime.
Input
Output
Process
Storage
A Python function that accepts a value from the user and returns the input value.
Input Statement
Print Statement
If Statement
While Loop
________: A specific object created from a class in design.
Instance
Method
Attribute
Module
A Python function that converts a value (such as a string) to an integer data type.
int()
str()
float()
char()
A whole number data type that does not have a decimal or any digits after the decimal.
Integer
Float
Double
Character
The process of executing a block of statements or code segment multiple times; repetition.
Iteration
Compilation
Abstraction
Recursion
________: A code segment that changes the sequential flow of control by repeating statements.
Iterative Block
Conditional Block
Function Call
Assignment Statement
A Python data structure that groups similar types of items together in an ordered collection.
List
Dictionary
Set
Tuple
A programming construct that repeats a set of statements multiple times.
Loop
Variable
Function
Array
The first line of a loop that contains a loop keyword, condition or range, and ends with a colon.
Loop Header
Loop Body
Loop Footer
Loop Iterator
A variable in a for loop that gets assigned each element from a list or range during iteration.
Loop Variable
Constant Variable
Index Function
Accumulator
________: An action that an object can take; a function associated with a class or object.
Method
Variable
Constant
Attribute
An operator that performs division and returns the remainder; used to determine odd/even numbers or repeating patterns.
Modulo Operator (%)
Addition Operator (+)
Multiplication Operator (*)
Division Operator (/)
________: Text enclosed in triple quotes (""") that deactivates sections of code temporarily; not executed.
Multiline Comment
String Literal
Function Definition
Docstring
________: An if statement placed inside another if statement to test multiple conditions.
Nested Conditional
Sequential Conditional
Parallel Conditional
Single Conditional
A loop placed inside another loop; the inner loop runs to completion for each iteration of the outer loop.
Nested Iteration
Infinite Loop
Recursive Call
Sequential Execution
A loop within another loop used to perform complex algorithms with repeated steps.
Nested Loop
Infinite Loop
Conditional Statement
Function Call
________: An instance of a class with specific properties and methods.
Object
Class
Function
Module
A programming approach that focuses on the data represented in problems, using objects with properties and methods.
Object-Oriented Programming
Procedural Programming
Functional Programming
Logic Programming
________: The order in which operations are performed in an expression (PEMDAS).
Operator Precedence
Variable Assignment
Function Declaration
Loop Iteration
The sequence in which arithmetic operations are calculated (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction).
Order of Operations
Number Line
Prime Factorization
Associative Property
________: The result that a program produces and delivers to a user.
Output
Input
Process
Storage
A variable in a function or method definition that accepts values when the function is called.
Parameter
Constant
Operator
Keyword
An acronym for the order of operations: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.
PEMDAS
PEDMAS
PADMES
PASMED
A turtle method that changes the color of the drawing pen.
pencolor()
forward()
speed()
circle()
A turtle method that puts the pen down so the turtle draws as it moves.
pendown()
penup()
goto()
circle()
A turtle method that sets the width of the turtle's drawing line.
pensize()
color()
speed()
shape()
A turtle method that lifts the pen so the turtle moves without drawing.
penup()
pendown()
goto()
circle()
A method that removes and returns the last element from a list.
pop()
append()
insert()
remove()
________: To add items or elements to a list.
Populate
Delete
Sort
Remove
________: A Python statement that displays text or values to the screen or terminal.
Print Statement
Input Statement
If Statement
While Statement
________: A named sequence of instructions that can be called to perform a specific task.
Procedure
Variable
Constant
Operator
________: The characteristics or attributes of an object.
Properties
Methods
Events
Classes
________: A representation of what a program does written in a way that people can understand; not actual code.
Pseudocode
Compiler
Algorithm
Binary code
________: The window that displays text output from a Python program.
Python Terminal
Python Editor
Python Debugger
Python Shell
The process of testing software and checking code quality to identify and fix bugs.
Quality Assurance (QA)
Software Deployment
User Interface Design
Database Normalization
The first parameter of the circle method that specifies the distance from the center to the edge of a circle.
radius
diameter
circumference
area
A Python function that generates a sequence of numbers used in for loops.
range()
list()
input()
print()
An operator used to compare two values (==, !=, >, <, >=, <=).
Relational Operator
Arithmetic Operator
Assignment Operator
Logical Operator
A method that searches for a specific element in a list and removes it.
remove()
append()
insert()
sort()
________: The period during which a program is executing.
Runtime
Compile time
Load time
Link time
A process of choosing which parts of a program to execute based on conditions is called ________.
Selection
Iteration
Compilation
Abstraction
Executing statements in order from first to last, one after another is known as ________.
Sequential
Random
Parallel
Recursive
A turtle method that sets the direction the turtle is facing to a given angle (0-360 degrees) is called ________.
setheading(h)
turnleft(h)
setposition(h)
goto(h)
A turtle method that leaves an imprint of the turtle's shape at its current location is called ________.
stamp()
draw()
trace()
imprint()
The third parameter of the circle method that specifies the number of segments to draw, creating a polygon effect is called ________.
steps
radius
angle
center
A data type consisting of a sequence of characters (text) is called a ________.
String
Integer
Boolean
Float
A part of an existing string is called a ________.
Substring
Superstring
Prefix
Character
The grammatical rules that define how code must be written in a programming language are called ________.
Syntax Rules
Logic Rules
Data Types
Operators
The window in a development environment where text input and output occur is called the ________.
Terminal Window
Project Explorer
Output Pane
Debug Console
A table used to record and track the values of variables as a program executes step-by-step is called a ________.
Trace Table
Hash Table
Frequency Table
Truth Table
An object in Python's turtle graphics module that can draw shapes by moving around a canvas is called a ________.
Turtle
Canvas
Brush
Pen
A problem for which no algorithm can be constructed that provides a correct answer for all possible inputs is called an ________.
Undecidable Problem
Decidable Problem
Tractable Problem
Recursive Problem
A named storage location in a program that can hold a value that may change is called a ________.
Variable
Constant
Function
Operator
The identifier used to reference a variable; should be descriptive of its purpose is called a ________.
Variable Name
Function Name
Constant Value
Data Type
The practice of saving different versions of code to track changes and allow reverting to previous versions is called ________.
Version Control
Code Compilation
Bug Tracking
Code Refactoring
A loop that repeats statements as long as a specified condition remains true is called a ________.
while Loop
for Loop
do-then Loop
switch Loop
A turtle method that returns the current x-coordinate of the turtle is called ________.
xcor()
ycor()
goto()
setx()
A turtle method that returns the current y-coordinate of the turtle is called ________.
ycor()
get_y()
ypos()
getYCoord()
A situation where a loop never starts because the initial condition is false is called a ________.
Zero Iteration Condition
Infinite Loop
Deadlock
Syntax Error
