Alice Chapter 1-6
Alice Review Chapters 1-6 knowledge questions
Terms
undefined, object
copy deck
- Object-oriented Programming
- Helps organise large programs by breaking down the coding into small manageable pieces
- Classes, objects and procedures
- Are used in object-oriented programming as basic program components
- Class
- A particular kind of object
- Event
- A mouse click or key press is used to trigger some action
- Instantiating
- The action of creating and displaying an object from a class
- Method
- A coordinated sequence of instructions that will be carried out when requested
- Abstraction
- The concept of thinking about an overall task instead of focusing on ll the small actions needed to complete the task
- Parameter
- Acting like a basket to receive information that is sent to a procedure
- World-level Procedure
- Procedures that specifically reference more than one object
- Class-level Procedure
- A benefit of this is the ability to inherit, once the procedure is written
- ==
- Equal to
- >
- Greater than
- !=
- Not equal to
- >=
- Greater than or equal to
- <=
- Less than or equal to
- <
- Less than
- Interactive Program
- A program where the user guides objects or makes things happen in the program by using a key-listener or mouse-listener
- Do in order
- Makes a collection of instructions run sequentially
- Do together
- Makes a collection of instructions run at the same time
- If/else
- Controls whether a block of instructions is executed or a procedure is called. Involves making a decision based on a current condition in the world.
- Functions
- Allows the user to ask questions about properties
- Properties
- Information about a world and its objects are stored here