Event-Driven Programming
a year ago
delebal
Save
Edit
Host a game
Live GameLive
Homework
Solo Practice
Practice
18 QuestionsShow answers
  • Question 1
    30 seconds
    Q. Which of the following is a property of Event-driven programs?
    answer choices
    Dynamic
    Bring challenges 
    Lead to unpredictable program execution and an associated set of challenges. 
    All of the above
  • Question 2
    30 seconds
    Q. UI stands for …….
    answer choices
     Uniform Interface
     Uniform Interface
    User Interface
    None of the above
  • Question 3
    30 seconds
    Q. Which of the following is an example of UI elements
    answer choices
    Button
    image
    Click
    A and B
  • Question 4
    30 seconds
    Q. Which of the following is an example of UI Events   
    answer choices
    Click
    Scroll
    Move Mouse
    All of the above
  • Question 5
    30 seconds
    Q. Elements are also called .....
    answer choices
    Objects
    Controls
    Events
    all of the above
  • Question 6
    30 seconds
    Q. Which of the following is the Event Listener command used in app lab
    answer choices
    Event
    onEvent
    objectEvent
    Non of the above
  • Question 7
    30 seconds
    Q. Which of the following is the best definition for Event handling
    answer choices
     Program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
    Coding tasks involved in making your app respond to events by triggering functions.
    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.
    A command (onEvent in App Lab) that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
  • Question 8
    30 seconds
    Q. Which of the following is the best definition for Event Listener
    answer choices
     Program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
    Coding tasks involved in making your app respond to events by triggering functions.
    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.
    A command (onEvent in App Lab) that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
  • Question 9
    30 seconds
    Q. Which of the following is the best definition for callback function
    answer choices
     Program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
    Coding tasks involved in making your app respond to events by triggering functions.
    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.
    A command (onEvent in App Lab) that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
  • Question 10
    30 seconds
    Q. Which of the following is the best definition for Event- driven program
    answer choices
     Program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
    Coding tasks involved in making your app respond to events by triggering functions.
    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.
    A command (onEvent in App Lab) that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
  • Question 11
    30 seconds
    Q. Which of the following is an incorrect element ID.
    answer choices
    MOVEBTN
    3MOVE
    moveBtn
    Move_btn
  • Question 12
    30 seconds
    Q. Which of the following is considered as a common error type in programming?
    answer choices
    Syntax
    Logic
    Execution
    A and B
  • Question 13
    30 seconds
    Q. What kind of element would a "button" be ?
    answer choices
    Command
    Control
    user Interface 
    Menu
  • Question 14
    30 seconds
    Q. Which of these is not a control
    answer choices
    Keyboard press
    Mouse click
    Mouse Move 
    'if' statement
  • Question 15
    30 seconds
    Q. All events for an application will come from a user.
    answer choices
    True 
    False
  • Question 16
    30 seconds
    Q. Would it be accurate to describe an Operating system as an Event Driven Application?
    answer choices
    Yes
    No
  • Question 17
    30 seconds
    Q. What is the difference between an event trigger and event handler?
    answer choices
    one creates events, the other listens for them
    one reports events when they occur, the other waits for them
    Event triggers and handlers are the same
    One reports when an event has occurred, the other listens for the event and runs related code
  • Question 18
    60 seconds
    Q. Which of these  are a benefit to developing an application as Event Driven ?
    answer choices
    Event Driven code is easier to write and is less complex
    Event driven languages are easier to develop in modular sections 
    Event Driven languages are cheaper than other languages to develop 
    All programmers can program in Event Driven languages easily
Report Quiz
Join a game