0% found this document useful (0 votes)
14 views

Module 1 and 2 QB

Uploaded by

chiraghs511
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Module 1 and 2 QB

Uploaded by

chiraghs511
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

RN SHETTY TRUST®

RNS INSTITUTE OF TECHNOLOGY


Autonomous Institution Affiliated to VTU, Recognized by GOK, Approved by AICTE
(NAAC ‘A+ Grade’ Accredited, NBA Accredited (UG - CSE, ECE, ISE, EIE and EEE)
Channasandra, Dr. Vishnuvardhan Road, Bengaluru - 560 098
Ph:(080)28611880,28611881 URL: www.rnsit.ac.in

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING


Question Bank
SUBJECT CODE AND TITLE OOP’s with C++ - BCSB306A
SCHEME 2022 BATCH 2021-2025
SEMESTER& SECTION III A
FACULTY NAME
Deepika S, Asssitant Professor

1
Q.No. Question RBT* Cos
MODULE 1
1. List the features of Object -Oriented Programming. L1 CO1
2. What is Class? L1 CO1

3. What is Inline function? L1 CO1


4. Explain Passing Objects to functions? L2 CO1
5. Explain Parameterized Constructors. L2 CO1
6. Explain friend function and its necessity. L2 CO1
7. Write a program to show the usage of static class members. L3 CO1
8. Compare and contrast Object Oriented Programming with CO1
L3
procedure Oriented Programming.
9. Write program to find greatest of three number using Inline CO1
L4
function.
10. Write a program to add two data members of different classes
L5&
CO1
using friend functions L6

11. Explain the characteristic features and pillars of object-oriented


L2 CO1
programming.
12. Describe the general form of a C++ program. L2 CO1

13. List and explain the different access specifiers in c++ with CO1
L2
examples.
14. Explain how to define member functions outside the class with CO1
L2
example.
15. Describe the need of scope resolution operator in C++ CO1
L2
program.
16. What is the use of inline keyword in C++. L1 CO1

17. Define Class and give the difference with structure and class CO1
L1
with examples.
18. Explain the usage of Static Class members with suitable CO1
L2
example.
19. Define Constructor, its use and types with suitable examples. L1 CO1

20 Define Destructor and its necessity with example. L1 CO1


21. Give a brief note on the following topics with example
i) pointer to objects
ii) parameter passing techniques in C++. L1 CO1

iii) Array of Objects.


iv) Passing objects to functions.
22. Explain the use of “this” pointer with example. L2 CO1
2
23. How does a friend keyword work? explain with example.
L1 CO1

You might also like