Code Combat Python 1
Terms in this set (20)
how we write code, just like spelling & grammar are important in writing. Must be carefully paid attention to in order for code to properly execute.
a type of programming data that represents text written inside quotes.
extra information passed into a procedure in order to modify what the method does.
data about or belonging to an object
used to repeat actions without the player needing to write the same line of code over and over.
a symbol that represents data, the value of the variable can change as you store new data in it.
building blocks of Python, things or characters that can perform actions.
actions an object can do, example: moveRight()
a set of step-by-step instructions that must be executed to result in a solution or to perform a task.
expressions that result in the value of either true or false.
an action that takes place while a program is running, such as clicking a mouse or pressing a key.
a structure that instructs the computer to repeat a set of instructions until some condition is met.
a structure that contains a list of instructions that the computer follows one by one from top to bottom.
The argument in hero.attack("Hazel")
The procedure in hero.attack("Hazel")
In enemy1 = hero.findNearestEnemy() the variable is....
In enemy1 = hero.findNearestEnemy(), the procedure is....
In hero.attack("Cupboard"), what is the String datatype?
Strings always have ____ around them
Procedures always have _____ at the end of them, sometimes with arguments inside