B.Sc. (Computer Science) Sem 2 Introduction to OOP Using C++ May 2022 Question Paper - Mumbai University | munotes
Loading PDF...
Questions asked in this paper
-
Q1 Attempt the following. 40 marks
- 1) A methodology which enables a system to be modelled as a set of objects which can be controlled and manipulated in a modular manner
- 2) Classes are also called as
- c. built in data type d. referential data type
- 3) Which is runtime polymorphism?
- 4) Which of the following we cannot implement in C++?
- 5) Function calling itself is called as
- a. iteration b. recursion
- c. looping d. extraction
- 6) Which loop always get executed at least once without checking condition?
- a. for b. while
- c. do while d. until
- 7) if getdata() is function of a class test and test *ptr is pointer object then how to call
- 8) For implementing unary operator overloading method how many parameters are
- 9) The process of making an operator to exhibit different behaviours in different instances is known as
- a. instantiation b. operation
- 10) Which keyword is used for method overriding?
- a. sealed b. override
- c. static d. virtual
- 11) Pure virtual methods are also called as
- 12) Which symbol is use to protected members
- 13) What is use following symbo!
- a. association
- 16) What will be output of follow:
- a. reusability b. extensibility
- c. can create hierarchy of class d. all of the above
- 18) When member is declared it is accessible within it's own class as well as class immediately derived from it
- a. public b. private function is used to move get file pointer to a specific location
- a. seek() b. seekg()
- 20) What we use to go to end of file on opening?
-
Q2 A) Attempt the following. (Solve any TWO) {10 Marks]
- i) What are different applications and benefits of OOP? li) Write a program to define function outside the class lili) Write short note on class diagram
- iv) What is type conversion? State its type and explain with example
-
Q3 A) Attempt the following. (Solve any TWO) 10 marks
- i) What is destructor? How to implement destructors in C++? Write short note on composition
- iv) How to create array of an object? Implement it with suitable example
-
Q4 A) Attempt the following. (Solve any TWO) 10 marks
- i) Explain advantages provided by inheritance and types of inheritance
- ii) What is generalization and specialization?
- iii) What is method overriding? Explain with suitable example
- iv) Describe about open and close method of file handling
-
Q5 A) Attempt the following. (Solve any ONE) [05
- i) Explain different data types in C++
- ii) What is constructor? Explain about types of constructors
- iii) Draw a class diagram for Library Management System
Read from the scan above, so a character or two may differ. The scan is the original.
What do you need?
Tap one.
The answers are on this page
You can read the first answer here. The box further down shows how to read all of them.
Read it here, any time
We keep checking and updating our papers and notes, and adding more. A saved copy would be an old version. Reading on munotes.in always gives you the latest one.
I paid, but I can't open it
Please type an email, or a 10-digit phone number.
Done
If we find your payment, we send a link to the email you paid with. Open it to read.
Check your email in 2 minutes. Also check Spam.
No email after 10 minutes?
Something else
Please write a little more, so we can help.
Your email app opens with this. You can add more there. We reply by email.
Something wrong on this page? Report it and we will check it against the scan.
Quick Help
Related Resources
Something wrong with this paper? Report it.