• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/101

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

101 Cards in this Set

  • Front
  • Back
The keyword ________ signals the presence of conditional execution.
IF
Alice software creates a simulation in a __ environment.
3D
Each object added to an Alice world is constructed in _______ dimensions.
three
The one purpose of the center point of an object is to _______________.
provide a reference for a spin type of movement
An Alice object understands movement commands in up, down, left, right, forward, and backward directions based on ______________.
the object's own sense of direction
Alice is based on the use of ___________ .
creating objects
Name one of the available "templates" Alice uses to compose an initial scene.
dirt, grass, sand, snow, space, or water
What is the key to computer programming?
To get a handle on the fundamental ideas
The center of the world is initially loacted at what coordinates?
(0,0,0)
The keyword ________ signals the presence of looping.
While
Writing the code of a computer program is known as _____________ the program.
implementing
The concept of writing one program statement inside of another program statement is known as ___________.
nesting
What is the name for a block of program code that defines how to perform a specific task?
A method
What allows the programmer to tell Alice whether to perform actions in order, or simultaneously?
control statements
Textual storyboards serve as what?
as an alternative to visual storyboards
What is the purpose of the "+" to the left of some objects' names in the Object tree?
to give the programmer access to the subparts of an object
Indentation does what two things?
1. makes textual storyboards easier to read
2. is absolutely necessary
____________ in a storyboard are not required to fit collectively onto one large sheet of paper.
Snapshots
What happens when the fog density property is set to 0.0 in an Alice World?
The objects in the Alice world will be completely visible
Even with the introduction of If/Else and Loop statements, the use of______________is still necessary for writing pseudocode in a textual storyboard.
indentation
It is acceptable to have the " else " section of an If/Else control structure in Alice, " do ________".
nothing
a statement that executes to make objects perform a certain action
instruction
a statement that controls the execution of a block of instructions
control structure
asks a question about a condition or computes a value
function
a math operation on numbers or other kinds of values
expression
In Alice, objects have built-in functions which allow the programmer to get information about the properties of objects. These functions are listed on the functions tab of the details panel, which is divided into sub-categories. Which of the following are sub-categories (rather than a specific built-in function)?
opacity, proximity, spatial relation, point of view
opacity, proximity, spatial relation and point of view
What is a method?
a coordinated sequence of instructions that will be carried out when requested
What is one goal that object-oriented programming helps the user achieve?
It helps organize large programs by breaking down the coding into small manageable pieces.
Animation methods that are written to carry out responses to events are known as ____________.
event handling methods
What does it mean to say that the real world around us is interactive.
We give instructions to objects in our world.
Functions leave the state of the ________ unchanged.
world
What is it called when an animation performed by a method moves, turns, or performs some other action with objects in the world?
Changing the state
The value in a function :
can be a number, an object, a Boolean(true/false) or another type.
What is one benefit of a function?
it allows us to think about the overall process rather than all the nitty gritty little details
A _______is an example of an abtraction, collecting lot of small steps into one meaningful idea to allow us to think on a higher plane.
function
Orientation is done with what method?
orient to method
When do you need to build your own function?
When none of the built in functions of an object accomplish the task you want the object to do.
If an object is moving relative to itself, not relative to the ground (the object turns but won't execute a move forward command), what is the solution?
Use asSeenBy = ground in the move statement
A new function is catagorized by the ____ of information it returns.
type
What are the types of functions?
Number, Boolean, Object, Other (such as String, Color, and Sound)
Every function must have a _____ statement
return
You can't remove the _________ statement
Return
What is the formula for determining the number of revolutions an object must take?
number of revolutions = distance/diameter * 3.14)
To control whether a block of instructions is executed or a method is called
If/Else statment
A statement that makes a decision based on the value of a condition as a program is running
if/else statement
An if statement contains a ______ condition used to determine whether the segment of code will execute
Boolean
When does the Else statment execute in an IF/Else statemenet
When the if statement is false
Used to combine simple Boolean expressions into complex expressions
Logical operators and, or,not
Can be used to compare values in a Boolean expression
relational operators
The random number function returns what fractional vallue
between 0 and 1
How do you change the range in a random number function?
Enter values in the minimum value and maximum value on the more tile of the random number function
A "Loop" statement is referred to as a(n) _____________.
counted loop
If the count of a "Loop" is set to infinite, how many times will the loop actually repeat?
the loop will stop when the program stops
The "Loop" statement should only be used when :
we know how many times a block of instructions should be repeated.
What type of loop is a While statement?
conditional loop
A Do in order or Do together can be nested inside a loop; What does Alice assume by default?
that the instructions are to be executed in order
A "Loop" statement is used to execute _____________
a block of instructions repeatedly.
Is it legal or illegal to program a recursive function?
legal
Moving forward a negative distance is the same as _________
moving backward a positive distance.
Recursion enables ______________
a method to be repeatedly called.
The base case in a recursive call is a signal that__________
you have reached the simplest problem and no more recursive steps remain.
A programmer wishes to add four objects to a list structure in a world. This list should be created ____________.
as a world variable
A list search would most likely involve which control structures?
loop, do together, and If
A list is ______________________
a collection of several items of the same type (such as Object or Color).t/f
It is entirely feasible to create a list of _____________, in Alice.
objects or colors
Most lists are created at the______-level since they most likely contain instantiations from different objects.
world
What is an element?
an item in the array
The _______ of an array can't change while the program is running.
size
There are two kinds of arrays in Alice.
1.arrays created using a built-in array data structure variable
2.array visualization objects
A __________ is not directly visible in the world.
variable
An if statement is also thought of as a __________ statement.
control
What does the word count represent?
the number of times a loop repeats.
What type of statement is used when you know the definite number of times a block of code will repeat?
a loop statement
What type of statement is used when there is an "indefinite" number of times a block of code will repeat?
a while statement
What is the advantage of using a function as the number of times to loop?
objects can be repositioned in the initial scene and it won't be necessary to modify the code to specify the count.
What happens if the count chosen for a loop is infinity?
The loop continues until the program stops.
What type of condition is a While statement?
a Boolean condition
In a while statement, what is an infinite loop?
a program error, such as condition that will never be true, that makes the program seem to be "spinning its wheels" or a condition that will never be met so the loop continues until the program ends.
What happens when a "While something is true" event is selected from the pull-down menu?
causes a While event block to be added to the Events editor.
In a While event block, the event block contains a __________ (BDE) block.
Begin-During-End
What is recursion?
A method that calls itself.
A ____________ statement sends information back to the method that called it.
return
Objects in Alice are covered in _________________ maps.
texture
a ______________ file (.gif, .bmp, .jpg, or .tif) can be used to give an object a different look.
graphic
What are the the steps to importing a texture map?
1. select the object
2. click the import texture map button
3. locate the file and import
4. set the skin property to use the new texture map
What does "iterate through a list" mean?
To do the same thing repeatedly for all the items in a list.
What does the For all in order statement do in a list?
It iterates sequentially through a list and works with one item at a time from the list.
What does the For all together statement do in a list?
It iterates through a list simultaneously meaning that all the objects in a list do the same action at the same time.
What is the purpose of a list search in Alice?
to iterate through a list of items, one item at a time, and check each one to see if it has exactly what we are looking for.
_________________ means we can change the value as things happen during program execution.
mutable
What is an array?
a structure for collecting and organizing objects or information of the same type into a group.
An _____________ variable keeps track of each item in an array.
index
What is a mutable variable?
a property that can be directly changed using set or some other methods.
an _________ is an instance of a class.
object
The term ______________ describes the action of "getting at" an individual element of the array.
access
The Array ______________ class defines properties and actions for an object especially designed to represent an array structure.
Visualization
What is permutation?
The act of changing the order of elements in an ordered group is a well-known mathematical operation.
The term ___________ is used to indicate that more is involved than just moving an object from one place to another.
relocate
What instruction is used to relocate an element an array?
let instruction
What does a "watch" do in Alice?
It creates a small window where the value in the watched variable is constantly displayed at runtime. When the value changes, it is immediately updated.
What does a print instruction do in Alice?
Causes the animation to be displayed in a split window. One panel displays the animation while another panel displays output in a text console.