SlideShare a Scribd company logo
1 of 9
CS2203      OBJECT ORIENTED PROGRAMMING                  IIIrd Sem
                        Question Bank
                          UNIT – I
PART – A (2 MARKS)
1. Define Object Oriented Programming.
2. Define Objects.
3. What are the features of Object oriented programming.
4. Define Encapsulation and Data hiding.
5. Define Data Abstraction.
6. Define Data members.
7. Define Member functions.
8. State Inheritance.
9. State Polymorphism.
10. List and define the two types of Polymorphism.
11. State Dynamic Binding.
12. Define Message Passing.
13. List some benefits of OOPS.
14. List out the applications of OOP.
15. What is the return type of main ()?
16. List out the four basic sections in a typical C++ program.
17. Define C++.
18. Define Token. What are the token used in C++?
19. Define identifier. What are the rules to be followed for identifiers?
20. State the use of void in C++.
21. Define an Enumeration data type.
22. Define reference variable. Give its syntax.
23. List out the new operators introduced in c++.
24. What is the use of Scope resolution operator?
25. List out the memory referencing operator.
26. Define Implicit Conversion.
27. What is call by reference?
28. What are inline functions?
29. State the advantages of Default Arguments.
30. Define Function overloading.
31. Define friend function.




                                 PART – B
1. Explain the basic concepts of Object oriented programming (16)
2. Explain the use of constant pointers and pointers to constant with
an example.(16)
3. a. Difference between class and struct and also illustrate with an
example. (8)
b. What are the difference between pointers to constants and
constant to
pointers? (8)
4. a. Write a C++ program using inline function. (8)
b. Write a C++ program to illustrate the static function (8)
5. Explain briefly about function overloading with a suitable example.
(16)
6. a. Discuss constant and volatile functions. (8)
b. What is linkage specification and also explain its need. (8)
7. Explain about call by reference and return by reference with
program. (16)
8. Explain Nested classes and local classes with an example (16)




                              UNIT – II
PART – A (2 MARKS)
1. Define Constructor.
2. List some of the special characteristics of constructor.
3. Give the various types of constructors.
4. What are the ways in which a constructor can be called?
5. State dynamic initialization of objects.
6. Define Destructor.
7. List some of the rules for operator overloading.
8. What are the types of type conversions?
9. What are the conditions should a casting operator satisfy?
10. How the objects are initialized dynamically?


                                PART – B
1. a. Explain the copy constructors with an example? (8)
b. Explain explicit Constructors, Parametrized Constructors, and
multiple
Constructors with suitable example. (8)
2. a. How to achieve operator overloading through friend Function?
(8)
b. Write a program using friend functions for overloading
<<and>>operators? (8)
3. Explain the wrapper classes with examples? (16)
UNIT – III
                            PART – A (2 MARKS)

1. What are types of inheritance?
2. Give the syntax for inheritance.
3. Define single inheritance.
4. Define multi-level inheritance.
5. Define multiple inheritance.
6. What is an abstract class?
7. What are the types of polymorphism?
8. Define ‘this’ pointer.
9. What is virtual function?
10. When a function is declared as virtual, C++ determines which
function to
11. What is pure virtual function?
12. Define RTTI.
13. What is cross casting?
14. What is down casting?


                             PART – B
1. Explain the different types of polymorphism (16)
2. Explain various types of Inheritance. (16)
3. Describe Pure Virtual function with an example. (16)
4. Write a C++ program using this pointer. (16)
5. Write a C++ program using dynamic_const. (16)
6. Explain in detail about cross casting and down casting. (16)




                             UNIT – IV
                        PART – A ( 2 MARKS )
1. Define manipulators and also mention the manipulators that are
used in C++.
2. What is the need for streams?
3. Give some of predefined streams.
4. What are the possible types that a file can be defined?
5. What are the two methods available for opening the files?
6. What is global namespace?
7. Write any four operations possible on string objects.
8. What are the advantages of using generic algorithm?
9. What is STL?
10. What is find()?
11. What are the ways that a string object can be created?



                                PART – B

1. What are streams? Why they are useful? (16)
2. Explain about Formattted and Unformatted IO with suitable
Example (16)
3. What is manipulator? Difference between manipulators and ios
Function? (16)
4. Explain the process of open,read,write and close files? (16)
5. Explain the role of seekg(),seekp(),tellg(),tellp(),function in the
process of
random access in a binary file (16)
6. Explain about the STD Namespace (16)
7. Explain the Standard Template Library and how it is working? (16)
UNIT – V
                         PART – A (2 MARKS)
1. What is the need for template function in C++? What are their
advantages?
2. What are the drawbacks of using macros?
3. What is Function Template?
4. What are the components of Exception Handling?
5. What is Uncaught Exception?
6. What is the terminate () functions?
7. What are the disadvantages of the exception handling?



                              PART – B

1. Explain the Function template (16)
2. Explain the class template (16)
3. What is the need for exception handling (16)
4. Explain the following function
5. a) What are specifications? In which case are they needed? (8)
b)What are the disadvantages of the exception handling mechanism?
(8)
6. When do we need multiple catch blocks for a single try block? Give
an example? (16)

More Related Content

What's hot

OO-like C Programming: Struct Inheritance and Virtual Function
OO-like C Programming: Struct Inheritance and Virtual FunctionOO-like C Programming: Struct Inheritance and Virtual Function
OO-like C Programming: Struct Inheritance and Virtual FunctionYu-Sheng (Yosen) Chen
 
Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)ktuonlinenotes
 
C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#Dr.Neeraj Kumar Pandey
 
Question bank
Question bankQuestion bank
Question bankmushtaqdm
 
Principles of object oriented programing
Principles of object oriented programingPrinciples of object oriented programing
Principles of object oriented programingAhammed Alamin
 
Oops model question
Oops model questionOops model question
Oops model questionSANTOSH RATH
 
Vtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersVtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersmegharajk
 
[C++ korea] effective modern c++ study item 4 - 6 신촌
[C++ korea] effective modern c++ study   item 4 - 6 신촌[C++ korea] effective modern c++ study   item 4 - 6 신촌
[C++ korea] effective modern c++ study item 4 - 6 신촌Seok-joon Yun
 
Blueprints: Introduction to Python programming
Blueprints: Introduction to Python programmingBlueprints: Introduction to Python programming
Blueprints: Introduction to Python programmingBhalaji Nagarajan
 
C prograaming basic
C prograaming basicC prograaming basic
C prograaming basicDiameter_pb
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#Prasanna Kumar SM
 
C interview questions for experienced
C interview questions for experiencedC interview questions for experienced
C interview questions for experiencedMYTHILIKRISHNAN4
 
1. c or c++ programming course out line
1. c or c++ programming course out line1. c or c++ programming course out line
1. c or c++ programming course out lineChhom Karath
 

What's hot (19)

OO-like C Programming: Struct Inheritance and Virtual Function
OO-like C Programming: Struct Inheritance and Virtual FunctionOO-like C Programming: Struct Inheritance and Virtual Function
OO-like C Programming: Struct Inheritance and Virtual Function
 
Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)
 
C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#C# lecture 2: Literals , Variables and Data Types in C#
C# lecture 2: Literals , Variables and Data Types in C#
 
Question bank
Question bankQuestion bank
Question bank
 
Principles of object oriented programing
Principles of object oriented programingPrinciples of object oriented programing
Principles of object oriented programing
 
Oops model question
Oops model questionOops model question
Oops model question
 
Operator Overloading
Operator OverloadingOperator Overloading
Operator Overloading
 
Vtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papersVtu cs 7th_sem_question_papers
Vtu cs 7th_sem_question_papers
 
[C++ korea] effective modern c++ study item 4 - 6 신촌
[C++ korea] effective modern c++ study   item 4 - 6 신촌[C++ korea] effective modern c++ study   item 4 - 6 신촌
[C++ korea] effective modern c++ study item 4 - 6 신촌
 
Com Ed 6 Prelim
Com Ed 6 PrelimCom Ed 6 Prelim
Com Ed 6 Prelim
 
Blueprints: Introduction to Python programming
Blueprints: Introduction to Python programmingBlueprints: Introduction to Python programming
Blueprints: Introduction to Python programming
 
C prograaming basic
C prograaming basicC prograaming basic
C prograaming basic
 
Computer programming questions
Computer programming questionsComputer programming questions
Computer programming questions
 
Literals,variables,datatype in C#
Literals,variables,datatype in C#Literals,variables,datatype in C#
Literals,variables,datatype in C#
 
C interview questions for experienced
C interview questions for experiencedC interview questions for experienced
C interview questions for experienced
 
1. c or c++ programming course out line
1. c or c++ programming course out line1. c or c++ programming course out line
1. c or c++ programming course out line
 
Af7ff syllabuslablist
Af7ff syllabuslablistAf7ff syllabuslablist
Af7ff syllabuslablist
 
Chaptr 1
Chaptr 1Chaptr 1
Chaptr 1
 
Com Ed 6 Prelim
Com Ed 6 PrelimCom Ed 6 Prelim
Com Ed 6 Prelim
 

Viewers also liked

Advantages Over Conventional Error Handling in OOP
Advantages Over Conventional Error Handling in OOPAdvantages Over Conventional Error Handling in OOP
Advantages Over Conventional Error Handling in OOPRaju Dawadi
 
FSA Mozilla Nepal III Meetup
FSA Mozilla Nepal III MeetupFSA Mozilla Nepal III Meetup
FSA Mozilla Nepal III MeetupRaju Dawadi
 
Constructor & destructor
Constructor & destructorConstructor & destructor
Constructor & destructorSaharsh Anand
 

Viewers also liked (8)

Sajha Bus
Sajha Bus Sajha Bus
Sajha Bus
 
16 exception handling - i
16 exception handling - i16 exception handling - i
16 exception handling - i
 
Advantages Over Conventional Error Handling in OOP
Advantages Over Conventional Error Handling in OOPAdvantages Over Conventional Error Handling in OOP
Advantages Over Conventional Error Handling in OOP
 
147301 nol
147301 nol147301 nol
147301 nol
 
FSA Mozilla Nepal III Meetup
FSA Mozilla Nepal III MeetupFSA Mozilla Nepal III Meetup
FSA Mozilla Nepal III Meetup
 
Oops
OopsOops
Oops
 
PHP 5 Magic Methods
PHP 5 Magic MethodsPHP 5 Magic Methods
PHP 5 Magic Methods
 
Constructor & destructor
Constructor & destructorConstructor & destructor
Constructor & destructor
 

Similar to 141303 qb

GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfAsst.prof M.Gokilavani
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentssmumbahelp
 
Smu mca spring 2014 solved assignments
Smu mca spring 2014 solved assignmentsSmu mca spring 2014 solved assignments
Smu mca spring 2014 solved assignmentssmumbahelp
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013smumbahelp
 
SMU BSCIT SUMMER 2014 ASSIGNMENTS
SMU BSCIT SUMMER 2014 ASSIGNMENTSSMU BSCIT SUMMER 2014 ASSIGNMENTS
SMU BSCIT SUMMER 2014 ASSIGNMENTSsolved_assignments
 
Question Bank DS
Question Bank DSQuestion Bank DS
Question Bank DSPRIANKA R
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentssmumbahelp
 
Bca spring driveassignments (1)
Bca spring driveassignments (1)Bca spring driveassignments (1)
Bca spring driveassignments (1)solved_assignments
 
Bsc math previous exam quetions
Bsc math previous exam quetionsBsc math previous exam quetions
Bsc math previous exam quetionsmshoaib15
 
Smu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignmentsSmu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignmentssolved_assignments
 
SMU Mca spring Solved assignments
SMU Mca spring Solved assignmentsSMU Mca spring Solved assignments
SMU Mca spring Solved assignmentssolved_assignments
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programmingsoni_nits
 

Similar to 141303 qb (20)

GE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdfGE3151 PSPP All unit question bank.pdf
GE3151 PSPP All unit question bank.pdf
 
Cs1301
Cs1301Cs1301
Cs1301
 
Bca spring driveassignments
Bca spring driveassignmentsBca spring driveassignments
Bca spring driveassignments
 
Smu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignmentsSmu msc it spring 2014 solved assignments
Smu msc it spring 2014 solved assignments
 
Oops qb cse
Oops qb cseOops qb cse
Oops qb cse
 
Best interview questions
Best interview questionsBest interview questions
Best interview questions
 
Smu mca spring 2014 solved assignments
Smu mca spring 2014 solved assignmentsSmu mca spring 2014 solved assignments
Smu mca spring 2014 solved assignments
 
Smu bca winter 2013
Smu bca winter 2013Smu bca winter 2013
Smu bca winter 2013
 
SMU BSCIT SUMMER 2014 ASSIGNMENTS
SMU BSCIT SUMMER 2014 ASSIGNMENTSSMU BSCIT SUMMER 2014 ASSIGNMENTS
SMU BSCIT SUMMER 2014 ASSIGNMENTS
 
Question Bank DS
Question Bank DSQuestion Bank DS
Question Bank DS
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
 
Bca spring driveassignments (1)
Bca spring driveassignments (1)Bca spring driveassignments (1)
Bca spring driveassignments (1)
 
Bsc math previous exam quetions
Bsc math previous exam quetionsBsc math previous exam quetions
Bsc math previous exam quetions
 
Mid ii important quess
Mid ii important quessMid ii important quess
Mid ii important quess
 
Smu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignmentsSmu bca sem 2 winter 2015 assignments
Smu bca sem 2 winter 2015 assignments
 
Oop r&amp;s may 2019
Oop r&amp;s may 2019Oop r&amp;s may 2019
Oop r&amp;s may 2019
 
SMU Mca spring Solved assignments
SMU Mca spring Solved assignmentsSMU Mca spring Solved assignments
SMU Mca spring Solved assignments
 
Oops 2018
Oops 2018Oops 2018
Oops 2018
 
Bca smu solved assignments
Bca smu solved assignmentsBca smu solved assignments
Bca smu solved assignments
 
17432 object oriented programming
17432   object oriented programming17432   object oriented programming
17432 object oriented programming
 

Recently uploaded

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Recently uploaded (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

141303 qb

  • 1. CS2203 OBJECT ORIENTED PROGRAMMING IIIrd Sem Question Bank UNIT – I PART – A (2 MARKS) 1. Define Object Oriented Programming. 2. Define Objects. 3. What are the features of Object oriented programming. 4. Define Encapsulation and Data hiding. 5. Define Data Abstraction. 6. Define Data members. 7. Define Member functions. 8. State Inheritance. 9. State Polymorphism. 10. List and define the two types of Polymorphism. 11. State Dynamic Binding. 12. Define Message Passing. 13. List some benefits of OOPS. 14. List out the applications of OOP. 15. What is the return type of main ()? 16. List out the four basic sections in a typical C++ program. 17. Define C++. 18. Define Token. What are the token used in C++? 19. Define identifier. What are the rules to be followed for identifiers? 20. State the use of void in C++. 21. Define an Enumeration data type. 22. Define reference variable. Give its syntax. 23. List out the new operators introduced in c++.
  • 2. 24. What is the use of Scope resolution operator? 25. List out the memory referencing operator. 26. Define Implicit Conversion. 27. What is call by reference? 28. What are inline functions? 29. State the advantages of Default Arguments. 30. Define Function overloading. 31. Define friend function. PART – B 1. Explain the basic concepts of Object oriented programming (16) 2. Explain the use of constant pointers and pointers to constant with an example.(16) 3. a. Difference between class and struct and also illustrate with an example. (8) b. What are the difference between pointers to constants and constant to pointers? (8) 4. a. Write a C++ program using inline function. (8) b. Write a C++ program to illustrate the static function (8) 5. Explain briefly about function overloading with a suitable example. (16) 6. a. Discuss constant and volatile functions. (8) b. What is linkage specification and also explain its need. (8)
  • 3. 7. Explain about call by reference and return by reference with program. (16) 8. Explain Nested classes and local classes with an example (16) UNIT – II PART – A (2 MARKS)
  • 4. 1. Define Constructor. 2. List some of the special characteristics of constructor. 3. Give the various types of constructors. 4. What are the ways in which a constructor can be called? 5. State dynamic initialization of objects. 6. Define Destructor. 7. List some of the rules for operator overloading. 8. What are the types of type conversions? 9. What are the conditions should a casting operator satisfy? 10. How the objects are initialized dynamically? PART – B 1. a. Explain the copy constructors with an example? (8) b. Explain explicit Constructors, Parametrized Constructors, and multiple Constructors with suitable example. (8) 2. a. How to achieve operator overloading through friend Function? (8) b. Write a program using friend functions for overloading <<and>>operators? (8) 3. Explain the wrapper classes with examples? (16)
  • 5. UNIT – III PART – A (2 MARKS) 1. What are types of inheritance? 2. Give the syntax for inheritance. 3. Define single inheritance. 4. Define multi-level inheritance. 5. Define multiple inheritance. 6. What is an abstract class? 7. What are the types of polymorphism? 8. Define ‘this’ pointer. 9. What is virtual function? 10. When a function is declared as virtual, C++ determines which function to 11. What is pure virtual function? 12. Define RTTI.
  • 6. 13. What is cross casting? 14. What is down casting? PART – B 1. Explain the different types of polymorphism (16) 2. Explain various types of Inheritance. (16) 3. Describe Pure Virtual function with an example. (16) 4. Write a C++ program using this pointer. (16) 5. Write a C++ program using dynamic_const. (16) 6. Explain in detail about cross casting and down casting. (16) UNIT – IV PART – A ( 2 MARKS )
  • 7. 1. Define manipulators and also mention the manipulators that are used in C++. 2. What is the need for streams? 3. Give some of predefined streams. 4. What are the possible types that a file can be defined? 5. What are the two methods available for opening the files? 6. What is global namespace? 7. Write any four operations possible on string objects. 8. What are the advantages of using generic algorithm? 9. What is STL? 10. What is find()? 11. What are the ways that a string object can be created? PART – B 1. What are streams? Why they are useful? (16) 2. Explain about Formattted and Unformatted IO with suitable Example (16) 3. What is manipulator? Difference between manipulators and ios Function? (16) 4. Explain the process of open,read,write and close files? (16) 5. Explain the role of seekg(),seekp(),tellg(),tellp(),function in the process of random access in a binary file (16) 6. Explain about the STD Namespace (16) 7. Explain the Standard Template Library and how it is working? (16)
  • 8. UNIT – V PART – A (2 MARKS) 1. What is the need for template function in C++? What are their advantages? 2. What are the drawbacks of using macros? 3. What is Function Template? 4. What are the components of Exception Handling? 5. What is Uncaught Exception? 6. What is the terminate () functions? 7. What are the disadvantages of the exception handling? PART – B 1. Explain the Function template (16) 2. Explain the class template (16) 3. What is the need for exception handling (16)
  • 9. 4. Explain the following function 5. a) What are specifications? In which case are they needed? (8) b)What are the disadvantages of the exception handling mechanism? (8) 6. When do we need multiple catch blocks for a single try block? Give an example? (16)