wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Science Vocabulary Review

Total questions: 150

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

What is Abstraction?

a)

Hiding unnecessary details to focus on essential features

b)

Combining strings

c)

Choosing different paths using conditionals

d)

Finding and fixing errors

2.

What is Algorithm?

a)

A step-by-step procedure to solve a problem

b)

Info explaining how to use an API

c)

Logical inversion operator

d)

Comment spanning multiple lines

3.

What is API?

a)

A set of tools and rules for building software

b)

Input to a function

c)

Operator with one operand

d)

Displays output

4.

What is Bug?

a)

A mistake in a program

b)

Runtime error only

c)

Value sent out of a function

d)

Symbols for math actions

5.

What is Calling a function?

a)

Executing the command defined in a function

b)

Writing instructions for a new command

c)

Running instructions in order

d)

Skips to next loop iteration

6.

What is Clarity?

a)

How readable/understandable code is

b)

Integer number type

c)

Logical operator true if either side true

d)

Nesting functions

7.

What are Comments?

a)

Notes in code for humans that do not affect execution

b)

Input to a function

c)

Generates sequences for loops

d)

Boolean type

8.

What is Conditional?

a)

Choosing different paths using conditionals

b)

Order operations are evaluated

c)

Value sent out of a function

d)

Combining strings

9.

What are Control Structures?

a)

Elements like loops and conditionals controlling flow

b)

Info explaining how to use an API

c)

Operator with one operand

d)

Running instructions in order

10.

What is Debugging?

a)

Finding and fixing errors

b)

Writing instructions for a new command

c)

A step-by-step procedure to solve a problem

d)

Combining strings

11.

What is Decomposition?

a)

Breaking a problem into smaller parts

b)

Generates sequences for loops

c)

Skips to next loop iteration

d)

Executable instructions implementing an algorithm

12.

What is Defining a function?

a)

Writing instructions for a new command

b)

Executing the command defined in a function

c)

Value sent out of a function

d)

Logical inversion operator

13.

What is Documentation?

a)

Info explaining how to use an API

b)

Displays output

c)

A mistake in a program

d)

Integer number type

14.

What is Efficiency?

a)

How fast an algorithm runs

b)

Input to a function

c)

Comment spanning multiple lines

d)

Boolean type

15.

What is For Loop?

a)

Repeats code a set number of times

b)

Skips to next loop iteration

c)

Operator with one operand

d)

Creates/updates a variable

16.

What is Function?

a)

A named block of code that performs a task

b)

String text type

c)

Integer number type

d)

Logical operator true if either side true

17.

What is Function Body?

a)

The statements inside a function that run when it is called

b)

Input to a function

c)

Order operations are evaluated

d)

Comment spanning multiple lines

18.

What is If Statement?

a)

A conditional that runs code only when a test is true

b)

Finding and fixing errors

c)

Nesting functions

d)

Logical inversion operator

19.

What is If/Else Statement?

a)

A conditional that chooses between two paths

b)

Skips to next loop iteration

c)

Operator with one operand

d)

Input to a function

20.

What is Iteration?

a)

Repeating actions, often with loops

b)

Displays output

c)

Generates sequences for loops

d)

Combining strings

21.

What is Karel?

a)

A teaching robot used to learn programming basics

b)

Binary operator

c)

UltraKarel with advanced painting abilities

d)

Logical inversion operator

22.

What is Parameter?

a)

Input to a function

b)

Value sent out of a function

c)

Integer number type

d)

Input to a program

23.

What is Postcondition?

a)

Executable instructions implementing an algorithm after it runs

b)

What must be true before a function call

c)

Order operations are evaluated

d)

Comment spanning multiple lines

24.

What is Precondition?

a)

What must be true before a function call

b)

Creates/updates a variable

c)

Choosing different paths using conditionals

d)

Operator with one operand

25.

What is Procedural Abstraction?

a)

Using functions to hide implementation details

b)

Logical inversion operator

c)

Displays output

d)

Integer number type

26.

What is Program?

a)

A sequence of instructions executed by a computer

b)

Input to a function

c)

Symbols for math actions

d)

String text type

27.

What is Pseudocode?

a)

Running instructions in order using plain-language steps

b)

Karel with painting/color checking abilities

c)

Boolean type

d)

Skips to next loop iteration

28.

What is Selection?

a)

Choosing among alternatives based on a condition

