NEW
Font size
WorksheetsEXTRA PRACTICE - Coding & Gaming
Total questions: 15
Worksheet time: 8mins
Which clause is used with the ALTER TABLE statement?
Add column
Select
Into
Join
What is a relational database?
A database that organizes data into one or more tables.
A table with many columns and rows.
A collection of data.
A set of values of a very particular type.
What is a NULL value?
A value that represents unknown or missing data
A known value
An outdated value
A numerical value
The purpose of a variable is to:
Store a value
Display a webpage
Keep your data private
Determine if the value is a number or text
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?
= & 6
shirts & 6
2 & 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
My favorite cookbook is The Joy of Cooking
My Favorite cookbook is
The Joy of Cooking
My Favorite cookbook is How to Cook Everything
When we use a value without assigning it to a variable, that’s known as:
Hardcoding
Phishing
Digitization
Storing
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
3
7
0
4
The three data types are
Numbers, strings, booleans
Equal, less than, greater than
Text, image, audio
Regular, decimal, binary
Data types are important because:
They identify different types of information used in programs
They are a recent development in programming
They increase the number of lines in a program
Primitive data types include:
Strings, numbers, booleans
Variables, arrays, lists
Strings, dictionaries, integers
Number, variables, booleans
What data type is used in this code block? isTouching=true
boolean
string
number
Games developed with web technologies such as HTML5 and CSS have the natural advantage of being ___________ since these technologies work on any modern device.
Multi-Platform
Rooted
Basic
Simple
What is one of the most important things to keep in mind when designing a game?
Player experience
Player lifestyle
Player age
Player location
What is the first thing we should think about when designing a game?
The game type
The storyline
Game controls
Brainstorm techniques
