Alice programming chapter 1-3 terms/review
Nesting
'Do in order' and 'Do together' within each other.
Name control structures
'do in order' 'loop' 'if' 'if/else' 'do together' 'do in order'
Monochrome is represented by how many bits?
1.
What are the 4 steps in writing the Alice program?
1. Define problem 2. Design a solution 3. Implement it 4. Test
Color images are represented by how many?
16, 256, or 16,777,216
How many bytes does ASCii code have?
8 bytes.
Name all relational operators
< less than <= less than or equal to > greater than >= greater than or equal to == equal to /= not equal to
Method
A component of a computer program that can change one, some, or all the properties of an object.
Functions
A procedure within an application; asks questions about a system, or computes a value, changes later.
Relational operators
A programming language construct or operator that tests or defines some kind of relation between two entities.
Computer program
A sequence of instructions that a computer can interpret and execute.
Comment
A string of text in a program that does not function in the program itself but is used by the programmer to explain instructions.
Virtual world
A three dimensional representation of a world (real or imaginary).
Purpose of built-in functions?
Allows user to access property information about objects.
Class
Describes a particular kind of object or family of subclasses.
Dimensions
Height, depth, and width.
What control structure implements conditional execution?
If/else statements.
Method: 'orient to'
Tells Alice that the first object should take on the same sense of direction as the second object.
Argument
The item of information that must be supplied so Alice can execute the action (actual values); The value you send to the parameter.
Function: 'distance to'
Used to accurately measure the distance between two objects.
Parameter
Used to send values and object names to a method - a form of communication between methods; placeholder.
What does a loop statement require?
Whole # value, always rounds up.
expression
a math operation on numbers or other kinds of values
control structure
a statement that controls the execution of a block of instructions
Instruction
a statement that executes to make objects perform a certain action; The part of the computer architecture related to programming, including the native data types, instructions, registers, etc.
conditional execution
makes use of functions and expressions to check a current condition in the world using If/Else statements, which involves making a decision based on a current condition in the world.
Object
An instance of a class that is used and often changed by a computer program.
true or false
Boolean values
Method: 'Vehicle'
Causes the camera to move simultaneously with the target object.
What types of values may be returned by built-in functions in Alice?
Number, _____ (?) not sure myself