- Type
- Quiz
- Course
- CS304 Object Oriented Programming
- Size
- PDF 1.7 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 39. Download the file for all 39 pages.
Object oriented programming
What is Abstraction?
FAQs cs304
Answer: The importance of abstraction is derived from its ability to hide irrelevant details and from the use of names to reference objects. Abstraction is essential in the construction of programs. It places the emphasis on what an object is or does rather than how it is represented or how it works. Thus, it is the primary means of managing complexity in large programs.
Question: What is a Class Diagram?
Answer: A class diagrams are widely used to describe the types of objects in a system and their relationships. Class diagrams model class structure and contents using design elements such as classes, packages and objects.
Question: What is Method Overriding?
Answer: Method overriding is a language feature that allows a subclass to override a specific implementation of a method that is already provided by one of its super-classes. A subclass can give its own definition of methods but need to have the same signature as the method in its super-class. This means that when overriding a method, the subclass's method has to have the same name and parameter list as the superclass's overridden method.
Question: What is Operator Overloading?
Answer: The operator overloading is a specific case of polymorphisms in which some or all of operators like +, - or == are treated as polymorphic (multi) functions and as such have different behaviors depending on the types of its arguments.
Question: What is Method Overloading?
Answer: The method overloading is the ability to define several methods (in same class) all with the same name but different on the basis of i) number of parameters ii) types of parameters.
Question: What are Polymorphisms?
Answer: Polymorphism is a generic term that means 'many shapes'. More precisely Polymorphism means the ability to request that the same operations be performed by a wide range of different types of things.
Question: What is Inheritance?
Answer: Ability of a new class to be created, from an existing class by extending it, is called inheritance.
Question: What is a base class?
Answer: When inheritance is used to create a new class from another, the new class is called the subclass or derived class, and the class from which it was derived is called the base class.
Question: What is a concrete class?
Answer: A concrete class is one that can be used to directly create, or instantiate objects, unlike an abstract base class which can only be used as a base class for other classes which eventually lead to concrete classes
Related CS304 files
All CS304 files →- CS304 Highlighted Handouts by MAS All Rounder Highlighted PDF 3.6 MB
- CS304 Final Term Solved Papers 2 by Waqar Siddhu Final term PDF 2.6 MB
- CS304 Quiz File 2023 by Danish Hanif Quiz PDF 5.6 MB
- CS304 Quiz 2 by Junaid Quiz PDF 1.2 MB
- CS304 Solved Quiz 4 Spring 2023 by Muhammad Zaman Quiz PDF 1.1 MB
- CS304 Quiz 1 by Sir Afzal Quiz PDF 303 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.