UrbanPro
true

Take BCA Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Procedure Oriented Language Vs. Object Oriented Language

Goutam Chand Prajapat
25/05/2017 0 0

Q 1. Explain the terms:

  1. Procedure Oriented Programming
  2. Object Oriented Programming

Ans. Procedure Oriented Programming: In Procedure Oriented Programming:

  1. Programs are divided into procedures/ functions.
  2. It is procedure centric.
  3. Supports modular programming.
  4. POP employs top-down style of programming.
  5. When program size increase then difficult to manage the program’s complexity.
  6. Data can flow freely among the different functions.
  7. Refer figure 1.1 in your book.

More about POP:

Procedural programming is a programming paradigm, derived fromstructured programming, based upon the concept of the procedure call. Procedures, also known as routines, subroutines, or functions (not to be confused with mathematical functions, but similar to those used in functional programming), simply contain a series of computational steps to be carried out. Any given procedure might be called at any point during a program's execution, including by other procedures or itself. Procedural programming languages include C, Go, Fortran, Pascal, and BASIC.

Computer processors provide hardware support for procedural programming through a stack register and instructions for calling procedures and returning from them. Hardware support for other types of programming is possible, but no attempt was commercially successful (for example Lisp machines or Java processors).

Object Oriented Programming: In Object Oriented Programming:

  1. Programs are divided into number of classes and objects.
  2. It is data centric.
  3. Supports Encapsulation, Polymorphism, Abstraction, Inheritance, Class, Objects and Message passing.
  4. OOP employs bottom-up style of programming.
  5. Easily maintain the complexity of program size.
  6. Data is more secure and closely tied with functions so it can’t move freely among the functions.
  7. Refer figure 1.2 in your book.

More about OOP: -

  1. It implements real life scenario.
  2. In OOP, programmer not only defines data types but also deals with operations applied for data structures.
  3. Much suitable for large projects.
  4. OOP provides a clear modular structure for programs.
  5. Implementation details are hidden from other modules and other modules has a clearly defined interface.
  6. It is easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
  7. More reliable software development is possible.

Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known asmethods. A feature of objects is that an object's procedures can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self"). In OOP, computer programs are designed by making them out of objects that interact with one another. There is significant diversity of OOP languages, but the most popular ones areclass-based, meaning that objects are instances of classes, which typically also determine their type.

Significant object-oriented languages include Java, C++, C#, Python, PHP, Ruby, Perl, Delphi, Objective-C, Swift, Common Lisp, and Smalltalk.

0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

C++ Overview
Introduction: C++ is the first object oriented programming language used universally as an advanced version of C language. Many features such as Inheritance, Class & Object, Polymorphism(Function...
N

Namrata Y.

0 0
0

A Tutorial On Dynamic Programming
What is Dynamic Programming? Dynamic Programming, DP in short, is an intelligent way of solving a special type of complex problems which otherwise would hardly be solved in realistic time frame. What...

Listen to the FAIRYTALE
Haven't you always remembered the fairytales heard with a peaceful mind when you were a kid? Try to apply the trick now. Read out the content you are willing to learn in a playback device. Try to put the...
A

Aarti Mishra

1 0
0

Adjective
An adjective is a word which is used to qualify a noun or a pronoun. Eg. Big building, tall man, fat boy, etc. Kinds of adjective: 1. Adjective of quality: Eg: Good, wise, tall, beautiful, intelligent,...

4 Things Every Tech Startup Needs to Know About The Coaching Industry
Knowledge on any subject is widely available to those who wish to learn. However, just gathering knowledge from other people doesn’t guarantee results in business. Results come from applying what...
X

Looking for BCA Tuition Classes?

The best tutors for BCA Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BCA Tuition with the Best Tutors

The best Tutors for BCA Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more