NEB Class 12 Questions: NEB 12 Model Questions 2080/2024


NEB Class 12 Routine 2080-2081: Class 12 Routine

Object Oriented Programming CSIT 2nd Semester Model Question 2080

Object Oriented Programming (OOPs) CSIT 2nd Semester Model Question 2080 Solution. C++ (OOP) Exam Model Question Solution 2080 Latest Model Tu IOST.

Object Oriented Programming CSIT 2nd Semester Model Question 2080


Tribhuvan University

Institute of Science and Technology

2080


Bachelor Level / First Year / Second Semester Full Marks: 60


Computer Science and Information Technology (CSC166) Pass Marks: 24


(Object Oriented Programming) Model Question Time: 3 hours


Candidates are required to give answers in their own words and as far as practicable.


Section A


Attempt any two questions. (2 × 10 = 20)


1. What is object oriented programming? Explain objects, class, encapsulation, data hiding, inheritance, and polymorphism. [2+8]


2. Explain operator overloading. Write a program that overloads insertion and extraction operators. [2+8]


3. What is inheritance? Explain the ambiguities associated with multiple inheritance with suitable example programs. [2+8]



Section B


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. How late binding is different from early binding. Write a program that explains late binding using virtual function.


10. Why do we need exceptions? Explain "exceptions with arguments" with suitable program.


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


12. Write a program to demonstrate concept of this pointer.


Best of Luck !! For Your Exam

About the Author

Iswori Rimal is the author of iswori.com.np, a popular education platform in Nepal. Iswori helps students in their SEE, Class 11 and Class 12 studies with Complete Notes, important questions and other study materials.

Post a Comment

AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.