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

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

Tips for Entry Level Java Job Seeker
3 steps you should take to make a break as a Java developer: Step 1: Invest in improving your job hunting skills encompassing interviewing, networking, and resume writing skills. Step 2: Keep applying...
A

Akshay Shende

1 0
0

Adverb
An adverb is a word that modifies to a verb, an adjective or another adverb. Eg: He runs slowly. Here slowly is an adverb. The adverb give us more information. Types of adverb: There are five types...

The Noun
The Noun: I. Countable nouns: i. Proper noun: These are the specific names for person, place or things. Eg: Delhi, India, Ravi, Sita, etc. ii. Common noun: These noun show whole category of proper...

Careers In Part Time works better than Full Time Job
Hello Readers, Here I brings For You Top 10 Part Time Work which will gives you benefit in the terms of Fiancial and Social. The List is Below:- 1. Get Paid for Clicking Ads: When it comes to easiest...
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