Decap444 P
Decap444 P
Time: 2 hrs
Important Instructions
1. The question paper consists of five questions, each carrying 10 marks.
2. Candidates will be provided with two options (as per the allocation key) to choose from,
out of the five questions given.
3. Candidates are required to attempt only one question from the two options provided (as
per the allocation key).
4. Questions attempted outside the provided options (not in accordance with the allocation
key) will not be considered for evaluation.
5. The student is required to attempt the question paper in English medium only.
Q1. Write a program to implement abstract class and find the reverse of a number.Eg:-234—432
Q2. Apply the concept of function overloading in C++ and find the area of at least three shapes .
Q3. Apply the concept of constructor in C++ and find the average of the digits.Eg:-234
(2+3+4)/3=3
Q4. Apply the concept of constructor overloading in C++ and find the largest of the digits of a
number.Eg:-345. , 5 is largest
Q5. Write a program to find the mid digit of a number.Eg:- 297 — Here 7 is a middle number 2
is smallest and 9 is largest.