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

2078

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

Attempt any Two questions:(2x10=20)

1

Write a program according to the specification given below:

  • – Create a class Account with data members acc no, balance, and min_balance(static)
  • -Include methods for reading and displaying values of objects
  • – Define static member function to display min_balance
  • -Create array of objects to store data of 5 accounts and read and display values of each object
2

What is meant by type conversion? Define two way of converting one user defined data type (object) to another user defined object? Write a program that converts object of another distance class with data members feet and inch.(Assume 1m = 3.3 feet and 1cm = 0.4 inch)

3

How ambiguity arises in multipath inheritance? How can you remove this type of ambiguity? Explain with suitable example.

Group B

Attempt any Eight questions:(8x5=40)

4

What is structured programming? Discuss characteristics and problems associated with structured programming.

5

What is the use of get and getline functions? Explain with suitable example.

6

What is meant by pass by reference? How can we pass arguments by reference by using reference variable? Illustrate with example.

7

What is constructor? Explain the concept of default and default copy with suitable example.

8

What is the concept of friend function? How it violates the data hiding principle? Justify with example.

9

What is exception? Why exception handling is better to use? Explain exception handling with try….. catch by using suitable example.

10

When class templates are useful? How can you define a class that can implement stack with integer as well as sack of strings? Illustrate with example.

11

What is meant by stream? Write a program that reads content of file data.txt and displays the content in monitor.

12

Write short notes on:

  1. Manipulators
  2. Protected Access Specifier
Object-Oriented Programming Question Bank Solution 2078
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
20252970
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