wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Coding Questions

Total questions: 38

Worksheet time: 23mins

Name
Class
Date
1.

What is coding?

a)

a computer activity to take up time during school

b)

instructions for a computer (as within a piece of software)

c)

something only adults can do

d)

the process of writing things in a secret language

2.
What is a coding bug?
a)
An insect with multiple legs.
b)
An insect with two heads.
c)
An error in a program .
d)
Something you can eat.
3.
What is Computer Science?
a)
A field in which people use the power of computers to solve big problems.
b)
A field where you use science to dissect a computer.
c)
The study of chemicals.
d)
Using a computer to search for Science items.
4.
Debugging is...
a)
Stepping on a bug .
b)
Finding and fixing errors in programs.
c)
Turning off  your computer.
d)
Relaxing.
5.
What is Code?
a)
Rules of conduct.
b)
A pack between friends.
c)
One or more commands designed to be carried out by a computer.
d)
Edoc spelled backwords.
6.
Persistence is...
a)
Trying again and again , even when something is very hard.
b)
Assisting someone with a task.
c)
Giving up on a task.
d)
An error in a program.
7.
What is a program?
a)
A show put on in school.
b)
A flyer talking about a show.
c)
I list of instructions.
d)
An algorithm that has been coded into something that can be run by a machine.
8.
What is a loop?
a)
The action of doing something over and over again.
b)
Walking around in a circle.
c)
A rope.
d)
A list of instructions.
9.

An error in a program that prevents the program from running as expected.

a)

bug

b)

debugging

c)

workplane

d)

code

10.

Finding and fixing problems in your algorithm or program.

a)

debugging

b)

bug

c)

algorithm

d)

code

11.

A placeholder for a piece of information that can change.

a)

variable

b)

event

c)

command

d)

sequencing

12.

An instruction for the computer.

a)

command

b)

variable

c)

pattern matching

d)

program

13.

A light-emitting diode.

a)

LED

b)

gyroscope

c)

variable

d)

function

14.

__________________ is a versatile programming language that allows those who master it to be able to solve complex problems and gain a great understanding of how programs function.

a)

Python

b)

C++

c)

Java

d)

HTML

15.

Now, while a traditional approach would have your child working with text-based code to make their games, there is also drag-and-drop coding where visual code blocks are used to piece together code for the desired action.

a)

True

b)

False

16.

A game engine is a software-development environment that allows creators to build video games big and small, and for use on different consoles and devices.

a)

True

b)

False

17.

Variables are a fundamental part of coding, and are used to represent information in a game. Meaning, they are containers in code that can hold a single number, word, and other information.

a)

True

b)

False

18.

The three different parts of a variable include

a)

Type

b)

Name

c)

Person.

d)

Value

19.

The three different parts of a variable are (three answers are correct)

a)

Type

b)

Name

c)

Person

d)

Value

20.

_____________________ is an interactive experience where digital objects are placed in a real-world environment in real time.

a)

Virtual Reality (VR)

b)

Augmented Reality

c)

Reality

d)

None of the above

21.

While virtual reality creates a completely artificial environment, augmented reality uses the existing real-world environment and overlays new information on top of it.

a)

True

b)

False

22.

Coding is how people create instructions for computers to follow. Just like people speak different languages, so do programs.

a)

True

b)

False

23.

Coding is how people create instructions for computers to follow. Just like people speak different languages, so do programs.

a)

True

b)

False

24.

_________________________ evaluate to true or false. Use them to print information or move programs forward in different situations.

a)

Coding languages

b)

Computer programs

c)

Conditional statements

d)

Else statements

25.

An ___________________ runs a block of code based on whether or not a condition is true.

a)

Consequential statement

b)

Computer program

c)

Conditional statement

d)

If statement

26.

_____________ is a programming language that’s currently becoming more and more powerful with every new library added to its collection. It handles everything from web development and game design, to machine learning and AI

a)

Java

b)

HTML

c)

C++

d)

Python

27.

___________________ are computer graphics that you can move via code; a 2D player that walks is an animated sprite. For kids, Scratch sprites provide a fun intro to coding.

a)

Statements

b)

Sprites

c)

Barriers

d)

Python

28.

The way you tell a computer to perform an action is by giving it instructions or writing statements to explain a desired action. Again, it’s similar to writing sentences in English, but with words, numbers, and punctuation added depending on the programming language.

a)

Sprites

b)

Statements

c)

Placeholders

d)

Variables

29.

A ____________ is a container that holds a single number, word, or other information that you can use throughout a program. A variable is like a chest you can fill with different values.

a)

Statement

b)

Placeholder

c)

Function

d)

Variable

30.

Once a variable is declared, a variable type is specified. Basic variable types include: string (words and phrases), char (short for “character;” a single letter or symbol you can type), int (short for “integer;” for whole numbers), double or float (for decimal numbers), and bool (short for “boolean;” for true or false values).

a)

True

b)

False

31.

_____________________________________, also called operator precedence, is a set of rules specifying which procedures should be performed first in a mathematical expression.

a)

Loops

b)

Conditional statements

c)

Variables

d)

Order of operations

32.

In computer programming, most languages use precedence levels that are the same as science and mathematics.

a)

True

b)

False

33.

A ___________________ writes the code that brings a video game to life.

a)

Project manager

b)

Game programmer

c)

Artist

d)

Producer

34.

Other types of video game-related employment for a game programmer are:

a)

AI programmer

b)

Engine programmer

c)

graphics programmer

d)

all of the above

35.

_____________________ offers object-oriented programming (OOP), but with simpler syntax and execution and allows you to build prototypes faster, which can help make the game development process smoother.

a)

C++

b)

C#

c)

Java

d)

Python

36.

This popular programming language was released by Microsoft in 2000 and is a relatively easy programming language to learn, and is often used by smaller game studios. ____________ is another one of the main codes seen in popular game engines.

a)

C++

b)

C#

c)

Java

d)

Python

37.

Released in 1985, ____ is one of the best programming languages available. ___ is a highly optimized code that allows for greater memory management, a necessary attribute of high-poly, and high-definition video games.

a)

C++

b)

C#

c)

Java

d)

Python

38.

This game programming is nearly universally compatible, making it incredibly versatile, and one of the most popular languages used today. One reason for its popularity amongst programmers is that its model can be consistently upgraded, which allows it to compete against newer technologies. __________ is often paired with HTML5 for enhanced interactivity.

a)

C++

b)

C#

c)

Java

d)

Python