wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Basics

Total questions: 18

Worksheet time: 18mins

Name
Class
Date
1.

How do you write a conditional statement?

a)

if ()

b)

als ()

c)

else ()

d)

else if ()

2.

An error in your code that makes it behave not as expected is a:

a)

Job

b)

Algorithm

c)

Bug

d)

Conditional

3.

A program is a(n):

a)

Icon

b)

Set of instructions for your computer

c)

Handbook

d)

Blueprint

4.

Which of the following is a CONDITIONAL:

a)

Jump 5 times

b)

If you see an arrow then jump 5 times, else sit down

c)

If you see an arrow

5.

What is a LOOP?

a)

Something that only happens once

b)

Something that gets repeated

c)

Sometimes that happens twice

6.

Which language does a computer understand?

a)

Sync language

b)

English language

c)

Programming language

d)

Note language

7.

Which of the following is a programming language?

a)

Anaconda

b)

Puppy

c)

Dexter

d)

Python

8.

Which of the following is a programming language?

a)

Javascript

b)

Compscript

c)

Interscript

d)

Proscript

9.

Guess the code for this geeky bird.

a)

bird.color=green

b)

color.bird=green

c)

color=green

10.

Guess the code for this geeky bird.

a)

bird.type=parrot

b)

type.bird=eagle

c)

bird.type=eagle

11.

With coding, we can make:

a)

Games

b)

Apps

c)

Websites

d)

All of these

12.

A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer is:

a)

Debugging

b)

Event

c)

Algorithm

d)

Run Program

13.

The language that programmers create and use to tell a computer what to do is:

a)

Code

b)

Command

c)

Run Program

d)

Algorithm

14.

Statements that only run under certain conditions are:

a)

Block-based programming language

b)

Conditionals

c)

If-statements

d)

Algorithms

15.
Which algorithm will get the bird to the pig?
a)
Forward
Turn Left
Forward
Forward
b)
Turn Left
Forward
Forward
Forward
c)
Forward
Turn right
Forward
Forward
16.
Which algorithm will get the bird to the pig?
a)
Forward 
Turn Left Forward
Forward
b)
Forward
Forward
Turn Left
Forward
Forward
c)
Forward
Forward
Turn Right
Forward
Forward
d)
Forward
Turn Left
Forward
Forward
17.
Which algorithm will get the bird to the pig?
a)
Forward
Turn Left
Forward
Turn Right
Forward
b)
Forward
Forward
Turn Left
Forward
Forward
c)
Forward
Turn Right
Forward
Turn Left
Forward
d)
Turn Left
Forward
Forward
Turn Right
18.

Which of the following are programming languages?


CHECK ALL THAT APPLY.

a)

Python

b)

Java

c)

C++

d)

Spanish