Understanding Event-Driven Programming
10 Questions
3 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Event-Driven Programming is a programming paradigm where the flow of the program is determined by ______

events

Instead of following a sequential set of instructions, the program in Event-Driven Programming responds to ______ as they occur.

events

In a graphical user interface (GUI), clicking a button or typing on the keyboard are ______ that trigger specific actions in an event-driven program.

events

Most modern computer programs that people use have Graphical User Interfaces (GUIs) with icons on the screen and a mouse to control a pointer, all operated through ______.

<p>events</p> Signup and view all the answers

An event occurs whenever an event listener detects an event trigger and responds by running a method called an ______ handler.

<p>event</p> Signup and view all the answers

An event occurs whenever an event listener detects an event trigger and responds by running a method called an ______.

<p>event handler</p> Signup and view all the answers

An event trigger can be almost any activity: such as: A mouse movement, touch screen, Someone pressing the enter key, Or something that is changing i.e. a bank account balance ______.

<p>changing</p> Signup and view all the answers

When a printer wants data, an event ______ is activated.

<p>handler</p> Signup and view all the answers

Events are an important part of programming, allowing the computer to respond to requests by a user: i.e. ______ and mouse.

<p>keyboard</p> Signup and view all the answers

Events can be used for many other purposes, such as controlling burglar alarms, checking remote sensors, or checking for system events, like printers running out of ______.

<p>paper</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser