Alice Chapter 5 Flashcards
The control structure that creates a code block and tells Alice to execute code statements within that block concurrently
Do Together
A control structure that creates a code block for repetition. At runtime, Alice executes the code statements a counted number of times
Count Loop control structure
Many programming languages have count loops, often referred to as a _______ because it repeats for a counted number of times. Count loops us a _________ that determines the number of repetitions.
for loop
loop control value
This makes a speech bubble appear above a character’s head
Say method
The word ___ is dependent on the context in which it is used. Can refer to the scene class selected or an object of that class
This
Once a procedure has been written it can be called again and again in many places in the program
code reuse
Press and hold the CTRL key and use the cursor to drag and drop a copy of a statement for the _______
Copy-and-paste keyboard shortcut
What happens when the _____ is clicked?
The scene is activated and displayed in the ________
Then __________ is called
A procedure is only ________ when it is called
A statement is needed to _____ each procedure
Run button
Runtime Window
myFirstMethod
Executed
Call
A _____________ is one code block totally enclosed within another code block
Nested code block
A _______ is a procedure written by the programmer, as opposed to a built in procedure in the Alice software system
Custom Procedure
What is it called when we use names for custom procedures?
Self-Documenting
What is the term for lowercasing the first word and uppercasing following words?
camelCase
The _____________ contains the statements that tell Alice how to perform the action(s) of the procedure
Procedure’s code block