wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CS Fundamentals Quiz

Total questions: 13

Worksheet time: 7mins

Name
Class
Date
1.

What is an algorithm?

a)

Finding and fixing errors in programs

b)

An action that causes something to happen

c)

A list of steps to finish a task

d)

An error in a program

2.

What is the purpose of debugging?

a)

To find and fix errors in programs

b)

To repeat an action over and over again

c)

To program a robot

d)

To draw shapes using loops

3.

What is an event in computer science?

a)

An action that causes something to happen

b)

A list of steps to finish a task

c)

Finding and fixing errors in programs

d)

An error in a program

4.

What is the purpose of loops in programming?

a)

To draw shapes using loops

b)

To find and fix errors in programs

c)

To program a robot

d)

To repeat an action over and over again

5.

What is the purpose of drawing shapes with loops?

a)

To find and fix errors in programs

b)

To program a robot

c)

To draw shapes using loops

d)

To repeat an action over and over again

6.

What is another shape or figure you could program using loops?

a)

Circle

b)

Rectangle

c)

Triangle

d)

Square

7.

What do loops do?

a)

Repeat a pattern

b)

Draw shapes

c)

Create animations

d)

Play music

8.

When would you use a conditional statement in your daily life?

a)

When reading a book

b)

When deciding what to wear based on the weather

c)

When cooking a meal

d)

When playing a video game

9.

What is a conditional statement?

a)

A statement that creates animations

b)

A statement that only runs under certain conditions

c)

A statement that repeats a pattern

d)

A statement that draws shapes

10.

When might you use a conditional in your code?

a)

When running a loop

b)

When checking if a variable is equal to a specific value

c)

When drawing a shape

d)

When playing a sound

11.

What is the role of variables in programming?

a)

To repeat an action over and over again

b)

To store and manipulate data

c)

To draw shapes using loops

d)

To find and fix errors in programs

12.

What is the purpose of functions in programming?

a)

To create animations

b)

To summarize a sequence of instructions

c)

To play music

d)

To draw shapes

13.

When would you use a loop in your daily life?

a)

When deciding what to wear based on the weather

b)

When reading a book

c)

When performing a repetitive task

d)

When playing a video game