wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Video Game Programming and Design Questions

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is a name given to a storage area that our programs can manipulate?

a)

Variable

b)

Constant

c)

Function

d)

Array

2.

What operator is used for addition in programming?

a)

-

b)

*

c)

/

d)

+

3.

 What is the value of 1111 in decimal?

a)

15

b)

14

c)

16

d)

13

4.

Which variable type stores values with two states: true or false?

a)

int

b)

string

c)

bool

d)

float

5.

What is the process of creating instructions that tell a computer how to perform a task?

a)

Computer Programming

b)

Data Analysis

c)

Network Configuration

d)

System Design

6.

What is the term for using a method in programming?

a)

Calling

b)

Invoking

c)

Executing

d)

Triggering

7.

What logic gate returns true only if both inputs are true?

a)

OR

b)

AND

c)

NOT

d)

NAND

8.

What is the value of 26 in binary code?

a)

10100

b)

11010

c)

11100

d)

10010

9.

What is the symbol for the AND gate?

a)

&&

b)

|

c)

+

d)

!

10.

What feature of a programming language performs different computations or actions depending on if condition evaluates to true or false?

a)

Condition

b)

Loop

c)

Function

d)

Variable

11.

Which language is as close as possible to human speech?

a)

Low level

b)

Assembly

c)

High level

d)

Machine code

12.

What operator is used for modulus (remainder) in programming?

a)

/

b)

*

c)

%

d)

+

13.

What is the term for a collection of elements that can be accessed by index in programming?

a)

Array

b)

List

c)

Set

d)

Dictionary

14.

Which variable type stores single characters?

a)

int

b)

char

c)

string

d)

float

15.

Which variable type stores text?

a)

integer

b)

string

c)

boolean

d)

float

16.

What is the following error?

string name = 1.7;

a)

Syntax. A string cannot hold a numerical value.

b)

TypeError. A number cannot be assigned to a string variable.

c)

Runtime Error. The variable is not defined.

d)

Logic Error. The value assigned is incorrect.

17.

Which variable type stores integers (whole numbers) without decimals?

a)

float

b)

string

c)

int

d)

char

18.

What is a particular kind of data item that is defined by the values it can accept?

a)

Data type

b)

Data structure

c)

Data model

d)

Data format

19.

What operator is used for subtraction in programming?

a)

+

b)

-

c)

*

d)

/

20.

What type of variable holds character values like letters or punctuation?

a)

String

b)

Char

c)

Integer

d)

Boolean