Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CSP Unit 1.1 Complete Vocabulary List

Total questions: 100

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

Fill in the blank: A Python method that calculates the absolute value of a number; used to determine the distance between coordinates is called _____.

a)

abs()

b)

sum()

c)

sqrt()

d)

max()

2.

Fill in the blank: A sequence of steps or instructions designed to accomplish a specific task or solve a problem is called an _____

a)

Algorithm

b)

Variable

c)

Loop

d)

Function

3.

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 _____

a)

append

b)

remove

c)

insert

d)

pop

4.

Fill in the blank: A value that is passed into a function or method to be used in its execution is called an _____

a)

Argument

b)

Operator

c)

Class

d)

Loop

5.

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 _____

a)

Array

b)

Function

c)

Loop

d)

Variable

6.

Fill in the blank: The '=' symbol used to assign a value to a variable; NOT used for mathematical equivalence is called the _____

a)

Assignment Operator

b)

Equality Operator

c)

Comparison Operator

d)

Arithmetic Operator

7.

Fill in the blank: The indented code segment beneath a loop statement that executes during each iteration is called the _____?

a)

Body of the Loop

b)

Header of the Loop

c)

Condition of the Loop

d)

End of the Loop

8.

Fill in the blank: A data type that evaluates to one of two values: true or false is called _____

a)

Boolean

b)

Integer

c)

String

d)

Float

9.

Fill in the blank: An imperfection or error in code that causes unexpected or incorrect behavior is called a _____

a)

Bug

b)

Loop

c)

Variable

d)

Function

10.

Fill in the blank: The action of instructing the program to execute a specific procedure or function is called _____

a)

Calling a Procedure

b)

Defining a Variable

c)

Looping a Block

d)

Declaring a Constant

11.

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 _____

a)

circle(r, e, s)

b)

arc(r, e, s)

c)

draw_circle(r, e, s)

d)

turtle_circle(r, e, s)

12.

Fill in the blank: A blueprint or design used to create instances of objects with specific properties and methods is called a _____.

a)

Class

b)

Function

c)

Variable

d)

Array

13.

Fill in the blank: Text in a program that begins with # and is not executed; used to annotate and explain code is called a _____

a)

Comment

b)

Function

c)

Variable

d)

Operator

14.

Fill in the blank: The process of joining two or more strings together into a single output is called _____

a)

Concatenation

b)

Iteration

c)

Segmentation

d)

Division

15.

Fill in the blank: A situation where different statements execute only if certain conditions are true is called _____

a)

Conditional

b)

Sequential

c)

Iterative

d)

Random

16.

Fill in the blank: A construct that uses relational operators and evaluates to true or false is called a _____

a)

Conditional Expression

b)

Loop Statement

c)

Assignment Operator

d)

Function Call

17.

Fill in the blank: An if statement that allows programs to make decisions based on whether conditions are true or false is called a _____

a)

Conditional Statement

b)

Loop Statement

c)

Assignment Statement

d)

Print Statement

18.

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 _____

a)

Data Type

b)

Algorithm

c)

Function

d)

Loop

19.

Fill in the blank: A problem for which an algorithm can be written to produce correct output for all inputs is called a _____

a)

Decidable Problem

b)

Undecidable Problem

c)

Heuristic Problem

d)

Random Problem

20.

Fill in the blank: A tool used to visualize and identify errors in programs is called a _____

a)

Debugger

b)

Compiler

c)

Editor

d)

Interpreter

21.

Fill in the blank: A Python keyword (combination of else and if) used to check additional conditions after an initial if statement is called _____

a)

elif

b)

elseif

c)

else if

d)

elifelse

22.

Fill in the blank: A clause in a conditional statement that executes when the condition is false; serves as a catch-all is called _____

a)

else

b)

if

c)

switch

d)

case

23.

Fill in the blank: An individual item in a list, separated by commas, is called an _____

a)

Element

b)

Array

c)

Function

d)

Operator

24.

Fill in the blank: A list with nothing in it, represented by empty brackets [], is called an _____

a)

Empty List

