1 Object Oriented Programming Fundamentals

Object Oriented Programming · Unit 1

Object-Oriented Programming Fundamentals

Exam-focused notes for Object-Oriented Programming Fundamentals (Object Oriented Programming, BIT153): what the TU syllabus asks and how it has actually been tested, with 6 solved past questions from this unit.

What this unit covers

  • OOP definition and concepts
  • Differences between OOP and procedural programming
  • Features of object-oriented programming
  • Bottom-up approach in OOP
  • Classes and objects
  • Structures versus classes

Structures versus classes

208110 marks

How does structure differ with class?What are the uses of friend function and friend class?Explain the types of constructors.[1+3+6]

--- In C++, struct and class are almost identical, with one key difference: Feature Structure (struct) Class (class) --------- Default access specifier Public Private Default inheritance Public Private General use Simple data grouping Full OOP with data hid...

Full solved answer →
20795 marks

Can we use object oriented concept using structure instead of classes? Justify your opinion. [5]

Yes, , to a significant extent, we can use object-oriented concepts using structures (struct) instead of classes. However, there are important limitations. Below is a justified explanation. --- In C++, a struct and a class are almost identical. The only def...

Full solved answer →

Features of object-oriented programming

20815 marks

Describe the features of object oriented programming. [5]

Note: No specific reference notes were found for this topic. The following answer is based on standard, well-established OOP concepts as taught in BSc CSIT curriculum. --- Object Oriented Programming (OOP) is a programming paradigm that organizes software d...

Full solved answer →
20795 marks

Explain the features of OOP. [5]

Object-Oriented Programming (OOP) is a programming paradigm that organizes software design around objects rather than functions and logic. The key features of OOP are: --- - The process of wrapping data (attributes) and methods (functions) together into a s...

Full solved answer →

OOP definition and concepts

207810 marks

What is object-oriented programming? How does it differ from procedure-oriented programming? Explain features of object oriented programming.[10]

--- Object-Oriented Programming (OOP) is a programming paradigm that organizes software design around objects rather than functions and logic. An object is a self-contained unit that bundles together data (attributes) and behavior (methods/functions) that o...

Full solved answer →

Bottom-up approach in OOP

2080.110 marks

Why object oriented programming is known as bottom up approach?Explain different features of object oriented programming.[3+7]

--- Object Oriented Programming (OOP) is known as a bottom-up approach because the program design starts from the lower level (individual objects/classes) and builds upward toward the complete system. The reasoning is as follows: - In OOP, the programmer fi...

Full solved answer →