b)

Value sent out of a function

c)

Combining strings

d)

Runtime error

29.

What is Sequencing?

a)

Running instructions in order

b)

Logical operator true if either side true

c)

Integer number type

d)

Nesting functions

30.

What is snake_case?

a)

Words joined by underscores in lowercase

b)

Operator with one operand

c)

Generates sequences for loops

d)

Info explaining how to use an API

31.

What is SuperKarel?

a)

Karel with painting/color checking abilities

b)

Input to a function

c)

Binary operator

d)

Comment spanning multiple lines

32.

What is UltraKarel?

a)

An advanced Karel variant with more capabilities

b)

Value sent out of a function

c)

Logical inversion operator

d)

Order operations are evaluated

33.

What is While Loop?

a)

Repeats code while a condition remains true

b)

Skips to next loop iteration

c)

Operator with one operand

d)

Creating a new variable

34.

What is Assignment Statement?

a)

Creates/updates a variable

b)

A step-by-step procedure to solve a problem

c)

Symbols for math actions

d)

Displays output

35.

What is Binary Operator?

a)

Operator with two operands

b)

Operator with one operand

c)

Logical inversion operator

d)

Input to a function

36.

What is Concatenation?

a)

Combining strings

b)

Choosing different paths using conditionals

c)

Finding and fixing errors

d)

Order operations are evaluated

37.

What is float?

a)

A number type with decimals

b)

Integer number type

c)

String text type

d)

Boolean type

38.

What is Function Composition?

a)

Nesting functions

b)

Logical inversion operator

c)

Symbols for math actions

d)

Displays output

39.

What is input?

a)

Value or data provided to a program or function

b)

Value sent out of a function

c)

Finding and fixing errors

d)

Comment spanning multiple lines

40.

What is int?

a)

Integer number type

b)

String text type

c)

Boolean type

d)

A mistake in a program

41.

What are Mathematical Operators?

a)

Symbols for math actions

b)

A set of tools and rules for building software

c)

Order operations are evaluated

d)

Executable instructions implementing an algorithm

42.

What is Multi-line Comment?

a)

Comment spanning multiple lines

b)

Logical operator true if either side true

c)

Input to a function

d)

Runtime error

43.

What is Operator Precedence?

a)

Order operations are evaluated

b)

Nesting functions

c)

Displays output

d)

Creates/updates a variable

44.

What is print?

a)

Displays output

b)

Skips to next loop iteration

c)

What must be true before a function call

d)

Value sent out of a function

45.

What is str?

a)

String text type

b)

Boolean type

c)

Integer number type

d)

Logical inversion operator

46.

What is TypeError?

a)

Runtime error due to incompatible data types

b)

A mistake in a program

c)

Symbols for math actions

d)

Input to a function

47.

What is Unary Operator?

a)

Operator with one operand.

b)

Logical inversion operator.

c)

Generates sequences for loops.

d)

Runs code only if a condition is true.

48.

What is Variable?

a)

Naming with lowercase and underscores.

b)

Operator with one operand.

c)

Logical operator true if either side true.

d)

Repetition using loops.

49.

What is and?

a)

Logical operator true if both sides are true.

b)

Logical operator true if either side true.

c)

Logical inversion operator.

d)

Runs if prior conditions false.

50.

What is bool?

a)

Boolean type.

b)

Generates sequences for loops.

c)

Value sent out of a function.

d)

Symbols for math actions.

51.

What is elif?

a)

Checks another condition if the previous condition was false.

b)

Logical inversion operator.

c)

Repetition using loops.

d)

Generates sequences for loops.

52.

What is else?

a)

Runs if prior conditions false.

b)

Logical operator true if either side true.

c)

Operator with one operand.

d)

Runs code only if a condition is true.

53.

What is not?

a)

Logical inversion operator.

b)

Naming with lowercase and underscores.

c)

Value sent out of a function.

d)

Generates sequences for loops.

54.

What is or?

a)

Logical operator true if either side true.

b)

Logical operator true if both sides are true.

c)

Runs if prior conditions false.

d)

Repetition using loops.

55.

What is break?

a)

Immediately exits the nearest loop.

b)

Runs code only if a condition is true.

c)

Generates sequences for loops.

d)

Logical inversion operator.

56.

What is continue?

a)

Skips to the next iteration of a loop.

b)

