wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

8th Grade Computer Science – Coding Vocabulary Quiz (1–20)

Total questions: 21

Worksheet time: 13mins

Name
Class
Date
1.

What is code?

a)

A computer part that stores data

b)

Instructions written for a computer to follow

c)

A type of hardware

d)

A type of virus

2.

A complete set of coded instructions that performs a specific task is called a:

a)

Command

b)

Sequence

c)

Program

d)

Loop

3.

A step-by-step set of instructions for solving a problem is called a(n):

a)

Loop

b)

Algorithm

c)

Condition

d)

Parameter

4.

The process of finding and fixing mistakes in your code is called:

a)

Debugging

b)

Compiling

c)

Sequencing

d)

Looping

5.

A bug in programming is:

a)

an error or flaw in a program

b)

a feature of the software

c)

a type of programming language

d)

a hardware component

6.

The rules for how code must be written in a programming language are called:

a)

Functions

b)

Syntax

c)

Loops

d)

Conditions

7.

To run or execute code means to:

a)

Stop the program

b)

Delete the code

c)

Start the program so the computer performs the tasks

d)

Translate the code into binary

8.

What is output?

a)

Data entered into a program

b)

The result produced by a program

c)

The keyboard or mouse

d)

A part of the CPU

9.

Input refers to:

a)

The result shown on the screen

b)

Data entered into a computer

c)

The storage capacity

d)

The code’s instructions

10.

A variable is:

a)

a value that can change during program execution

b)

a fixed value that never changes

c)

a type of computer hardware

d)

a programming language

11.

A data type is:

a)

The kind of information stored in a variable

b)

The speed of a computer

c)

A list of program steps

d)

A comment in code

12.

A string is:

a)

A series of numbers

b)

A collection of loops

c)

A sequence of characters inside quotation marks

d)

A command that repeats

13.

An integer is:

a)

A decimal number

b)

A whole number

c)

A type of text

d)

A loop counter

14.

A Boolean value can only be:

a)

True or false

b)

Numbers or letters

c)

Positive or negative

d)

Small or large

15.

An operator in programming is:

4 lines
16.

A condition is:

a)

A statement that is always true

b)

A statement that can be true or false

c)

A program’s result

d)

A coding error

17.

What does an if statement do?

a)

Repeats code over and over

b)

Stops a program

c)

Tells the computer to make a decision

d)

Stores information

18.

A loop is used to:

a)

Repeat a set of instructions until a condition is met

b)

Stop a function

c)

Translate code

d)

Write comments

19.

A function is:

a)

A variable inside a loop

b)

A block of code that performs a specific job

c)

A part of a computer’s hardware

d)

A data type

20.

A parameter is:

a)

A person who uses the computer

b)

A symbol that performs a math or logic operation

c)

A function name

d)

A type of bug

21.

What is a parameter in programming?

a)

The output of a program

b)

A condition used in a loop

c)

Information passed into a function

d)

A code error