PPSC Lecturer Computer Science Quiz No 2 A.J. Bhatti August 30, 2020 Welcome to your PPSC Lecturer Computer Science Quiz No 2 User Name Email 1. Data Abstraction refers to , Providing only Essential Information to the ............. and Hiding there ............information Deselect Answer Background,outside the world Outside the World ,Background Inside the World , Backround Background, Insaide 2. Is it Possible to access Public Data members from outside the Class Add description here!Deselect Answer Yes No 3. Is it Possible to access Private Data Members of a class from outside Add description here!Deselect Answer Yes No 4. Abstraction can be accessed by .......... Deselect Answer Access Specifiers Private Specifiers Public Specifiers None of Above 5. Which of the one is not an Access Specifier?? Deselect Answer Public Private Protected Lifo and Fifo 6. object oriented principles which are related to each other are Deselect Answer Abstraction & Inheritance Abstraction & Polimorphism Abstraction & Encapsulation None of Above 7. The Process of Placing the Data and the Functions that work on the Data in the same place is known as Deselect Answer Abstraction Encapsulation Inheritance Polimorphism 8. One of the most Usable aspect of Object Oriented Programming is ............. Deselect Answer Code Re-usability Class Re-usability Object Re-usability None of the Above 9. The Process of Forming the New Class from Existing Class in Known as Deselect Answer Abstraction Encapsulation Information Hiding Inheritance 10. Is it possible to make a concrete class "Employee" form Abstract Class "Person".... Deselect Answer Yes No Vice Versa 11. Class Employee : Public Person {}(Which is the Parent Class ) Deselect Answer Class Employee Class Child Class Person Class 12. Class Employee : Public Person {}(Which Class is Inherited in this scenerio ) Deselect Answer Class Person Class Employee Class Parent Inheritance Class 13. The process of Inheritance in which only one class is derived from one base class Deselect Answer Inheritance Single Inheritance Multiple Inheritance Both b &c 14. Base Class is also Known as ....... Deselect Answer Parent class Child class concrete class Abstract class Both A & D 15. The Process of Inheritance in which more then one class is derived from a Parent or Base class i known as Deselect Answer Single Inheritance Multiple Inheritance Inheritance Both A and c 16. If Class B is Derived from Class A, and Class C is Derived From Class B then Which Properties of Class B, have Class C ?? Deselect Answer Private Properties Protected Properties Public Properties All of the above 17. If Class B is Derived from Class A, and Class C is Derived From Class B then Which Properties of Class B , Didn't inherited in Class C ?? Deselect Answer Public Private Protected None of the Above 18. The Process of Inheritance in which one class is derived from More then 1 Parent or Base class i known as Deselect Answer Single Inheritance Simple Inheritance Double Inheritance Multiple Inheritance 19. The Inheritance in which one class is super class and have sub classes is known as Deselect Answer Multiple Inheritance Single Inheritance Hierarchical Inheritance Both A and B 20. The Inheritance in Which Class A is the Base class , Class B is Derived from Class A, and another class C which is the Child Class of Class B is known as Deselect Answer Multi-Laval Inheritance Single Inheritance Multi Inheritance Hierarchical Inheritance 21. The Inheritance in which all types of inheritance are Present is know as Deselect Answer Multi Laval inheritance Multi inheritance Single inheritance Hybrid inheritance 22. Types of Inheritance Deselect Answer Public inheritance Private inheritance Protected inheritance Both A B & C 23. In Public Inheritance the Derived Class Contains Which features of Parent Class or Base Class Deselect Answer Public + Protected Public + Private Protected + Private Public + Private + Protected 24. The ability to use an operator of function in different ways in other words giving different meanings or functions to the operators or functions is known as Deselect Answer Abstraction Encapsulation Inheritance Polimorphism 25. Poly Which is the First word of Polymorphism Means....... Deselect Answer one more then one less then 2 none of above 26. A single Function or an operator functioning in many ways different upon the usage is known as Deselect Answer Poly Morphism Polymorphism Abstraction and Encapsulation 27. Principle of Polymorphism is achieved through the Method known as Deselect Answer Class Object Method Overloading 28. The process in which Derived Class can overload an Base class Function is Know as .... Deselect Answer Overriding Riding Absraction Underriding 29. Is it possible to overload a constructor...... Deselect Answer Yes No 30. How many types or Operators are: Deselect Answer 1 2 3 4 31. The Correct Syntax of Overloading an Operator is... Deselect Answer Student :: SetRno(){} Student :: Operator(){} Student :: Operator_(){} Student :: Operator+(){} 32. Which of the Following focuses on the Discovery of unknown Properties of Data Deselect Answer Data Mining Big Data Data Wrangling Machine learning 33. Largest Continent Deselect Answer Asia Africa America Austrailia 34. Largest Ocean Deselect Answer Pacific Ocean Indian Ocean Arabic Ocean None of the Above 35. Largest River Deselect Answer Amazon Indus Ravi Bias Author: A.J. Bhatti