answersLogoWhite

0


Best Answer

hi, the answer for the above mention question goes like this............

The event driven programming in oops language is very conceptual programig concept, in the event driven program, the user can interact with the user interface by making use of mouse or any other means of controls

'

But in procedural programming , you cannot interact with the user interface through any of the control, u can only and solely interact with the user interface through codes............

so its is rather difficult for the user to interact the user interface through codes

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Object oriented programming focuses on performing actions and manipulation of data that is encapsulated in objects within a sequential series of steps while event driven is more dynamic and relies on event triggering and event handling to determine the sequencing of the program. Event driven programs can have threads that perform actions based upon triggers/event in your program.

With multi-threading it is possible to have numerous threads interacting with your code simultaneously. While multi-threading can take full advantage of the multiple cores in your cpu which can be faster, you have issues such as thread locking due to synchronization issues where multiple threads are trying to access the same object. Event driven programming will still have objects but it will also have threads that are only initialized once an event has been triggered. Example: fire sprinkler system, let's say there is a sensor for detecting a fire and sprinkler system used to extinguish the fire. if we used only object oriented, we would create an endless loop that constantly checks the status of the sensor if it detects a fire we turn on the sprinkler, the program would work but it wouldn't be much use for any other task. In an event driven program, we could set an event that triggers a thread when the fire sensor activates and we can create an event handler that would process the thread in order to tell the sprinkler system to turn on. In this fashion, our event program could also have other functionality as it is not stuck in an endless loop.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between object oriented and event driven language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why vb is called event driven programing language?

Visual Basic is not an "Object Oriented Language" its an "Object based Language" because, in VB we cannot implement Object Oriented Concepts like: Inhertiancy, Polymorphism, Encapsulation and Abstraction. But it is an Event drive programming, easy to develop applications. VB is used to Devlop Graphical User Interface Applications (GUIs). VB is Object Bsed Event Driven Programming Languge as we use Objects to create our Applications such as Text Box, Command Button on Form and it is also called Event Driven Language because anything we do on VB application such as Click MOuse on command Button to execute any command, or enter the text in text box etc. every thing is an event that's why we call it Object Based, Event-Driven Programming.


What is object oriented programming and visual basic.net?

Yes, Visual basic uses Objects. I.E. buttons, options buttons, forms, text boxes, these are all objects in VB. VB also allows the creation and use of COM classes. Visual basic is partially OOP as it does not support implementation inheritance, which is usually a feature of an object-oriented language.


How c is a general purpose programming language?

C can be used to write a wide variety of programs including video games, data-driven applications, graphics and drawing software, amongst many others. It is not a problem-oriented programming language, such as those written specifically to deal with artificial intelligence, but you could use it to write one, just as C was used to write C++, its successor and yet another general purpose language.


What type of language is visual basic?

basic is a general purpose, high level programming language. and the same is with the visual basic. but the main difference is that, the earlier basic was the dos version language. whereas the visual basic programming language is the language which is not DOS based. but the simplicity in the language remains the same as in basic.


What is the difference between Traditional Media and New user driven media?

Traditional media is a media in which electronics equipment has not to be used by audience, in electronics media they require such instruments like radio, tv, computer etc to get the information.

Related questions

What is the difference between a market-oriented sales oriented and a production oriented organisation?

Marketing Oriented: Company focus primarily on customers needs and wants based on reliable data. Sales Driven Companies: The main objective is sales and customer's needs are competely ignored


Vbnet is which type of language Service Oriented Architecture Programming Language Object Oriented Programming Language Procedural Oriental Programming Language?

Visual Basic .NET (VB .NET) is an OOP, an Object-Oriented Programming Language. It's paradigm is both OOP and Event-Driven, but that's beside the point.


What is the difference between a marketing and sales-oriented company?

Marketing Oriented: Company focus primarily on customers needs and wants based on reliable data. Sales Driven Companies: The main objective is sales and customer's needs are competely ignored


What is the main difference between turbocharger and supercharger?

A "Turbocharger" is driven by exhaust gas. A "Supercharger" is driven mechanically by the engine.


Difference between turbocharger and supercharger?

A turbocharger is driven by the exhaust from the engine. A supercharger is belt driven off the engine.


What is the difference between a driver gear and a driven gear?

The driver gear has the input torque, and the driven gear has the output torque.


What is the difference between command driven software and menu driven softwares?

People use menus and computers use commands.


What is the difference between under driven and over driven superchargers r?

Over driven blowers are geared to spin higher rpm then the motors actual rpm. Vise versa for Under driven.


What is the difference between a super and turbo charger?

supercharger is belt/gear driven of the motor, the turbocharger is driven by exhaust gases from the exhaust.


What is the difference between a driving and driven dimension?

Driving Dimension: the geometry is controlled by the dimension. Driven Dimension: the dimension is controlled by the geometry.


Why vb is an event driven programming language?

because it is driven by events. as it is a language used in programming, then it only makes sense to say VB is an event driven programming language.


What is the difference between Screw driven and hydraulic driven tensile testers?

A screw drive is a screw mechanism that moves and hydraulics is a fluid pressure system