Runs if prior conditions false.

c)

Value sent out of a function.

d)

Operator with one operand.

57.

What is range?

a)

Generates sequences for loops.

b)

Repetition using loops.

c)

Logical operator true if either side true.

d)

Symbols for math actions.

58.

What is while loop?

a)

Repeats as long as condition true.

b)

Generates sequences for loops.

c)

Operator with one operand.

d)

Runs code only if a condition is true.

59.

What is Exception?

a)

An error event that can be handled in code.

b)

Repetition using loops.

c)

Naming with lowercase and underscores.

d)

Logical operator true if either side true.

60.

What is Return Value?

a)

Value sent out of a function.

b)

Logical inversion operator.

c)

Runs if prior conditions false.

d)

Symbols for math actions.

61.

Select the term that matches: Stores data for later use.

a)

Variable

b)

Function

c)

Algorithm

d)

Comment

62.

Select the term that matches: What must be true after a function call.

a)

Precondition

b)

Postcondition

c)

Return value

d)

Documentation

63.

Select the term that matches: Creates/updates a variable.

a)

Assignment

b)

Function call

c)

Operator

d)

Input

64.

Select the term that matches: Executing the command defined in a function.

a)

Function definition

b)

Function call

c)

Loop

d)

Parameter

65.

Select the term that matches: A set of tools and rules for building software.

a)

Framework

b)

Algorithm

c)

Comment

d)

Variable

66.

Select the term that matches: How readable/understandable code is.

a)

Time complexity

b)

Code readability

c)

Operator precedence

d)

Debugging

67.

Select the term that matches: Exits a loop.

a)

Continue

b)

Break

c)

Return

d)

Else

68.

Select the term that matches: String text type.

a)

Integer

b)

Boolean

c)

String

d)

Float

69.

Select the term that matches: Repeats as long as condition true.

a)

For loop

b)

While loop

c)

If-else

d)

Function call

70.

Select the term that matches: Finding and fixing errors.

a)

Testing

b)

Debugging

c)

Commenting

d)

Refactoring

71.

Select the term that matches: Breaking a program into smaller parts.

a)

Abstraction

b)

Decomposition

c)

Iteration

d)

Compilation

72.

Select the term that matches: Skips to next loop iteration.

a)

Break

b)

Continue

c)

Return

d)

Exit

73.

Select the term that matches: Info explaining how to use an API.

a)

Documentation

b)

Pseudocode

c)

Comment

d)

Algorithm

74.

Select the term that matches: Generates sequences for loops.

a)

range

b)

print

c)

input

d)

return

75.

Select the term that matches: A reusable block of code.

a)

Variable

b)

Function

c)

Loop

d)

Operator

76.

Select the term that matches: Choosing different paths using conditionals.

a)

Iteration

b)

Selection

c)

Abstraction

d)

Decomposition

77.

Select the term that matches: Karel with extra turning commands.

a)

Painter Karel

b)

SuperKarel

c)

Standard Karel

d)

Robot Karel

78.

Select the term that matches: Input to a function.

a)

Return value

b)

Parameter

c)

Variable

d)

Comment

79.

Select the term that matches: A dog robot programmed in a grid world.

a)

Karel

b)

SuperKarel

c)

Painter Karel

d)

API

80.

Select the term that matches: Using functions without knowing internal details.

a)

Debugging

b)

Abstraction

c)

Iteration

d)

Assignment

81.

Select the term that matches: Symbols for math actions.

a)

Comments

b)

Operators

c)

Variables

d)

Functions

82.

Select the term that matches: Operator requiring two values.

a)

Unary operator

b)

Binary operator

c)

Logical operator

d)

Assignment

83.

Select the term that matches: Chooses between two code blocks.

a)

If-else statement

b)

While loop

c)

Function call

d)

Comment

84.

Select the term that matches: Error from incompatible types.

a)

Syntax error

b)

Type error

c)

Runtime error

d)

Logic error

85.

Select the term that matches: Naming with lowercase and underscores.

a)

camelCase

b)

PascalCase

c)

snake_case

d)

kebab-case

86.

Select the term that matches: English-like steps to plan code.

a)

Pseudocode

b)

Documentation

c)

Comments

d)

Algorithm

87.

Select the term that matches: Karel with painting/color checking abilities.

a)

Painter Karel

b)

SuperKarel

c)

Standard Karel

d)