b)

Full List

c)

Integer List

d)

String List

25.

Fill in the blank: A turtle method that specifies the end of shapes that will use the specified fill color is called _____

a)

end_fill()

b)

begin_fill()

c)

fillcolor()

d)

pendown()

26.

Fill in the blank: To run or implement a program or algorithm is to _____.

a)

Execute

b)

Terminate

c)

Compile

d)

Design

27.

Fill in the blank: A combination of values, variables, operators, and functions that evaluates to a single value is called an _____

a)

Expression

b)

Statement

c)

Loop

d)

Array

28.

Fill in the blank: The second parameter of the circle method that specifies the angle of an arc to be drawn is called _____

a)

extent

b)

radius

c)

center

d)

diameter

29.

Fill in the blank: A turtle method that specifies the color to fill the inside of a shape is called _____

a)

fillcolor()

b)

pencolor()

c)

bgcolor()

d)

shape()

30.

Fill in the blank: A numeric data type that includes decimal points and provides very precise information is called _____

a)

Float

b)

Integer

c)

Boolean

d)

Character

31.

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 _____

a)

for Loop

b)

while Loop

c)

do-while Loop

d)

switch statement

32.

Fill in the blank: A reusable block of code that performs a specific task; can accept parameters and return values is called a _____

a)

Function

b)

Variable

c)

Loop

d)

Array

33.

Fill in the blank: A turtle method that moves the turtle to the specified x and y coordinates is called _____

a)

goto(x, y)

b)

move(x, y)

c)

jump(x, y)

d)

setposition(x, y, z)

34.

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 _____

a)

Hand Trace

b)

Breakpoint Debugging

c)

Code Refactoring

d)

Unit Testing

35.

Fill in the blank: A turtle method that returns the current angle the turtle is facing (0-360 degrees) is called _____

a)

heading()

b)

angle()

c)

direction()

d)

get_angle()

36.

Fill in the blank: A conditional statement that executes a block of code only if a specified condition is true is called an _____

a)

if Statement

b)

loop Statement

c)

switch Statement

d)

print Statement

37.

Fill in the blank: A variable that adds one to itself at each iteration of a loop is called an _____

a)

Incrementing Counter

b)

Decrementing Counter

c)

Accumulator

d)

Flag

38.

Fill in the blank: Lines of code indented to the same level using spaces, indicating they are part of a block, are called an _____

a)

Indented Segment

b)

Inline Comment

c)

Syntax Error

d)

Function Call

39.

Fill in the blank: The position of an element in a list, starting at 0 for the first element, is called the _____

a)

Index

b)

Node

c)

Value

d)

Pointer

40.

________: Code that executes indefinitely because the ending condition is never met or always evaluates to true.

a)

Infinite Loop

b)

Conditional Statement

c)

Recursive Function

d)

Syntax Error

41.

________: Information or data that a program receives from a user or external source during runtime.

a)

Input

b)

Output

c)

Process

d)

Storage

42.

A Python function that accepts a value from the user and returns the input value.

a)

Input Statement

b)

Print Statement

c)

If Statement

d)

While Loop

43.

________: A specific object created from a class in design.

a)

Instance

b)

Method

c)

Attribute

d)

Module

44.

A Python function that converts a value (such as a string) to an integer data type.

a)

int()

b)

str()

c)

float()

d)

char()

45.

A whole number data type that does not have a decimal or any digits after the decimal.

a)

Integer

b)

Float

c)

Double

d)

Character

46.

The process of executing a block of statements or code segment multiple times; repetition.

a)

Iteration

b)

Compilation

c)

Abstraction

d)

Recursion

47.

________: A code segment that changes the sequential flow of control by repeating statements.

a)

Iterative Block

b)

Conditional Block

c)

Function Call

d)

Assignment Statement

48.

A Python data structure that groups similar types of items together in an ordered collection.

a)

List

b)

Dictionary

c)

Set

d)

Tuple

49.

A programming construct that repeats a set of statements multiple times.

a)

Loop

b)

Variable

c)

Function

d)

Array

