• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 1 pages
Exam (elaborations)

Exam (elaborations) introduction to object oriented programming in C++ (BCA301)

Document preview thumbnail
Preview 1 out of 1 pages

1st sessional question paper of OOPs

Content preview

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.

Document information

Uploaded on
November 26, 2021
Number of pages
1
Written in
2020/2021
Type
Exam (elaborations)
Contains
Answers
$7.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
1
Items
39
Last sold
5 year ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions