
Unit 23 - Event Driven Programming
Authored by Ambreen Mohsin
Computers
Professional Development
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is FALSE about Event driven programming?
Event driven programs can be run multiple times with different outcomes based on user interactions
The flow of event driven program cannot always be known ahead of time
Event driven programs do not implement algorithms
Some portion of an event driven program may never execute while the program is still running
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What are trigger functions in event driven programming?
trigger functions are functions that save the properties of an event driven program
trigger functions are executed when the user right clicks only
trigger functions choose which event handler needs to be ran for the event
trigger functions play the same role as event handlers
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is an example of timed event?
Submit button on a form clicked
User typing into a text field
Changing the selected item in the list
Alarm ringing everyday
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the difference between event loop and event handler?
Event handlers are executed when more than one events occur whereas event loop is executed when one event occurs
Event handlers are lines of code executed when an event occurs where as event loop are lines of code that keep on checking for an event to occur
Both of them play the same role
Event loops are lines of code executed when an event occurs where as event handlers are lines of code that keep on checking for an event to occur
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is NOT a feature of object oriented programming?
Data Abstraction
Inheritance
Time Driven
Classification
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The following statements describe the features of an event-driven program. Three of them are true and one is a lie. Which one is a lie?
It responds to events.
It always follow one flow of control
It is service oriented
It uses event loops
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which one of the following is not a computing event?
Mouse Click on the login button
Key Press on the register form
Tap on Button "Twitter" on the Phone
Time taken for the application to run
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?