SlideShare a Scribd company logo
1 of 2
Institute of Technical Education & Research, SOA Deemed to be University
SPECIAL EXAMINATION, 2018
OBJECT ORIENTED PROGRAMMING STRUCTURE
(CS205T)
Programme: B.Tech Semester: 4th
Full Marks: 60 Time: 3 Hours
Subject/Course Learning Outcome *Taxonomy
Level
Ques.
Nos.
Marks
Ability to understand basic C++
programming concepts based on object
oriented programming system.
L3 1 6
Ability to design programs using C++ to
solve real life problems.
L2 10 6
Ability to understand object-oriented
features i.e. function overloading in C++.
L2 2 6
Ability to understand object-oriented
features i.e. inheritance in C++.
L2 3 6
Ability to understand object-oriented
features i.e. polymorphism in C++.
L3 6,8 12
Ability to use template classes, exception
handling mechanism and the STL library
in C++.
L4 7,9 12
Ability to write object-oriented programs
of moderate complexity and understand the
design patterns in C++.
L2 4,5 12
*Bloom’s taxonomy levels: Knowledge (L1), Comprehension (L2), Application (L3), Analysis
(L4), Evaluation (L5), Creation (L6)
Answer all questions. Each question carries equal mark.
1. (a) State the difference between Object Oriented Programming
Structure and Procedure Oriented Programming Structure.
2
(b) Diffenciate between Class and Object. 2
(c) List the header file that handles I/O opeartions in c++. 2
2. (a) Discuss function prototyping, with an example. Also write its
advantage.
2
Page 4of 4 ` page 1 of 4
(b) Explain inline functions. 2
(c) What is function overloading give example? 2
3. (a) What are the different types of inheritance in OOPs? 2
(b) Explain public, private and protected access specifiers and
show their visibility when they are inherited as public, private
and protected.
2
(c) Explain function Overridding with programming example. 2
4. (a) What is Constructor? Explain types of Constructor with
example.
2
(b) What is copy constructor? When it is used implicitly for what
purpose?
2
(c) Why destructor can not be overloaded? 2
5. (a) What are static data members? Explain with an example what
the use of static data members is.
2
(b) Discus how memory is allocated for a static data member . 2
(c) Create a class, which keep track of the number of its instances.
Use static data member, constructors and destructors to
maintain updated information about the active objects.
2
6. (a) Define operator overloading? Explain how to overload unary
operator and binary operator.
2
(b) Design a program to overload a plus (==) operator. 2
(c) Which operators cannot be overloaded? 2
7. (a) What is generic programming? How is it implemented in C++? 2
(b) Explain Generic function with example. 2
(c) Design a function template to swap two numbers.
8. (a) What do you mean by polymorphism ? 2
(b) What is a virtual function? Write rules for virtual function.
Explain wit example.
2
(c) Explain pure virtual function through a programming example. 2
9. (a) What is an exception? How an exception is different than error
in C++?
2
(b) Design a program that illustrate the application of multiple
catch statement.
2
(c) What do you mean Universal exception handler? 2
10 (a) What is a friend function? What are the merits and demerits of
using the friend function?
2
(b) Explain friend class with a programming example. 2
(c) Design a program to add two time objects and store the result
in the third object using friend function.
2
*End of Questions*
Page 2 of 4 page 3 of 4

More Related Content

Similar to Oops 2018

2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...Monica Sabharwal
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionAKR Education
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestd436758
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Umlguestac67362
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E Sguestd436758
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet IntroductionWei Sun
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
Introduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfIntroduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfAnassElHousni
 
Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019ktuonlinenotes
 
Event Driven Programming Course Outline.pptx
Event Driven Programming Course Outline.pptxEvent Driven Programming Course Outline.pptx
Event Driven Programming Course Outline.pptxBekeleTsanga2
 

Similar to Oops 2018 (20)

Ads
AdsAds
Ads
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
 
Oops index
Oops indexOops index
Oops index
 
Ooad q.papers
Ooad q.papersOoad q.papers
Ooad q.papers
 
T2
T2T2
T2
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
 
sad.pdf
sad.pdfsad.pdf
sad.pdf
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml212101 Object Oriented Analysis Design Through Uml
212101 Object Oriented Analysis Design Through Uml
 
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
R05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E SR05010106  C  P R O G R A M M I N G   A N D   D A T A  S T R U C T U R E S
R05010106 C P R O G R A M M I N G A N D D A T A S T R U C T U R E S
 
L6
L6L6
L6
 
DotNet Introduction
DotNet IntroductionDotNet Introduction
DotNet Introduction
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Introduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdfIntroduction-to-C-Part-1.pdf
Introduction-to-C-Part-1.pdf
 
Part 1
Part 1Part 1
Part 1
 
C++ Programming
C++ ProgrammingC++ Programming
C++ Programming
 
Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019
 
C++ Programming
C++ ProgrammingC++ Programming
C++ Programming
 
Event Driven Programming Course Outline.pptx
Event Driven Programming Course Outline.pptxEvent Driven Programming Course Outline.pptx
Event Driven Programming Course Outline.pptx
 
141303 qb
141303 qb141303 qb
141303 qb
 

Recently uploaded

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Oops 2018

  • 1. Institute of Technical Education & Research, SOA Deemed to be University SPECIAL EXAMINATION, 2018 OBJECT ORIENTED PROGRAMMING STRUCTURE (CS205T) Programme: B.Tech Semester: 4th Full Marks: 60 Time: 3 Hours Subject/Course Learning Outcome *Taxonomy Level Ques. Nos. Marks Ability to understand basic C++ programming concepts based on object oriented programming system. L3 1 6 Ability to design programs using C++ to solve real life problems. L2 10 6 Ability to understand object-oriented features i.e. function overloading in C++. L2 2 6 Ability to understand object-oriented features i.e. inheritance in C++. L2 3 6 Ability to understand object-oriented features i.e. polymorphism in C++. L3 6,8 12 Ability to use template classes, exception handling mechanism and the STL library in C++. L4 7,9 12 Ability to write object-oriented programs of moderate complexity and understand the design patterns in C++. L2 4,5 12 *Bloom’s taxonomy levels: Knowledge (L1), Comprehension (L2), Application (L3), Analysis (L4), Evaluation (L5), Creation (L6) Answer all questions. Each question carries equal mark. 1. (a) State the difference between Object Oriented Programming Structure and Procedure Oriented Programming Structure. 2 (b) Diffenciate between Class and Object. 2 (c) List the header file that handles I/O opeartions in c++. 2 2. (a) Discuss function prototyping, with an example. Also write its advantage. 2 Page 4of 4 ` page 1 of 4
  • 2. (b) Explain inline functions. 2 (c) What is function overloading give example? 2 3. (a) What are the different types of inheritance in OOPs? 2 (b) Explain public, private and protected access specifiers and show their visibility when they are inherited as public, private and protected. 2 (c) Explain function Overridding with programming example. 2 4. (a) What is Constructor? Explain types of Constructor with example. 2 (b) What is copy constructor? When it is used implicitly for what purpose? 2 (c) Why destructor can not be overloaded? 2 5. (a) What are static data members? Explain with an example what the use of static data members is. 2 (b) Discus how memory is allocated for a static data member . 2 (c) Create a class, which keep track of the number of its instances. Use static data member, constructors and destructors to maintain updated information about the active objects. 2 6. (a) Define operator overloading? Explain how to overload unary operator and binary operator. 2 (b) Design a program to overload a plus (==) operator. 2 (c) Which operators cannot be overloaded? 2 7. (a) What is generic programming? How is it implemented in C++? 2 (b) Explain Generic function with example. 2 (c) Design a function template to swap two numbers. 8. (a) What do you mean by polymorphism ? 2 (b) What is a virtual function? Write rules for virtual function. Explain wit example. 2 (c) Explain pure virtual function through a programming example. 2 9. (a) What is an exception? How an exception is different than error in C++? 2 (b) Design a program that illustrate the application of multiple catch statement. 2 (c) What do you mean Universal exception handler? 2 10 (a) What is a friend function? What are the merits and demerits of using the friend function? 2 (b) Explain friend class with a programming example. 2 (c) Design a program to add two time objects and store the result in the third object using friend function. 2 *End of Questions* Page 2 of 4 page 3 of 4