Color API

88.

Select the term that matches: Running instructions in order.

a)

Selection

b)

Sequence

c)

Iteration

d)

Recursion

89.

Select the term that matches: A step-by-step procedure to solve a problem.

a)

Program

b)

Algorithm

c)

Pseudocode

d)

Framework

90.

Select the term that matches: Runs if prior conditions false.

a)

If

b)

Else

c)

Break

d)

Continue

91.

Select the term that matches: Repeats code a set number of times.

a)

While loop

b)

For loop

c)

If-else

d)

Function

92.

Select the term that matches: Runs code only if a condition is true.

a)

If statement

b)

Loop

c)

Function

d)

Comment

93.

Select the term that matches: Displays output.

a)

print

b)

input

c)

return

d)

range

94.

Select the term that matches: Gets user input as a string.

a)

print

b)

input

c)

return

d)

range

95.

Select the term that matches: Logical operator true only if both sides true.

a)

OR

b)

AND

c)

NOT

d)

XOR

96.

Select the term that matches: Executable instructions implementing an algorithm.

a)

Program

b)

Comment

c)

Function body

d)

Framework

97.

Select the term that matches: Logical inversion operator.

a)

AND

b)

OR

c)

NOT

d)

XOR

98.

Select the term that matches: Extra condition after if.

a)

Else

b)

Elif/Else-if

c)

Break

d)

Return

99.

Select the term that matches: Writing instructions for a new command.

a)

Function call

b)

Function definition

c)

Assignment

d)

Comment

100.

Select the term that matches: Notes in code ignored by interpreter.

a)

Documentation

b)

Comments

c)

Pseudocode

d)

Debugging

101.

Select the term that matches: Runtime error.

a)

Error that occurs during execution

b)

Mistake found by the linter

c)

Typo in a comment

d)

Spacing style issue

102.

Select the term that matches: Integer number type.

a)

Boolean

b)

Float

c)

String

d)

Integer

103.

Select the term that matches: A mistake in a program.

a)

Bug

b)

Comment

c)

Return value

d)

Operator

104.

Select the term that matches: Boolean type.

a)

True/False (Boolean)

b)

Integer

c)

String

d)

Float

105.

Select the term that matches: Nesting functions.

a)

Function composition

b)

Variable declaration

c)

Loop initialization

d)

Operator precedence

106.

Select the term that matches: Repetition using loops.

a)

Selection

b)

Iteration

c)

Abstraction

d)

Decomposition

107.

Select the term that matches: Logical operator true if either side true.

a)

AND

b)

OR

c)

NOT

d)

XOR

108.

Select the term that matches: Indented commands inside a function.

a)

Function header

b)

Function body

c)

Loop condition

d)

Return clause

109.

Select the term that matches: What must be true before a function call.

a)

Postcondition

b)

Precondition

c)

Return value

d)

Parameter

110.

Select the term that matches: Value sent out of a function.

a)

Argument

b)

Return value

c)

Parameter

d)

Variable

111.

Select the term that matches: Decimal number type.

a)

Integer

b)

Float

c)

String

d)

Boolean

112.

Select the term that matches: Order operations are evaluated.

a)

Time complexity

b)

Operator precedence

c)

Debugging

d)

Iteration

113.

Select the term that matches: How fast an algorithm runs.

a)

Time complexity

b)

Operator precedence

c)

Documentation

d)

Pseudocode

114.

Select the term that matches: Operator with one operand.

a)

Binary operator

b)

Unary operator

c)

Logical operator

d)

Assignment

115.

Choose the best term that matches the description: How fast an algorithm runs.

a)

Space complexity

b)

Runtime efficiency

c)

Syntax

d)

Memory address

116.

Choose the best term that matches the description: English-like steps to plan code.

a)

Pseudocode

b)

Compiler

c)

Runtime

d)

Binary

117.

Choose the best term that matches the description: A set of tools and rules for building software.

a)

Algorithm

b)

Application Programming Interface (API)

c)

Software development kit (SDK)

d)

Variable

118.

Choose the best term that matches the description: Repeats code while a condition is true.

a)

For loop

b)

While loop

c)

Function call

d)

Return statement

119.

Choose the best term that matches the description: Logical inversion operator.

a)

NOT

b)

AND

c)

OR

d)

XOR

120.

Choose the best term that matches the description: Karel with extra turning commands.

