Comp Sci Test Study Flashcards
What is an app’s component?
The visible and non-visible pieces that make an app work. They are built in.
What is an app’s behavior?
The events and responses to those events.
What are the 5 types of events in app inventor?
User- initiated event, Initialization event, Timer event, Animation event, and External event.
What is a user-initiated event?
An event that is triggered by the user.
What is an initialization event?
An event that is triggered when the app is launched.
What is the event handler block in MIT app inventor?
Block that tells the app what to do in case of a specific event.
What is a timer event?
An event that is triggered by a timer or time passing.
What is an animation event?
An event that is triggered by things on the screen, such as sprites colliding.
Define and provide examples for an event handler
This is made up of the event and the app’s response to that event. For example, when the user clicks a button, it plays a sound.
Define a visible component.
These are parts of the user interface, components that the user can see.
What is an external event?
An event triggered by an external device.
Define non-visible components.
Components that the user cannot see.
How does an event handler start in app inventor?
It begins with a “when do” block.
What is an algorithm?
A sequence of precise instructions that solve a problem or perform some computation.
What is sequence in an algorithm?
It is following a precise sequence (order) of actions or instructions.
What is repetition in an algorithm?
It allows algorithms to be simplified by stating that certain steps will repeat until told otherwise.
Provide examples of a visible component.
Buttons, boxes, labels, text, etc.
What is selection in an algorithm?
An algorithm being able to go down different pathways depending on what happens (if/else).