NEWS

This blog consists of all information about bsc csit along with notes, old questions, routines and solutions.

B.Sc.CSIT III Semester-077 Exam Form Filling Notice !!!CLICK HERE

Pageviews

Sunday, November 3, 2019

Model question solution of Object Oriented Programming Bsc csit second semester


Model question solution of
Object Oriented Programming

Model question solution of Object Oriented Programming bsc csit notes
Bsc csit notes


Model Question

Tribhuvan University

Institute of Science and Technology

Course Title: Object Oriented Programming Full Marks: 60

Course No: CSC161 Pass Marks: 24

Level: B. Sc CSIT First Year/ Second Semester Time: 3 Hrs

Section A

Long Answer Questions

Attempt any two questions. [2*10=20]

1. What is object oriented programming? Explain objects, class, encapsulation, data hiding, inheritance, and polymorphism.

2. Explain operator overloading. Write a program that overloads insertion and extraction operators.

3. What is inheritance? Explain the ambiguities associated with multiple inheritance with suitable example programs.

Section B

Short Answer Questions

Attempt any eight questions. [8*5=40]

4. Explain the purpose of a namespace with suitable example.

5. What is the principle reason for passing arguments by reference? Explain with suitable code.

6. Why constructor is needed? Explain different types of constructors with example.

7. Write a program that illustrates the conversions between objects of different classes having conversion function in source object.

8. Explain the difference between private and public inheritance with suitable diagram.

9. Why friend function is required? Discuss with example.

10. How late binding is different from early binding. Write a program that explains late binding using virtual function.

11. Why do we need exceptions? Explain “exceptions with arguments” with suitable program.

12. What are the advantages of using the stream classes for I/O? Write a program that writes object to a file.

0 comments:

Post a Comment

For any queries comment and ask in case of any doubts.