navbar brand

Question

30 Nov 2023, Thu
  • Applications
    Dictionary
    Quiz
    Converter
    Calculator
  • User Profile
    • image profile

      Hello Guest 👋 !

      Login Register
UI
Namaste, Guest Become a member?
  • Login
  • Register
  • Ask Question
  • Questions

    • Ask Question
    • All Subjects
    • Accountancy
    • Astronomy
    • Biology
    • Business Studies
    • Chemistry
    • Computer
    • Digital Marketing
    • Economics
    • Engineering Aptitude
    • English
    • Entertainment
    • Environment
    • Geography
    • Geology
    • Health
    • History
    • Language
    • Math
    • Nepali
    • Optional Math
    • Physics
    • Population
    • Social Studies
    • Super Natural
    • The Heritage of Words
  • Quick Access

    • Home
    • Questions
    • Profile
  • Exam Capsule

    • All Entrances
    • IOE Entrance
    • SEE Model Set
  • MCQ

    • GK Practice
    • Categories
    • Exam
    • Submit Quiz
  • Articles

    • Essay Contest
    • Latest
    • Health
    • Education
    • Sports
    • Abroad
    • Politics
    • Environment
    • Technology
  • Institutes

    • All Institutes
    • Schools
    • High Schools
    • Colleges
    • Tuition Centers
    • Library
  • Notices

    • Admission Open
    • Result
    • Loksewa
  • Top Topics

    • Electricity
    • Computer Fundamentals
    • Pressure
    • Heat
    • Waves
Toolbox
  • Dictionary
    Dictionary
  • Calculator
    Calculator
Pathshala Nepal
one year ago Grade -12 (NEB) > Management Computer Object-Oriented Programming (OOP)

What is Object Oriented Programming? Differentiate it with procedure oriented programming?

What Is Object-Oriented Programming (OOP)? What are the differences between Object-Oriented Programming (OOP) and procedure-oriented programming?

Share My Answer
  • encapsulation
  • inheritance
  • modularity
  • OOP
  • polymorphism
  • POP
1

1 Answer

Pathshala Nepal
one year ago Answer Link Tribhuvan University > Institute of Science and Technology > B.Sc. (CSIT)

Object-Oriented Programming

Object-oriented programming is programming that uses "object" to design applications and computer programs. It is a collection of cooperative objects, and each object is capable of receiving messages, processing data, and sending messages to other objects.

The fundamental idea behind OOP is to combine data and functions into a single unit i.e. object which communicate with each other by calling one another's member functions. The Function of an Object is called the member function and the data are only accessible through the member function. If we want to read a data item in an object, we call a member function in the object. We cannot access the data directly. The data is hidden, so it is safe from accidental alteration. Data and its functions are said to be encapsulated into a single entity. data encapsulation and data hidden is the key term of OOP.

Object-Oriented Programming utilizes several techniques/models including modularity, polymorphism, inheritance, and encapsulation. Due to the use of these features, it is commonly used in mainstream, software development programming languages such as C++, Java, JavaScript, PHP, C#, VB.Net, and Objective - C.

The Differences between Object-Oriented Programming (OOP) and Procedure Oriented Programming (POP) are as follows:

  1. In OOP, emphasis is given to data than procedure whereas, in POP, emphasis is given to procedure.

  2. OOP uses a bottom-up development process whereas POP uses a top-down development process.

  3. Class and Object is the mainstream of OOP whereas function (library or user-defined) is the mainstream of POP.

  4. OOP includes features such as data abstraction, encapsulation, modularity, polymorphism, and inheritances whereas POP doesn't include these features.

  5. In OOP, program development will be easier due to features like inheritances, polymorphism, and data encapsulation whereas in POP, program development will be completely top difficult.

  6. In OOP, it is easy to add new data and functions whereas, in POP, it is extremely difficult and time-consuming to add new data and features.

  7. In OOP, higher security can be maintained by hiding data whereas there is not any mechanism to hide data.

  8. In OOP, it is easy to reuse program codes whereas, in POP, there is no proper mechanism to reuse program codes.

  9. OOP is a comparatively newer concept program paradigm whereas POP is a primitive program development paradigm.

  10. In OOP, global variables can be restricted to be used by all functions and examples of OOP languages are C++, Java, PHP, VB.Net, and C# whereas, in POP, global variables are accessible to all functions so the chances of data corruption exist. Examples of POP are C, FORTRAN, COBOL.
1

Comments

Topics from Computer

System Development Concept 2 Artificial Intelligence 4 File Handling QBASIC 44 Introduction to Digital Marketing 0 Modular programming 50 Number System 1 Object-Oriented Programming (OOP) 8 Office Personnel 1 DBMS 4 QBASIC programming 72 Computer Fundamentals 141

Related Questions

  • Who is a system analyst? What are the characteristics of system analysts? 1

  • What are the different stages of the system development life cycle (SDLC) 1

  • What are cyber law and Artificial Intelligence? Explain. 1

  • What are the applications of AI? Explain. 1

  • What do you understand about AI? What are the negative and positive aspects of AI in society? 1

  • How does an AI application work? Can a computer really think with the aid of AI? 1

  • Explain class and Object in Object-Oriented Programming. 1

  • What is the importance of OOP? 1

  • What is procedural programming? Explain. 1

  • What are the advantages and disadvantages of OOP? 1

Popular Tags: 7 Days

  • development
  • political change
  • mediterranean climate region
  • winter rainfall
  • compound interest
  • Advantages of saving
  • egg sinks in pure water but floats in the salt solution
  • Cooperative
  • principles
  • functions of Legislature
  • secular
  • secular country
  • secularism
  • secularism in nepal

Upcoming MCQs

MCQ Online Exam

Computer Fundamental Multiple Choice Questions Exam Free

  • 2022-03-20 12:45
  • 60 Mins
  • 12 Enrolled
  • 25 Full Marks
  • 10 Pass Makrs
  • 25 Questions
performance report
Quick Links
  • About Us
  • Terms of Use
  • Privacy Policy
  • Cookie Policy
  • Advertise With Us
  • FAQs
Our Products
  • Educational Institutes
  • Question & Answers Community
  • Online Course/Notes
  • Educational Utilities
  • Social Networking
  • Educational Store
Contact Us
Address:
Pryag Pokhari, Lagankhel, Lalitpur Nepal
Email:
[email protected]
Phones:
9745619281 or +977-9840704915

PathshalaNepal.com is a Registered Company of E. Pathshala Pvt Ltd Nepal. Registration number : 289280

© 2020. All right Reversed.E. Pathshala Pvt Ltd


Search