Posts

Showing posts from August, 2022

Difference between event-driven and command line programming

Image
  Event Driven  programming   Event driven programming is a programming paradigm in which the flow of program execution is determined by events. Example A user action such as a mouse click , key press , or a message from the operating system or another program. Event-driven programs can be written in any programming language, although some languages (eg Visual Basic) are designed to facilitate event-driven programming, examples being Visual Basic, Visual C++, and Java. How event driven programming works. when you perform an action on a graphical component you generate an event. in event driven programming the program responds to events. the program responds to events that the user generates in interacting with GUI components. the order of events is controlled by the user. command line programming Command line programming is a programming paradigm that uses a linear top-down approach while executing instructions sequentially. This is one of the first programming paradigms a new develope