Computer Science, asked by Ronak4648, 1 year ago

Difference between event driven programming and procedural programming in vb

Answers

Answered by Prakashroy
2
Step 1 of 4

Difference between various paradigms

Programming paradigm is another method of classification of programming languages. Examples of paradigms include procedural paradigm (BASIC, COBOL, Ada), object-oriented paradigm (Java, C++), declarative paradigm (Prolog) and functional paradigm (LISP, Scheme), event-driven paradigm (VB, C#).

The primary differences between each type of programming paradigms are described below.

Event Driven Programming Paradigm

Procedural Programming Paradigm

Object Oriented Programming Paradigm

Declarative Programming Paradigm

Provides graphical user interface to create the programs.

Provides character user interface to write the commands.

Provides command writing in modules.

Provides taking user actions and words as inputs.

Actions are defined on events. These events could be occurred by mouse clicking and moving or keyboard strokes.

Commands are written in linear fashion and executed also in linear fashion.

Objects and functions are prepared for interaction to perform specific tasks.

Facts and rules are defined and analyzed to solve a problem.

Focuses on selecting user interface.

Focuses on sequential execution of steps.

Focuses on objects or data and facilitate to secure it from unauthorized access.

Focuses on using and analyzing facts and rules for describing the problem.

Most common languages which follow this paradigm are Visual Basic and C#.

Most common languages which follow this paradigm are Basic, Fortran and COBOL.

Most common languages which follow this paradigm are Smalltalk, C++ and JAVA.

please mark this the brainliest!!...
Answered by ankhidassarma9
0

Answer:

Event driven programming

  • The programming model that  Visual Basic is following , is event driven.
  • In Event driven programming , actions are defined as events that can be occurred on mouse-clicking or keyboard stoke.
  • The user's actions cause various events, and each control recognizes its own set of events and handles them through subroutines called event handlers.
  • This type of programming mainly focused on user interface.

Procedural programming

  • Procedure-driven programming or procedural programming is a traditional programming method which defines the programming process as the development of procedures .
  • These procedures explicitly direct the flow of execution control and data.
  • Commands are written and executed on a linear fashion.

Similar questions