wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Writing Code Quiz

Total questions: 15

Worksheet time: 4hrs 45mins

Name
Class
Date
1.

An instruction or set of instructions that can be executed by a computer or other device

a)

Loop

b)

Code

c)

Control

d)

Function

2.

A correct order of instructions

a)

Code

b)

Pattern

c)

Loop

d)

Sequence

3.

A set of code that repeats

a)

Loop

b)

Code

c)

Repeat

d)

Curve

4.

The diagram that shows the sequence of steps involved in performing an algorithm

a)

Workspace

b)

Desktop

c)

Flow Chart

d)

Pattern

5.

A code that uses the least amount of steps to complete a task

a)

IDK

b)

Algorithm

c)

Efficient Code

d)

Loop

6.

A type of code that tells a program to run an action depending on whether a statement is true or false

a)

False

b)

Loop

c)

Conditional

d)

Pumpkin

7.

The number of times a set of instructions is repeated based on a predetermined value or a until a condition is met

a)

Endless

b)

Loop

c)

Defined Count

d)

Is it Friday?

8.

Smaller, reusable blocks that run a specific task within a larger main program

a)

Huh?

b)

Equation

c)

Main Program

d)

Sub Program

9.

What are the 3 main control structures?

a)

sequence, repetition (loops), selection

b)

syntax, variable, function

c)

h-i-j-k- elimina p

d)

data, debugging, class

10.

Do you use Algorithms in your everyday life?

a)

YES

b)

NO

c)

IDK

d)

I want Friday

11.

Why are STEM teachers such great dancers?

a)

HAHA, Mrs. Perry is so funny

b)

Why is she wearing plaid?

c)

Because they have ALGORITHM!

d)

Because they ate that quiz and left no crumbs

12.

What is a list of steps that you can follow to finish a task?

a)

Code

b)

Program

c)

Algorithm

13.

Series of step by step instructions for your computer to follow

a)

IP Address

b)

Coding

c)

Bits

d)

Firewalls

14.

Define Main Program

a)
A program is a collection of data stored in a computer
b)
A program is a type of computer hardware
c)
A program is a physical device used for computing tasks
d)
A program is a set of instructions that tells a computer what to do.
15.

What is a microbit?

a)

a pocket-sized computer

b)

50 gigs

c)

The new iPhone

d)

a laptop