50.

The first line of a loop that contains a loop keyword, condition or range, and ends with a colon.

a)

Loop Header

b)

Loop Body

c)

Loop Footer

d)

Loop Iterator

51.

A variable in a for loop that gets assigned each element from a list or range during iteration.

a)

Loop Variable

b)

Constant Variable

c)

Index Function

d)

Accumulator

52.

________: An action that an object can take; a function associated with a class or object.

a)

Method

b)

Variable

c)

Constant

d)

Attribute

53.

An operator that performs division and returns the remainder; used to determine odd/even numbers or repeating patterns.

a)

Modulo Operator (%)

b)

Addition Operator (+)

c)

Multiplication Operator (*)

d)

Division Operator (/)

54.

________: Text enclosed in triple quotes (""") that deactivates sections of code temporarily; not executed.

a)

Multiline Comment

b)

String Literal

c)

Function Definition

d)

Docstring

55.

________: An if statement placed inside another if statement to test multiple conditions.

a)

Nested Conditional

b)

Sequential Conditional

c)

Parallel Conditional

d)

Single Conditional

56.

A loop placed inside another loop; the inner loop runs to completion for each iteration of the outer loop.

a)

Nested Iteration

b)

Infinite Loop

c)

Recursive Call

d)

Sequential Execution

57.

A loop within another loop used to perform complex algorithms with repeated steps.

a)

Nested Loop

b)

Infinite Loop

c)

Conditional Statement

d)

Function Call

58.

________: An instance of a class with specific properties and methods.

a)

Object

b)

Class

c)

Function

d)

Module

59.

A programming approach that focuses on the data represented in problems, using objects with properties and methods.

a)

Object-Oriented Programming

b)

Procedural Programming

c)

Functional Programming

d)

Logic Programming

60.

________: The order in which operations are performed in an expression (PEMDAS).

a)

Operator Precedence

b)

Variable Assignment

c)

Function Declaration

d)

Loop Iteration

61.

The sequence in which arithmetic operations are calculated (Parentheses, Exponents, Multiplication, Division, Addition, Subtraction).

a)

Order of Operations

b)

Number Line

c)

Prime Factorization

d)

Associative Property

62.

________: The result that a program produces and delivers to a user.

a)

Output

b)

Input

c)

Process

d)

Storage

63.

A variable in a function or method definition that accepts values when the function is called.

a)

Parameter

b)

Constant

c)

Operator

d)

Keyword

64.

An acronym for the order of operations: Parentheses, Exponents, Multiplication, Division, Addition, Subtraction.

a)

PEMDAS

b)

PEDMAS

c)

PADMES

d)

PASMED

65.

A turtle method that changes the color of the drawing pen.

a)

pencolor()

b)

forward()

c)

speed()

d)

circle()

66.

A turtle method that puts the pen down so the turtle draws as it moves.

a)

pendown()

b)

penup()

c)

goto()

d)

circle()

67.

A turtle method that sets the width of the turtle's drawing line.

a)

pensize()

b)

color()

c)

speed()

d)

shape()

68.

A turtle method that lifts the pen so the turtle moves without drawing.

a)

penup()

b)

pendown()

c)

goto()

d)

circle()

69.

A method that removes and returns the last element from a list.

a)

pop()

b)

append()

c)

insert()

d)

remove()

70.

________: To add items or elements to a list.

a)

Populate

b)

Delete

c)

Sort

d)

Remove

71.

________: A Python statement that displays text or values to the screen or terminal.

a)

Print Statement

b)

Input Statement

c)

If Statement

d)

While Statement

72.

________: A named sequence of instructions that can be called to perform a specific task.

a)

Procedure

b)

Variable

c)

Constant

d)

Operator

73.

________: The characteristics or attributes of an object.

a)

Properties

b)

Methods

c)

Events

d)

Classes

74.

________: A representation of what a program does written in a way that people can understand; not actual code.

a)

Pseudocode

b)

Compiler

c)

Algorithm

d)

Binary code

75.

________: The window that displays text output from a Python program.

a)

Python Terminal

b)

Python Editor

c)

Python Debugger

d)

Python Shell

76.

The process of testing software and checking code quality to identify and fix bugs.

a)

Quality Assurance (QA)

b)

Software Deployment

c)

User Interface Design

d)

Database Normalization

77.

The first parameter of the circle method that specifies the distance from the center to the edge of a circle.

a)

radius

b)

diameter

c)

circumference

d)

area

78.

A Python function that generates a sequence of numbers used in for loops.

a)

range()

b)

list()

c)

input()

d)

print()

79.

An operator used to compare two values (==, !=, >, <, >=, <=).

a)

Relational Operator

b)

Arithmetic Operator

c)

Assignment Operator

d)

Logical Operator

80.

A method that searches for a specific element in a list and removes it.

a)

remove()

b)

append()

c)

insert()

d)

sort()

81.

________: The period during which a program is executing.

a)

Runtime

b)

Compile time

c)

Load time

d)

Link time

82.

A process of choosing which parts of a program to execute based on conditions is called ________.

a)

Selection

b)

Iteration

c)

Compilation

d)

Abstraction

83.

Executing statements in order from first to last, one after another is known as ________.

a)

Sequential

b)

Random

c)

Parallel

d)

Recursive

84.

A turtle method that sets the direction the turtle is facing to a given angle (0-360 degrees) is called ________.

a)

setheading(h)

b)

turnleft(h)

c)

setposition(h)

d)

goto(h)

85.

A turtle method that leaves an imprint of the turtle's shape at its current location is called ________.

a)

stamp()

b)

draw()

c)

trace()

d)

imprint()

86.

The third parameter of the circle method that specifies the number of segments to draw, creating a polygon effect is called ________.

a)

steps

b)

radius

c)

angle

d)

center

87.

A data type consisting of a sequence of characters (text) is called a ________.

a)

String

b)

Integer

c)

Boolean

d)

Float

88.

A part of an existing string is called a ________.

a)

Substring

b)

Superstring

c)

Prefix

d)

Character

89.

The grammatical rules that define how code must be written in a programming language are called ________.

a)

Syntax Rules

b)

Logic Rules

c)

Data Types

d)

Operators

90.

The window in a development environment where text input and output occur is called the ________.

a)

Terminal Window

b)

Project Explorer

c)

Output Pane

d)

Debug Console

91.

A table used to record and track the values of variables as a program executes step-by-step is called a ________.

a)

Trace Table

b)

Hash Table

c)

Frequency Table

d)

Truth Table

92.

An object in Python's turtle graphics module that can draw shapes by moving around a canvas is called a ________.

a)

Turtle

b)

Canvas

c)

Brush

d)

Pen

93.

A problem for which no algorithm can be constructed that provides a correct answer for all possible inputs is called an ________.

a)

Undecidable Problem

b)

Decidable Problem

c)

Tractable Problem

d)

Recursive Problem

94.

A named storage location in a program that can hold a value that may change is called a ________.

a)

Variable

b)

Constant

c)

Function

d)

Operator

95.

The identifier used to reference a variable; should be descriptive of its purpose is called a ________.

a)

Variable Name

b)

Function Name

c)

Constant Value

d)

Data Type

96.

The practice of saving different versions of code to track changes and allow reverting to previous versions is called ________.

a)

Version Control

b)

Code Compilation

c)

Bug Tracking

d)

Code Refactoring

97.

A loop that repeats statements as long as a specified condition remains true is called a ________.

a)

while Loop

b)

for Loop

c)

do-then Loop

d)

switch Loop

98.

A turtle method that returns the current x-coordinate of the turtle is called ________.

a)

xcor()

b)

ycor()

c)

goto()

d)

setx()

99.

A turtle method that returns the current y-coordinate of the turtle is called ________.

a)

ycor()

b)

get_y()

c)

ypos()

d)

getYCoord()

100.

A situation where a loop never starts because the initial condition is false is called a ________.

a)

Zero Iteration Condition

b)

Infinite Loop

c)

Deadlock

d)

Syntax Error