Alice Chapter 5 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

The control structure that creates a code block and tells Alice to execute code statements within that block concurrently

A

Do Together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A control structure that creates a code block for repetition. At runtime, Alice executes the code statements a counted number of times

A

Count Loop control structure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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.

A

for loop
loop control value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This makes a speech bubble appear above a character’s head

A

Say method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

This

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Once a procedure has been written it can be called again and again in many places in the program

A

code reuse

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Press and hold the CTRL key and use the cursor to drag and drop a copy of a statement for the _______

A

Copy-and-paste keyboard shortcut

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

Run button
Runtime Window
myFirstMethod
Executed
Call

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A _____________ is one code block totally enclosed within another code block

A

Nested code block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A _______ is a procedure written by the programmer, as opposed to a built in procedure in the Alice software system

A

Custom Procedure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is it called when we use names for custom procedures?

A

Self-Documenting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the term for lowercasing the first word and uppercasing following words?

A

camelCase

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The _____________ contains the statements that tell Alice how to perform the action(s) of the procedure

A

Procedure’s code block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly