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

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 

Recently uploaded (20)

Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 

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