BSc CSIT (TU) Science Object-Oriented Programming (BSc CSIT, CSC161) Question Paper 2074
This is the official BSc CSIT (TU) (Science stream) Object-Oriented Programming (BSc CSIT, CSC161) question paper for 2074, 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 2074 paper is a great way to practise under real exam conditions.
Section A: Long Answer Questions
Attempt any TWO questions.
What is object-oriented programming? Explain the basic concepts of OOP: class, object, encapsulation, inheritance and polymorphism with suitable examples.
What is a constructor? Explain different types of constructors (default, parameterized and copy constructor) with a C++ program for each.
What is operator overloading? Write a C++ program to overload the binary '+' operator to add two complex numbers using a member function.
Section B: Short Answer Questions
Attempt any EIGHT questions.
Differentiate between procedural and object-oriented programming.
What is a destructor? When is it called?
Explain the use of the scope resolution operator (::) in C++.
What is inline function? Write its syntax with an example.
Differentiate between call by value and call by reference.
What is a namespace in C++?
Explain the new and delete operators.
What is data hiding? How is it achieved in C++?
Write a short note on the default arguments in a function.