NEW
Font size
WorksheetsVideo Game Programming and Design Questions
Total questions: 20
Worksheet time: 10mins
What is a name given to a storage area that our programs can manipulate?
Variable
Constant
Function
Array
What operator is used for addition in programming?
-
*
/
+
What is the value of 1111 in decimal?
15
14
16
13
Which variable type stores values with two states: true or false?
int
string
bool
float
What is the process of creating instructions that tell a computer how to perform a task?
Computer Programming
Data Analysis
Network Configuration
System Design
What is the term for using a method in programming?
Calling
Invoking
Executing
Triggering
What logic gate returns true only if both inputs are true?
OR
AND
NOT
NAND
What is the value of 26 in binary code?
10100
11010
11100
10010
What is the symbol for the AND gate?
&&
|
+
!
What feature of a programming language performs different computations or actions depending on if condition evaluates to true or false?
Condition
Loop
Function
Variable
Which language is as close as possible to human speech?
Low level
Assembly
High level
Machine code
What operator is used for modulus (remainder) in programming?
/
*
%
+
What is the term for a collection of elements that can be accessed by index in programming?
Array
List
Set
Dictionary
Which variable type stores single characters?
int
char
string
float
Which variable type stores text?
integer
string
boolean
float
What is the following error?
string name = 1.7;
Syntax. A string cannot hold a numerical value.
TypeError. A number cannot be assigned to a string variable.
Runtime Error. The variable is not defined.
Logic Error. The value assigned is incorrect.
Which variable type stores integers (whole numbers) without decimals?
float
string
int
char
What is a particular kind of data item that is defined by the values it can accept?
Data type
Data structure
Data model
Data format
What operator is used for subtraction in programming?
+
-
*
/
What type of variable holds character values like letters or punctuation?
String
Char
Integer
Boolean
