HamroCSIT Logo
HAMRO CSIT
  • Course New
  • Entrance
    • Entrance Preparation
    • MCQ Questions
    • Colleges
    • Entrance Class
    • Entrance Books
    • Free Entrance Video Course
  • Semester
    • First Semester
    • Second Semester
    • Third Semester
    • Fourth Semester
    • Fifth Semester
    • Sixth Semester
    • Seventh Semester
    • Eight Semester
  • Questions
  • Subscription Automated
  • Notices
  • Articles
  • More
    • Ask Question
    • College Ambassadors
    • Financial Support Program
    • Contribute
    • Contact Us
Login Register
Hamro CSIT User Account
  • Sign In
  • Create Account


Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT Shape | Hamro CSIT
Subject

Object-Oriented Programming

The course covers the basic concepts of object oriented programming using C++ programming language.

Subject Image | Hamro CSIT
  • Chapters
  • Syllabus
  • Question Banks
  • Questions
  • Text Book
  • Practical
  • Viva

Exam Year

  • OOP Question Bank 2081
  • OOPS Question Bank 2080(new)
  • OOPS Question Bank 2080
  • OOPS Question Bank 2079
  • OOPS Question Bank 2075
  • OOPS Question Bank 2076
  • OOPS Question Bank 2078

Tribhuvan University

Institute of Science and Technology

2075

Bachelor Level / second-semester / Science

Computer Science and Information Technology( CSC166 )

Object-Oriented Programming

Full Marks: 60 + 20 + 20

Pass Marks: 24 + 8 + 8

Time: 3 Hours

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

The figures in the margin indicate full marks.

Group A

Attempts any TWO questions

1

Explain the concept of user-defined to user-defined data conversion routine located in the destination class.

2

Depict the difference between private and public derivation. Explain derived class constructor with suitable program.

3

Briefly explain the hierarchy of stream classes. Write a program that overloads extraction and insertion operators.

Group B

Attempts any EIGHT questions

4

Write a member function called reverseit() that reverses a string ( an array of character). Use a for loop that swaps the first and last characters, then the second and next-to last characters and so on. The string should be passed to reverseit() as an argument.

5

What is the principle reason for using default arguments in the function? Explain how missing arguments and default arguments are handled by the function simultaneously?

6

“An overloaded function appears to perform different activities depending the kind of data send to it” Justify the statement with appropriate example.

7

Explain the default action of the copy constructor. Write a suitable program that demonstrates the technique of overloading the copy constructor.

8

Briefly explain types of inheritance used in object oriented Programming.

9

Create a real scenario where static data members are useful. Explain with suitable example.

10

Create a function called swaps() that interchanges the values of the two arguments sent to it (pass these arguments by reference).  Make the function into a template, so it can be used with all numerical data types (char, int, float, and so on). Write a main() program to exercise the function with several types.

11

Explain how exceptions are used for handling C++ error in a systematic and OOP-oriented way with the design that includes multiple exceptions.

12

How is character I/O different from Binary I/O? Explain with examples.

Object-Oriented Programming Question Bank Solution 2075
Solution Video
Solution
Share

Share this link via

Or copy link

logoHAMROCSIT

Hamro CSIT is a comprehensive web and mobile platform that provides B.Sc. CSIT students with resources like notes, syllabi, question banks, solved past papers, practical files, and free entrance preparation materials — all in one place.

  • [email protected]
Semester
  • First Semester
  • Second Semester
  • Third Semester
  • Fourth Semester
  • Fifth Semester
  • Sixth Semester
  • Seventh Semester
  • Eighth Semester
Links
  • About Us
  • FAQs
  • Sitemap
  • Privacy Policy
  • Terms and Conditions
  • College Ambassadors
  • Financial Support Program
Hits Counter
20252770
Google Play App Store
Follow Us

Copyright 2026 | HAMROCSIT | All Right Reserved

Official Payment Partner Esewa Logo
HAMROCSIT.COM

Copyright 2024 | HAMROCSIT.COM | All Right Reserved - Nymna Technology