Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

AP CSP Chapter 5.1-5.5 Vocab Questions with Correct Answers

Document preview thumbnail
Preview 2 out of 5 pages

AP CSP Chapter 5.1-5.5 Vocab Questions with Correct Answers

Content preview

AP CSP Chapter 5.1-5.5 Vocab Questions with Correct Answers


Question 1:
Callback function
Answer:
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 (the green part of the function)


Question 2:
Event
Answer:
An action that causes something to happen.


Question 3:
Event-driven program
Answer:
a program designed to run blocks of code or functions in response to specified events (e.g. a
mouse click)


Question 4:
Event handling
Answer:
an overarching term for the coding tasks involved in making a program respond to events by
triggering functions.


Question 5:
Event listener
Answer:
a command that can be set up to trigger a function when a particular type of event


Question 6:
The onEvent block is a type of event-handling function called event listener
Answer:
occurs on a particular UI element.

, Question 7:
UI Elements
Answer:
on-screen objects, like buttons, images, text boxes, pull down menus, screens and so on.


Question 8:
User Interface
Answer:
The visual elements of a program through which a user controls or communicates with the
application. Often abbreviated UI.


Question 9:
UI Events
Answer:
controls like click, scroll, move mouse, type keyboard key, etc.


Question 10:
Users trigger events
Answer:
Events occur when users click a button, tap the screen, move the mouse, type a key on the
keyboard, etc.


Question 11:
Events trigger code
Answer:
When an event occurs or "fires" it can be used to trigger a particular javascript


Question 12:
Good ID's are.meaningful and descriptive.
Answer:
function.

Document information

Uploaded on
July 18, 2026
Number of pages
5
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KateJones
4.8
(12)
Sold
30
Followers
0
Items
5353
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions