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

2080-new

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.

SECTION A

Attempt any TWO question.

1

What is destructor? List its characteristics. Explain the use of default copy constructor with an appropriate example.

2

Write a program to create a class named height with data members meter(int) and centimeter(int). Overload the binary + operator using friend function to add two heights.

3

- Hamro CSIT

Write a program to realize the above hierarchy. Create necessary member functions (constructor) to initialize and diaplay necessary information.

SECTION B

Attempt any EIGHT question.

4

Define object. What are the benefits of Object Oriented Programming Language?

5

Explain the significance of type conversion. How do we achieve dynamic memory allocation in C++? Explain with an example.

6

What is the benefit of passing object as arguments? Write a program to create a class named actor with data members name and rating. Initialize the data members and display those names whose rating is greater than 5 using the concept of constant object.

7

Create two classesRupee and Dollar respectively. Write conversion operator to convert between Rupee and Dollar assuming that 1 dollar equals 133 rupees. Write a main program that allows the user to enter an amount in either currncy and then converts it to other currency and displays the result.

8

Explain the practical implication of protected specifier in inheritance. list advantages and disadvantages of inheritance.

9

Difference between compile time and run time polymorphism.

10

Explain function template overloading with suitable example.

11

Write a program that stores information of employees in a file and displays the file’s content in ascending order of their salary.

12

Write short notes on :

  1. This pointer
  2. ios member function
Object-Oriented Programming Question Bank Solution 2080-new
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
20252764
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