0% found this document useful (0 votes)
41 views1 page

18CSC202J Set2

The document contains exam questions from Part B and Part C. Part B asks students to answer 4 out of the 5 questions provided, with each question explaining a different object-oriented programming concept: multilevel inheritance, operator overloading, copy constructors, and the difference between function overloading and overriding. Part C contains 2 longer questions worth 12 marks each, asking students to either demonstrate multiple inheritance or virtual functions in a program, or implement binary operators in a class and draw a state machine chart for a railway reservation system.

Uploaded by

skarthikpriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

18CSC202J Set2

The document contains exam questions from Part B and Part C. Part B asks students to answer 4 out of the 5 questions provided, with each question explaining a different object-oriented programming concept: multilevel inheritance, operator overloading, copy constructors, and the difference between function overloading and overriding. Part C contains 2 longer questions worth 12 marks each, asking students to either demonstrate multiple inheritance or virtual functions in a program, or implement binary operators in a class and draw a state machine chart for a railway reservation system.

Uploaded by

skarthikpriya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Part B (4*4=16) (Answer any four)

11. Explain the concept of Multilevel Inheritance with example

12. What do you mean by operator overloading and explain its significance?

13. Write a program that demonstrates the use of a copy constructor

14. Differentiate Function overloading and overriding

15. Draw a sequence diagram for a Student Attendance system.

Part C (2*12=24)

16. a. Write a program to demonstrate the use of multiple inheritance

(or)

b. Write a program to demonstrate the use of virtual function

17. a. Write a program to demonstrate the binary operator using a member function

(or)

b. Draw a state machine chart for Railway Reservation system

You might also like