wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

EXTRA PRACTICE - Coding & Gaming

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which clause is used with the ALTER TABLE statement?

a)

Add column

b)

Select

c)

Into

d)

Join

2.

What is a relational database?

a)

A database that organizes data into one or more tables.

b)

A table with many columns and rows.

c)

A collection of data.

d)

A set of values of a very particular type.

3.

What is a NULL value?

a)

A value that represents unknown or missing data

b)

A known value

c)

An outdated value

d)

A numerical value

4.

The purpose of a variable is to:

a)

Store a value

b)

Display a webpage

c)

Keep your data private

d)

Determine if the value is a number or text

5.

You’re taking inventory at a clothing store. You have six shirts. Save the value of the number of shirts to the variable shirts.

shoes = 8

dresses = 4

shirts ____ ____

What is missing?

a)

= & 6

b)

shirts & 6

c)

2 & 6

d)
  • + & 6

6.

Given the value of myCookbook, what do you think the value of statement will be?

myCookbook = 'The Joy of Cooking'

yourCookbook = 'How to Cook Everything'

statement = 'My favorite cookbook is' + myCookbook

a)

My favorite cookbook is The Joy of Cooking

b)

My Favorite cookbook is

c)

The Joy of Cooking

d)

My Favorite cookbook is How to Cook Everything

7.

When we use a value without assigning it to a variable, that’s known as:

a)

Hardcoding

b)

Phishing

c)

Digitization

d)

Storing

8.

Take a look at the following code snippet. If we print out the final value of numSides, what would it be?

numSides

numSides = 4

triangle = 3

numSides = triangle

a)

3

b)

7

c)

0

d)

4

9.

The three data types are

a)

Numbers, strings, booleans

b)

Equal, less than, greater than

c)

Text, image, audio

d)

Regular, decimal, binary

10.

Data types are important because:

a)

They identify different types of information used in programs

b)

They are a recent development in programming

c)

They increase the number of lines in a program

11.

Primitive data types include:

a)

Strings, numbers, booleans

b)

Variables, arrays, lists

c)

Strings, dictionaries, integers

d)

Number, variables, booleans

12.

What data type is used in this code block? isTouching=true

a)

boolean

b)

string

c)

number

13.

Games developed with web technologies such as HTML5 and CSS have the natural advantage of being ___________ since these technologies work on any modern device.

a)

Multi-Platform

b)

Rooted

c)

Basic

d)

Simple

14.

What is one of the most important things to keep in mind when designing a game?

a)

Player experience

b)

Player lifestyle

c)

Player age

d)

Player location

15.

What is the first thing we should think about when designing a game?

a)

The game type

b)

The storyline

c)

Game controls

d)

Brainstorm techniques