0% found this document useful (0 votes)
136 views2 pages

Question Bank (Oops)

This document contains 47 questions related to object-oriented programming concepts in C++. The questions cover topics such as differences between C and C++, classes vs structures, access specifiers, function overloading, friend functions, constructors, inheritance, polymorphism, templates, and more. Students are expected to identify, explain, compare and illustrate various OOP concepts through examples and programs.

Uploaded by

Muskan Tambi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
136 views2 pages

Question Bank (Oops)

This document contains 47 questions related to object-oriented programming concepts in C++. The questions cover topics such as differences between C and C++, classes vs structures, access specifiers, function overloading, friend functions, constructors, inheritance, polymorphism, templates, and more. Students are expected to identify, explain, compare and illustrate various OOP concepts through examples and programs.

Uploaded by

Muskan Tambi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Jaipur Engineering college and research

SERC centre, Shri Ram ki Nangal, via SitapuraAcHdemic year


2021-2022
RIICO Jaipur- 302 022.

Question Bank
JECRC

Department of Computer Sclence and Engineering


"Year- il
Semester8. Tech. (Computer
3CS4-06: Object Orlented
Science & Engineering)
Programming
COURSEQUTCOMEICO
On completion of the course, students will be able to:

cO1: dentity and analyze Object Oriented ProOgramming concepts in designing solution of a problem.

CO2 APpIy constructor, frnend function and class when analyzing a problem statement.
cO3: Apply and analyze features of inheritance and polymorphism for developing solution of a complex

problem.
CO4: Identify and handle exceptions in an object oriented program. Perform generic programming using
templates.

1) ldentify and explain the differences between c and ct+.

2) Identify and explain the difference between class and structure.

3) Demonstrate with example about the nesting of member function in object oriented

programming
4) DiscuSs about the characteristics of member function of dlass.

5) List and explain about the access specifiers in object oriented programming.
6) Demonstrate the concept of Call by value, call by address with pointer and call by reference in
C*.

7) Compare c and c+*

8) Implement pointer to structure.

9) Implement array of structure.

10) Define Data Member and Member Function.


12) Create a structure with name Student and store and display the student detail (Student Name,
ROll No, and Marks).

13) Write a program to swap two number using the concept of call by value, call by reference, call by
address.

14) Explain the advantage and disadvantage of Inline function.

15) lustrate the concept of defining member function inside the class.

16) Elaborate different access specifiers in class.

17) List the characteristics of friend function.

18) Elaborate the concept of object orlented programming? Discuss with all features.

19) Define inline function? Give proper example to implement the concegt of inine function.

20) Elaborate different visibility modes in clas.

21) llustrate the concept of defining member function outside the class.

22) Implement the program to perform the multiplication of two numbers using friend function.

23) Implement the program to perform the addition, subtraction, multiplication and dvision of fwo
numbers using class and objects.

24) Elaborate friend functions in C+? Explain characteristiks of Friend Functions.

25) Compare between Procedure oriented and Object oriented programming

26) Explain Bottom up and Top down approach used in POP and 00P

27) Write only the syntax for creating structure and how we can access the members of structure

Write the Characteristics of object oriented programming in detail.

28) Illustrate the diferent programming Paradigm.

Jaipur Engineering college and research


centre, Shri Ram ki Nangul, via Sitapura031
0LI-E0L4
RIICO Jaipur- 302 022. 3/4

29) Create a C class where store and display employee information (1d, Name, Salary, Designation)
using the concept of class and object.

30) Write the characteristics of member functlon and also demonstrate nested member function
wn exampie

31) Write a program to implement the concept of array of objects.

32) Explain function overloading. Cakulate area of square, rectangle, triangle using the concept of of
Tunction overloading

33) Explain friend class and illustrate it with proper example.

34) Write the characteristics of this pointer. llustrate with proper example.

35) Write a program to implement the concept of Array of structure.

36) Write a program to Implement the concept of nesting of structure.

37) Write a program to copy one structure to another structure.

38) Explain characteristics of constructor also llustrate types of constructor

39) Write c+*program to find factorial of a number using class.

40) Write c+e program for varlous mathematical operation using switch case

41) Create ct program to swap two class data using friend class.

42) Explain new and delete keyword in c**,

43) Explain advantage and disadvantage of inine function.

44) Calculate square of a number using inline function.

43) Eplain scope resoiution operator and give examples of uses ol scope resolution operato.

46) Explain characteristics of procedure oriented programming

47) Write an example to implerment nesting of member function in ce.

48) Explain the syntax for creating class and object in c*

You might also like