CIUC- Review Lesson
Review
Event driven programs require an event and event handler functions. This event can be created by the user or when a condition is met during runtime.
Processing uses event handler methods for the mouse and keyboard to listen for events. Once the event occurs, the event handler function is triggered and will execute.
Conditional statements make a decision by asking a question and will perform an action based on the result. Conditional statements are used to control the flow of a program. Control will branch one way if the condition is true and either continue or branch another way if the result is false. They are referred to as conditionals, decision statements, or selection statements. The condition is constructed using relational operators. When two or more conditions need to be checked, boolean logic operators AND, and OR are used to join the conditions. A true or false answer will result depending on the type of logic operator used.
Match the Terms
True/False
[CC BY 4.0] UNLESS OTHERWISE NOTED | IMAGES: LICENSED AND USED ACCORDING TO TERMS OF SUBSCRIPTION