BSCIT-204_Assignment_2
BSCIT-204_Assignment_2
Assignment-1
Q.1 Give answers in 800 words of the questions given below (Any One). (8*1)
1. Write a detailed note on polymorphism and its types with appropriate examples.
2. Discuss how to handle and manage files in C++?
Q.2 Give answers in 400 words of the questions given below (Any Two). (4*2)
1. Explain Access specifiers supported by C++ for inheritance.
2. How to define member function inside and outside class explain in brief.
3. Do C++ supports Exception handling? If yes then explain how?
Q. 4 Do as directed. (1*5)
1. Define Reference Variable.
2. ___________ () Moves the read pointer to a specific location in the file.
3. The cout object is followed by the symbol << which is called the ________ operator.
4. The _________ operator returns the number of bytes required to represent a data type or
variable.
5. A static variable can be a public or private. (True / False)
*****