munotes®

BSc IT Sem II 2021 2022 May 2022 OBJECT ORIENTED PROGRAMMING Question Paper - Mumbai University | munotes

F.Y.IT SEM II OBJECT ORIENTED PROGRAMMING (PD 11 MAY.22).pdf
SEM II · 2021-2022 · 1 May 2025

Loading PDF...

Questions asked in this paper

  1. Q1 Answer the following A methodology which enables a system to be modeled as set of objects which can be controlled and manipulated in a modular manner 40 marks
  2. Q2 Which feature of object oriented language provides reusability?
    • A. Encapsulation B. Polymorphism
    • C. Inheritance - D. Abstraction
  3. Q3 Creating a dummy system find errors of that and then create actual system is called as
    • A. software B. hardware
    • C. application D. simulation
  4. Q4 Which feature is not Supported by procedural oriented programming?
  5. Q5 uses insertion operator for standard output stream
  6. Q6 Which is not a token ofa language?
    • A. operators B.constants
    • C. keywords D.errors
  7. Q7 Which is derived data'type in c++?
    • A.structure B.union
    • C.enumerator D.array
    • A. recursion B. iteration
    • C. D. extraction
  8. Q9 Which keyword is used for method overriding?
    • A. override B. sealed
    • C. static D. virtual
  9. Q10 Which is not true for abstract functions? A class must be abstract B. only abstract method declaration is allow in base class
    • C. Abstract class can have its Abstract class can be inherited
  10. Q11 How many types of polymorphisms are there in C++?
  11. Q12 Pure virtual methods are alsocalledas
  12. Q13 is not a type of inheritance
    • A. multilevel B.multiple
    • C. hierarchical D.network
  13. Q14 Which is the correct statement for hierarchical type
    • A. Two base classes can be used to be derived into one single class
    • B. Two more classes can be derived into single class One base class can be derived into other derived classes or more
    • D. One base class can be derived into only two classes
  14. Q15 Which type of inheritance leads to diamond
    • A. multilevel B. multiple
  15. Q16 What does inheritance allows you to do?
    • A. Create a class B. Create a hierarchy of class
  16. Q17 What is a template?
    • A. A template is a formula to create generic A template is used to manipulate the class
    • C. A template is used to create attribute D. A template is used to variables
  17. Q18 How many types of templates are there in C++?
    • B.temp<> header file is required to perform file i/o operations
  18. Q2 Answer the following:
    • A. Attempt any one of the following 4
    • i. What do you mean by static binding and dynamic binding?
    • ii. | How OOP is more effective than procedural language? Explain
    • B. Attempt any one of the following 3
    • i. Explain the concept of Object Oriented Programming
    • ii. Explain concept of polymorphism
  19. Q3 Answer the following:
    • A. Attempt any one of the following 4
    • i. What do you mean by class? What are different ways to define member functions of class? li. Write a C++ program to define class student with roll no., name, and marks as its attribute. Use method show marks() , get marks() in program
    • B. Attempt any one of the following 3
    • i. What is constructor? Explain any two characteristics of constructor
    • ii. Write a note on inline function
  20. Q4 Answer the following:
    • A. Attempt any one of the following 4
    • i. Explain the concept of operator overloading. List the operators which can be overload
    • ii. Explain the concept of function overloading with example
    • B. Attempt any one of the following Write a note on type conversion the concept of abstract 3
  21. Q5 Answer the following
    • A. Attempt any one of the following Explain multilevel inheritance with proper example Write a note on visibility modes in inheritance 4
  22. Q3 Attempt any one of the following 3 marks
  23. Q1 Explain hybrid inheritance with suitable example
    • ii. What is derived class? Explain with example
  24. Q9 Which keyword is used for method overriding?
    • A. override B. sealed
    • C. static D. virtual
  25. Q10 Which is not true for abstract functions? A class must be abstract B. only abstract method declaration is allow in base class
    • C. Abstract class can have its objects D. Abstract class can be inherited How many types of polymorphisms are there in C++?
  26. Q12 Pure virtual methods are also called as not a type of inheritance
    • A. multilevel B.multiple
    • C. hierarchical D.network
  27. Q14 Which is the correct statement for hierarchical type
    • A. Two base classes can be used to be derived into one single class
    • B. Two more classes can be derived into single class One base class can be derived into other two derived classes or more
    • D. One base class can be derived into only two classes
  28. Q15 Which type of inheritance leads to diamond
    • B. multiple
    • C. Single D. Hierarchical
  29. Q16 What does inheritance allows you to do?
    • A. Create a class B. Create a hierarchy of class
  30. Q17 What is a template?
    • A. A template is a formula to create generic A template is used to manipulate the class
    • C. A template is used to create attribute D. A template is used to variables
  31. Q18 How many types of templates are there in C++?
  32. Q6 Answer the following
    • A. Attempt any one of the following 4
    • i. Explain various methods to detect the end of file
    • ii. Write a note on class template
    • B. Attempt any one of the following 3
    • i. Explain the concept of function templates
    • ii. Explain the working of files in C++

Read from the scan above, so a character or two may differ. The scan is the original.

Report an error

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Done!
Done!