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

Master Your Mind and Control Your Speed
Hi All.... Check out the Point for Better Learning session in life. ITS MY THEORY OF LIFE. Research Discovering Evaluate Compare your Skill sets Set a goal and Plan your Actions...... I am...

Everything about printf in C language
What is printf and from where it comes from in C code.? You must have used printf so many times in your Car programs but do you really know everything about printf? Let's see. What is the full form...

Fractional Knapsack
Algorithm - Fractional Knapsack import java.util.Scanner; public class Knapsack01 { public static void main(String args) { Scanner scan = new Scanner(System.in); int...

Bonus Issue
Bonus means Issue of Shares by a Company without any consideration. Bonus Issue: It is an additional dividend given to the shareholders that can be in cash or in the form of stock. When companies have...
F

Lets Talk About Software Design-patterns
What are Design Patterns? Design Pattern is a used and tested solution for a known problem. In simple words, you can say a general reusable solution to a commonly occurring problem within a given context...
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