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

Divisibility rule
Every no. Is divisible by 1. Every even no. Is divisible by 2. If the sum of digit of a no. Is divisible by 3 then the no. Is also divisible by 3. If the last two digit is divisible by 4 then that no....
M

Mohit S.

1 0
0

Short Answer Questions For Chapter-3 Computer Science Class-XI-CBSE
Short Answer Questions For Chapter-3 Computer Science Class-XI-CBSE What is Microprocessor and its use? Ans: A microprocessor is a semiconductor chip and used to processes all the information in...

Default Methods in Java 8
Java 8 was released in early 2014 (18th March 2014). Java 8 is a product version. It's development version is JDK1.8 ( Java Development Kit ). Java 8 has some new features that are most awaited in the...
A

Arundhati Pathak

1 0
0

Branches of mathematics
Mathematics can be broadly grouped into the following branches: Arithmetic : It is the oldest and the most elementary among other branches of mathematics. It deals with numbers and the basic operations-...
K

Vishakha Nakshtra, Rashi Vrichika, and basic characteristics
With due respects to KSK Sir, our Gurujan, for KP, With their blessings, following is continuation of the lessons on Astrology, the divine science. One of the Nakshtra, ruled by Guru, Jupiter Vishakha,...

Rajendra P Soni

0 0
0
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