Professional Documents
Culture Documents
Sample Oops Question Paper
Sample Oops Question Paper
DATED 07/12/2020
SECTION A
Q1. a) Elaborate the concept of class scope with an example
Class Scope
Each member possess unique scope
Example
}
Q1. b)Differentiate between Namespace & Header files
A header file
Q1. c)what is the role of multiple catch statement in C++
discuss with an example
Multiple catch .
#include<iostream>
Output is -:
Q1. c) continued…..
•
Q1. c) A catch block for all types exceptions
Output
Q1. d) Define text stream and binary stream
Q1. e)
Q1. f)
Q1. g)
Q1. h)
Q1. i)
Q1. j)
SECTION B
Q2. Does C++ support the concept of Dynamic Memory Allocation?
If Yes explain with example.