NEW
Font size
WorksheetsComputer Science Principles Unit 5 Part 1
Total questions: 15
Worksheet time: 8mins
A function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger.
Callback function
Event-driven program
Event handling
UI Elements
An action that causes something to happen.
Event listener
Event-driven program
Event
User Interface
A program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
Event-driven program
Event
Event handling
Event listener
An overarching term for the coding tasks involved in making a program respond to events by triggering functions.
Event
Event-driven program
Event listener
Event handling
a command that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
Event
Event handling
Event listener
UI Elements
On-screen objects, like buttons, images, text boxes, pull down menus, screens and so on.
UI Elements
User Interface
Callback function
Event
The visual elements of a program through which a user controls or communicates with the application. Often abbreviated UI.
Event handling
UI Elements
User Interface
Callback function
Finding and fixing problems in an algorithm or program.
Event handling
Debugging
Event-driven program
User Interface
All values in a programming language have a "type" - such as a Number, Boolean, or String - that dictates how the computer will interpret it. For example 7+5 is interpreted differently from "7"+"5"
Event
Data Type
Expression
Variable
Any valid unit of code that resolves to a value.
Event listener
Expressive Code
Data Type
Expression
A placeholder for a piece of information that can change.
Number
Variable
Data type
Variable handler
The equality operator is used to compare two values, and returns a Boolean (true/false).
==
=
/_
/=
A variable whose scope is "global" to the program, it can be used and updated by any part of the code. Its global scope is typically derived from the variable being declared (created) outside of any function, object, or method.
Global Handler
Global Scope
Global Variable
Global Container
The common programming structure that implements "conditional statements".
If-Then Statement
Local Variable
If-Variable
If-Statement
Dictates what portions of the code can "see" or use a variable, typically derived from where the variable was first created.
Variable Scope
Global Variable
Local Variable
Variable Statment
