Deck 2: Programming in Alice

Full screen (f)
exit full mode
Question
The my first world method is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
Use Space or
up arrow
down arrow
to flip the card.
Question
Which Alice structure is used to have one object move before another object?

A) Do in order
B) Do together
C) Do sequentially
D) Do now
E) None of these
Question
The say method associated with the Frog class is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
Question
Which of the following is the first step in the program development cycle:

A) Write the methods
B) Test the methods
C) Design the program
D) Debug the methods
E) None of these
Question
Which of the following structures are used to add explanatory notes into a method?

A) Do in order
B) Do together
C) Note
D) Comment
E) None of these
Question
Which of the following identifiers utilizes the camelCase naming convention?

A) MakeCake
B) goForIt
C) Runspotrun
D) tryagain
E) None of these
Question
All classes have custom methods.
Question
Which type of error will not prevent a program from running, but will produce incorrect results?

A) Syntax error
B) Runtime error
C) Logical error
D) Pseudoerror
E) None of these
Question
How are method calls added to a method in the Method Editor?

A) By dragging the method from the Object Tree.
B) By typing the method call.
C) By dragging the method from the Method Window.
D) By dragging the method tile from the Details Panel to the Method Editor.
E) None of these
Question
Which Alice structure is used to have two objects move towards each at the same time?

A) Do in order
B) Do together
C) Do sequentially
D) Do now
E) None of these
Question
Which of the following is a primitive method?

A) Run
B) Jump
C) Think
D) Play
E) None of these
Question
When creating a new Alice world, which of the following should be done prior to the rest?

A) Writing new methods for an object
B) Setting an object's properties
C) Adding one or more objects
D) Running the program
E) Clicking the Restart button
Question
Which of the following is not a primitive method?

A) Move
B) Turn
C) Roll
D) Resize
E) None of these
Question
Only certain Alice objects have all of the primitive methods.
Question
The foottap method associated with the Frog class is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
Question
An event is a set of instructions that causes some action to take place.
Question
Using the camelCase naming convention is a good way to have easy-to-read, meaningful identifiers.
Question
Pseudocode is written in the following language:

A) Basic
B) Machine language
C) Java
D) English
E) None of these
Question
When you call the walk method of the Walking People class, what must be specified as an argument?

A) distance
B) speed
C) duration
D) style
E) None of these
Question
What is the name of the default world method that automatically runs when an Alice program is executed?

A) the first method
B) main
C) my first method
D) start
E) None of these
Question
The ___________________ method is used to turn an object so it faces in the same direction as another object.
Question
The Do together structure is used to execute a set of instructions sequentially.
Question
The ___________________ method is used to change the location of an object.
Question
Each of the ___________________ classes has a custom method walk.
Question
A custom method is a method that only objects of a specific class have.
Question
The move method can be used to change the direction an object is facing.
Question
When you export a video in Alice, it will be created in the same location where you saved the Alice world.
Question
Inside the People collection there is another collection named Walking People.
Question
Method calls are added to a method by ___________________ the method tile from the Details Panel to the Method Editor.
Question
Additional information to a called method is provided via one or more ___________________.
Question
The ___________________ method is used to change the size of an object.
Question
The comment structure is used to improve the readability of a program.
Question
The ___________________ method is used to change the direction an object is facing.
Question
The jump method is a primitive method.
Question
The programming terminology for executing a method is ___________________ a method.
Question
The resize method can be used to change the size of an object.
Question
The orient to method and the various turn methods can all be used to change the direction an object is facing.
Question
The built-in methods that are associated with every object are called ___________________ methods.
Question
World.___________________ is the default world method that automatically runs when an Alice program is executed?
Question
Pseudocode and flowcharting are tools used by programs during debugging.
Question
A(n) ___________________ method is unique to a specific class.
Question
A(n) ___________________ error will not prevent the program from running, but will produce incorrect results.
Question
The ___________________ tile is used to insert explanatory notes into a method.
Question
___________________ and ___________________ are two tools use by programmers to design a method.
Question
Pseudocode is written in the ___________________ language.
Question
The ___________________ structure is used to execute a set of instructions simultaneously.
Question
An Alice world can be exported as a(n) ___________________ ,which makes it easy to share with others on the Internet.
Question
The ___________________ structure is used to execute a set of instructions sequentially.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/48
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 2: Programming in Alice
1
The my first world method is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
D
2
Which Alice structure is used to have one object move before another object?