a)

Karel

b)

Super Karel

c)

Turtle graphics

d)

Robot class

121.

Choose the best term that matches the description: Operator requiring two values.

a)

Unary operator

b)

Binary operator

c)

Ternary operator

d)

Assignment

122.

Choose the best term that matches the description: Naming with lowercase and underscores.

a)

CamelCase

b)

snake_case

c)

PascalCase

d)

kebab-case

123.

Choose the best term that matches the description: Elements like loops and conditionals controlling flow.

a)

Data types

b)

Control structures

c)

Comments

d)

Libraries

124.

Choose the best term that matches the description: Operator requiring two values.

a)

Unary operator

b)

Binary operator

c)

Exponent

d)

Concatenate

125.

Choose the best term that matches the description: Input to a function.

a)

Return

b)

Parameter

c)

Comment

d)

Loop

126.

Choose the best term that matches the description: English-like steps to plan code.

a)

Pseudocode

b)

Debugger

c)

Compiler

d)

Runtime

127.

Choose the best term that matches the description: Runs if prior conditions false.

a)

If branch

b)

Else branch

c)

Switch case

d)

Break

128.

Choose the best term that matches the description: Choosing different paths using conditionals.

a)

Iteration

b)

Selection

c)

Abstraction

d)

Compilation

129.

Choose the best term that matches the description: Naming with lowercase and underscores.

a)

snake_case

b)

CamelCase

c)

PascalCase

d)

UPPER_CASE

130.

Choose the best term that matches the description: Comment spanning multiple lines.

a)

Inline comment

b)

Block comment

c)

Docstring

d)

Annotation

131.

Choose the best term that matches the description: Skips to next loop iteration.

a)

break

b)

continue

c)

return

d)

pass

132.

Choose the best term that matches the description: Operator requiring two values.

a)

Unary operator

b)

Binary operator

c)

Modulo

d)

Shift

133.

Choose the best term that matches the description: Repetition using loops.

a)

Selection

b)

Iteration

c)

Recursion

d)

Abstraction

134.

Choose the best term that matches the description: Operator with one operand.

a)

Unary operator

b)

Binary operator

c)

Ternary operator

d)

Logical AND

135.

Choose the best term that matches the description: Error from incompatible types.

a)

Syntax error

b)

Type error

c)

Runtime warning

d)

Logic error

136.

Choose the best term that matches the description: Repeats code a set number of times.

a)

While loop

b)

For loop

c)

Function

d)

Case statement

137.

Choose the best term that matches the description: String text type.

a)

Integer

b)

String

c)

Boolean

d)

Float

138.

Choose the best term that matches the description: String text type.

a)

Character array

b)

String

c)

Boolean

d)

Dictionary

139.

Choose the best term that matches the description: Comment spanning multiple lines.

a)

Block comment

b)

Inline comment

c)

Statement

d)

Token

140.

Choose the best term that matches the description: Choosing different paths using conditionals.

a)

Iteration

b)

Selection

c)

Compilation

d)

Debugging

141.

Choose the best term that matches the description: Running instructions in order.

a)

Parallelism

b)

Sequential execution

c)

Event handling

d)

Recursion

142.

Choose the best term that matches the description: Skips to next loop iteration.

a)

continue

b)

break

c)

return

d)

exit

143.

Choose the best term that matches the description: Repetition using loops.

a)

Iteration

b)

Selection

c)

Compilation

d)

Condition

144.

Choose the best term that matches the description: Repeats code while a condition is true.

a)

While loop

b)

For loop

c)

Function

d)

Class

145.

Choose the best term that matches the description: String text type.

a)

String

b)

Integer

c)

Boolean

d)

Float

146.

Choose the best term that matches the description: A mistake in a program.

a)

Algorithm

b)

Bug

c)

Feature

d)

Constant

147.

Choose the best term that matches the description: Combining strings.

a)

Parsing

b)

Concatenation

c)

Casting

d)

Iteration

148.

Choose the best term that matches the description: Using functions without knowing internal details.

a)

Recursion

b)

Abstraction

c)

Compilation

d)

Iteration

149.

Choose the best term that matches the description: Runs code only if a condition is true.

a)

If statement

b)

Loop

c)

Function

d)

Comment

150.

Choose the best term that matches the description: Gets user input as a string.

a)

print

b)

input

c)

return

d)

scanInt