EBK STARTING OUT WITH PROGRAMMING LOGIC
EBK STARTING OUT WITH PROGRAMMING LOGIC
4th Edition
ISBN: 8220100659386
Author: GADDIS
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 15, Problem 5SA

Explanation of Solution

Event:

When a GUI (Graphical User Interface) program that are created gets responded to the action performed by the user it is called as event.

Example:

Consider a program that calculates the sum of two numbers, the user can enter two numbers in the “GUI” designed.

  • The user can enter the number that needs to be added.
  • The sum will be calculated only when the user click on the calculate button.
  • The number that is entered can be modified whenever required until the calculate button is pressed.
  • The event is triggered by the user such that the sum of numbers gets calculated.

Event handler:

An event handler is a module is implemented in python program executes automatically when a particular event has occurred.

  • If user need a program to execute an operation at that time a particular event occurs, user must create an event handler that reply at that time of event takes place...

Blurred answer

Chapter 15 Solutions

EBK STARTING OUT WITH PROGRAMMING LOGIC

Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education