A) Do in order
B) Do together
C) Do sequentially
D) Do now
E) None of these
A
3
The say method associated with the Frog class is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
A
4
Which of the following is the first step in the program development cycle:

A) Write the methods
B) Test the methods
C) Design the program
D) Debug the methods
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following structures are used to add explanatory notes into a method?

A) Do in order
B) Do together
C) Note
D) Comment
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
6
Which of the following identifiers utilizes the camelCase naming convention?

A) MakeCake
B) goForIt
C) Runspotrun
D) tryagain
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
7
All classes have custom methods.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
8
Which type of error will not prevent a program from running, but will produce incorrect results?

A) Syntax error
B) Runtime error
C) Logical error
D) Pseudoerror
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
9
How are method calls added to a method in the Method Editor?

A) By dragging the method from the Object Tree.
B) By typing the method call.
C) By dragging the method from the Method Window.
D) By dragging the method tile from the Details Panel to the Method Editor.
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
10
Which Alice structure is used to have two objects move towards each at the same time?

A) Do in order
B) Do together
C) Do sequentially
D) Do now
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is a primitive method?

A) Run
B) Jump
C) Think
D) Play
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
12
When creating a new Alice world, which of the following should be done prior to the rest?

A) Writing new methods for an object
B) Setting an object's properties
C) Adding one or more objects
D) Running the program
E) Clicking the Restart button
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following is not a primitive method?

A) Move
B) Turn
C) Roll
D) Resize
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
14
Only certain Alice objects have all of the primitive methods.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
15
The foottap method associated with the Frog class is what type of method?

A) Primitive method
B) Custom method
C) Unique method
D) World-level method
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
16
An event is a set of instructions that causes some action to take place.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
17
Using the camelCase naming convention is a good way to have easy-to-read, meaningful identifiers.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
18
Pseudocode is written in the following language:

A) Basic
B) Machine language
C) Java
D) English
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
19
When you call the walk method of the Walking People class, what must be specified as an argument?

A) distance
B) speed
C) duration
D) style
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
20
What is the name of the default world method that automatically runs when an Alice program is executed?

A) the first method
B) main
C) my first method
D) start
E) None of these
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
21
The ___________________ method is used to turn an object so it faces in the same direction as another object.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
22
The Do together structure is used to execute a set of instructions sequentially.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
23
The ___________________ method is used to change the location of an object.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
24
Each of the ___________________ classes has a custom method walk.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
25
A custom method is a method that only objects of a specific class have.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
26
The move method can be used to change the direction an object is facing.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
27
When you export a video in Alice, it will be created in the same location where you saved the Alice world.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
28
Inside the People collection there is another collection named Walking People.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
29
Method calls are added to a method by ___________________ the method tile from the Details Panel to the Method Editor.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
30
Additional information to a called method is provided via one or more ___________________.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
31
The ___________________ method is used to change the size of an object.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
32
The comment structure is used to improve the readability of a program.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
33
The ___________________ method is used to change the direction an object is facing.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
34
The jump method is a primitive method.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
35
The programming terminology for executing a method is ___________________ a method.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
36
The resize method can be used to change the size of an object.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
37
The orient to method and the various turn methods can all be used to change the direction an object is facing.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
38
The built-in methods that are associated with every object are called ___________________ methods.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
39
World.___________________ is the default world method that automatically runs when an Alice program is executed?
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
40
Pseudocode and flowcharting are tools used by programs during debugging.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
41
A(n) ___________________ method is unique to a specific class.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
42
A(n) ___________________ error will not prevent the program from running, but will produce incorrect results.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
43
The ___________________ tile is used to insert explanatory notes into a method.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
44
___________________ and ___________________ are two tools use by programmers to design a method.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
45
Pseudocode is written in the ___________________ language.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
46
The ___________________ structure is used to execute a set of instructions simultaneously.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
47
An Alice world can be exported as a(n) ___________________ ,which makes it easy to share with others on the Internet.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
48
The ___________________ structure is used to execute a set of instructions sequentially.
Unlock Deck
Unlock for access to all 48 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 48 flashcards in this deck.