BSc CSIT (TU) Science Object-Oriented Programming (BSc CSIT, CSC161) Question Paper 2078
This is the official BSc CSIT (TU) (Science stream) Object-Oriented Programming (BSc CSIT, CSC161) question paper for 2078, as set in the regular annual examination. It carries 60 full marks and a time allowance of 180 minutes, across 12 questions. On Kekkei you can attempt this Object-Oriented Programming (BSc CSIT, CSC161) past paper online with a timer, get instant AI feedback and step-by-step solutions, and track the topics where you lose marks — completely free. Whether you are revising for your BSc CSIT (TU) Object-Oriented Programming (BSc CSIT, CSC161) exam or solving previous years' question papers, this 2078 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
What are templates in C++? Explain function templates and class templates with a program for each.
What is a copy constructor? When is it called? Explain the difference between a shallow copy and a deep copy with examples.
Explain file handling in C++. Write a program to write records to a file and read them back using ifstream and ofstream.
Section B: Short Answer Questions
Attempt any EIGHT questions.
Explain the four pillars of OOP.
What is a copy constructor? Write its syntax.
Differentiate between public and private inheritance.
What is the role of the catch block in exception handling?
Explain the get() and put() functions in file handling.
What is an object? How is memory allocated to an object?
Write a short note on virtual destructor.
What is a static member function?
Explain the cin and cout objects.