Meerut Institute of Technology (PC), Meerut
Second Sessional Examination 2020-21
Name of the course: BCA Subject code: BCA301
Name of the subject: Object Oriented Programming Languages
Time Allowed: 1 hr 30 minutes Maximum Marks: 25
Section – A (1x5 = 5)
(This section contains 5 questions, each carrying one mark. Answer should be brief)
1. Which Operator is overloaded by default?
2. While overloading binary operators using member function, it requires how
many argument/s?
3. Is it a correct syntax of defining a pure virtual function?
virtual return_type func() = 0;
4. Class is logical abstraction TRUE/FALSE
5. Higher the level of abstraction, higher the details. TRUE/FALSE
Section – B (2.5x2 = 5)
(This section contains 3 questions, you are required to attempt any 2 questions each
carrying 2.5 marks)
1. Which operators cannot be overloaded?
2. What will be output? X=10; x%2==0?cout<<”even no:cout<<”odd no”;
3. What is an abstract class?
Section – C (5X3 = 15)
(This section contains 5 questions, you are required to attempt any 3 questions each
carrying 5 marks)
1. What is polymorphism?give types also.
2. Write a program in c++ to show abstract class.
3. Write a program in c++ to show how constructor works.
4. Differentiate between constructor and destructor.
5. WAP in c++ to show function overloading.
Second Sessional Examination 2020-21
Name of the course: BCA Subject code: BCA301
Name of the subject: Object Oriented Programming Languages
Time Allowed: 1 hr 30 minutes Maximum Marks: 25
Section – A (1x5 = 5)
(This section contains 5 questions, each carrying one mark. Answer should be brief)
1. Which Operator is overloaded by default?
2. While overloading binary operators using member function, it requires how
many argument/s?
3. Is it a correct syntax of defining a pure virtual function?
virtual return_type func() = 0;
4. Class is logical abstraction TRUE/FALSE
5. Higher the level of abstraction, higher the details. TRUE/FALSE
Section – B (2.5x2 = 5)
(This section contains 3 questions, you are required to attempt any 2 questions each
carrying 2.5 marks)
1. Which operators cannot be overloaded?
2. What will be output? X=10; x%2==0?cout<<”even no:cout<<”odd no”;
3. What is an abstract class?
Section – C (5X3 = 15)
(This section contains 5 questions, you are required to attempt any 3 questions each
carrying 5 marks)
1. What is polymorphism?give types also.
2. Write a program in c++ to show abstract class.
3. Write a program in c++ to show how constructor works.
4. Differentiate between constructor and destructor.
5. WAP in c++ to show function overloading.