Distinguish between the following: Procedural Programming and Event Driven Programming
CS Professional · Information Technology and Systems Audit · PYQS · December 2019
Distinguish between the following: Procedural Programming and Event Driven Programming
Answer & Explanation:
Procedural Programming and Event Driven Programming Procedural Programming: A procedural program is a series of steps, each of which performs a calculation, retrieves input, or produces output. Concepts like assignments, loops, sequences and conditional statements are the building blocks of procedural programming. Major procedural programming languages are COBOL, FORTRAN, C, BASIC, PASCAL etc. Event Driven Programming: An event driven program is a continuous loop that responds to events that are generated in an unpredictable order. These events originate from user actions on the screen (mouse clicks or keystrokes, for example), or else from other sources (like readings from sensors on a robot). Major event-driven programming languages include Visual basic and Java.
Topics: Programming Paradigms