Font size
WorksheetsIntroduction to Computer Science
Total questions: 10
Worksheet time: 5mins
Basic syntax is...
the rules for correct spelling, grammar and punctuation in a programming language
the rules for an object to perform an action
extra information passed into a method to modify what the method does
a type of data that represents text
Sequence (in programming) is...
the order of the objects
the pacing of a method
the order of the commands in a program
An object is a character or thing that can perform actions
True
False
The actions an object performs are called?
arguments
parantheses
methods
jumps
Parentheses look like:
:
()
;
<
A step-by-step set of instructions for completing a task
Loop
Algorithm
String
Variable
A programming structure used to repeat actions without the player needing to write the same lines of code over and over.
Variable
Merry-go-round
Property
Loop
What is a "loop"?
a variable that contain data
repeats a block of code while a certain condition is true
An way to store information for later use.
For example:
enemy = hero.findNearestEnemy()
Loop
Value
Variable
String
A type of data that represents text.
For example:
food = "chicken wings"
Method
Argument
Object
String
