Vocabulary
Introduction to Computer Science
Game Development 1
Computer Science 3
Miscellaneous CS
100

Spelling, grammar and punctuation of a programming language.
Example: Every line of code ends with a semi-colon ;

Basic Syntax

100

a step-by-step set of instructions for completing a task. When algorithms are written using code, computers can follow them.

algorithm

100

What is the object in the following code?

game.spawnXY(name, x, y)

game

100

The act of adding one string to another using the “+” operator.

concatenation

100

An diagram of a program, done in shapes.

Flow Chart

200

hero.moveLeft (3); What is the3?

Arguement

200

A part of a program that tells a computer to perform an action, like assign a value to a variable.

Statement

200

The act of creating a new object in a scene while a game is running.  

Spawning

200

The combination of one or more values using an operator.

expression

200

A detailed outline or rough draft of a program. Done in words.

pseudocode

300

Used to repeat actions without having to write the same code over and over.

While Loop

300

Give an example of an expression.

The expression while pizza < 5 would evaluate to True if I have 3 pizzas, and to False if I have 6 pizzas.

300

In order to spawn a new collect goal into your scene, you will need:

game.addCollectGoal(amount)

300

How do you write an expression with a "float?"

It needs to have a decimal.

300

“Executing instructions repeatedly, either for a set number of times or depending on a condition” is a description of which programming construct?

Repetition

400

Data where the value can change. First used to define enemy, then passed as an argument to attack the enemy.

Variable

400

How is the way a computer reads instructions different from the way a human would understand them?

Humans can use their own knowledge and other clues to figure things out if they don't make sense. Computers can only execute exactly what they are told.

400

Imagine you wanted to spawn a munchkin at (38, 16). What statement would you write in order to do this?

game.spawnXY(“munchkin”, 38, 16)

400

What are return statements?

are added to the body of function definitions in order to pass a value back to the call statement.

400

What is a real/float number?

A variable type that represents a fraction.

500

What is moveRight() in the following code.

hero.moveRight();

method

500

Why are sequence and syntax important?

Computers only do exactly what you tell them, so the sequence is important because if the computer does the steps in the wrong order, the program doesn't turn out right. If there is an error in the syntax, the computer doesn't know how to read it at all.

500

What is wrong with the following?

game.spawnXY("captain", 9, 9)

game.spawnXY("goal, 52, 44)

Quotations are needed to open and close the string goal.

500

Python has conjunctions too! They are called _______?

Logical Operators

500

The computational method which is concerned with the removal of unnecessary detail is called...

Abstraction