B.Sc. (Information Technology) Sem II Object Oriented Programming Using C++ Mar 2026 Question Paper - Mumbai University | munotes
Get access to whole semester resourcesSemester Pass
MU B.Sc. (Information Technology) student group
Free to join
Loading PDF...
Older exam
Apr 2025
Semester-end · Object Oriented Programming using C++
→
Newer exam
None yet: this is the latest
New papers land after each exam season.
Questions asked in this paper
SECTION I - Q.1 (Attempt any TWO) 15 Marks
-
Q1 Design a class named 'Stock' that contains: a data field named symbol for the stock's symbol, a data field named name for the stock's name, a data field named 'previousClosingPrice' that stores the stock price for the previous day, a data field named 'currentPrice' that stores the stock price for the current time, a constructor that creates a stock with the specified symbol, name, previous closing price and the current price. The class has a method named 'getChangePercent()' that returns the percentage changed from 'previousClosingPrice' to 'currentPrice'. Write a test program.
-
Q2 Explain the three looping structures in C++ with examples.
-
Q3 Explain constructor and destructor with examples.
-
Q4 Explain 4 relational operators in C++ with examples.
SECTION II - Q.2 (Attempt any TWO) 15 Marks
-
Q5 Write a program in C++ to create a class Graphics. The class contains a method 'draw' without a body. Create classes Circle and Square which inherit 'Graphics'. Create objects of the two classes Circle and Square in main and call their 'draw' method which displays the message 'Draw of Circle' and 'Draw of Square' respectively. Use polymorphism to call the methods.
-
Q6 In 1843, Sir William Hamilton discovered an extension to complex numbers called quaternions. A quaternion is a 4-tuple a = (a0, a1, a2, a3) with the following operations: Sum: a + b = (a0 + b0, a1 + b1, a2 + b2, a3 + b3). Product: a * b = (a0*b0-a1*b1-a2*b2-a3*b3, a0*b1-a1*b0+a2*b3-a3*b2, a0*b2-a1*b3+a2*b0+a3*b1, a0*b3+a1*b2-a2*b1+a3*b0). Create a class 'Quaternion' for quaternions. Define appropriate constructor and overload the operators for sum and product. Create a test client that exercises all of your code.
-
Q7 Explain the various kinds of inheritance.
-
Q8 Explain virtual function in C++ with examples.
Read from the scan above, so a character or two may differ. The scan is the original.
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.
Related Resources
Something wrong with this paper? Report it.
Connected Papers
B.Sc. (Information Technology) / Sem II · 53 papers
2018 - ATKT Numerical Statistical Method
2018 - ATKT Object Oriented
2015 - Applied Maths II Add
2015 - DBMS Add
2015 - ATKT DBMS
2015 - DCN Add
2015 - MPMC Add
2015 - ATKT MPMC
2015 - Mpmc Add
2015 - ATKT WEBTECH 1
2015 - WEBTECH Add 1
2015 - ATKT Webtech
MICROPROCESSOR ARCHITECTURE
NSM
NUMERICAL AND STATISTICAL METHODS
OBJECT ORIENTED
OBJECT ORIENTED PROGRAMMING
WEB PROGRAMMING
Questions? Email contact@munotes.in
Done!