SlideShare a Scribd company logo
1 of 2
Download to read offline
Time: 3 hour
By:Manish Swarnkar
Contact No:9887474850
manishsony4u@gmail.com
C++ Exam 2017
Aims Tutorial
Oriental Bank of Commerce
H.No.:69/339 VT Road Ward 27,
Mansarovar Jaipur (Rajasthan) 302020
Contact No: +91-8947920041
P a g e | 1
By: Manish Swarnkar
9887474850
PART-I
Each Question is of 2 marks
Words limit for the answer is 40 words
1. What is this pointer?
2. What is Exception Handling?
3. What is bitwise operator write-down all bitwise operator?
4. What is control statement write down the control statements?
5. What is stream? Why we require stream in programming?
6. What is data hiding in c++? Why we require it?
7. What is static member function?
8. What is abstract class? Why we require it?
9. What is eof() define it.
10. What is overriding?
PART-II
Each question is of 4 marks
Word limit for the answer is 80
11. Discuss function template briefly.
12. Explain operator over loading using friend function.
13. Write down difference between c and c++.
14. What is inheritance? What are the base and derived classes? Give a
suitable example of inheritance.
15. What are objects? Describe the syntax for defining objects with
example.
PART-III
Each question is of 12 marks
16. What is object oriented paradigm explain in briefly
or
What is different between modular programming language and
object oriented language.
Time: 3 hour
By:Manish Swarnkar
Contact No:9887474850
manishsony4u@gmail.com
C++ Exam 2017
Aims Tutorial
Oriental Bank of Commerce
H.No.:69/339 VT Road Ward 27,
Mansarovar Jaipur (Rajasthan) 302020
Contact No: +91-8947920041
P a g e | 2
By: Manish Swarnkar
9887474850
17. What is the string inc++? How we can define and declare it. Write a
program to convert lower case letter in the upper case without using
strupr() function.
Or
Explain call by value, call by reference and call by address briefly
with examples.
18. What are constructors and destructors? Explain how they differ
from normal functions
Or
Define inline function. What are the guidelines that need to be
followed for deciding if the function is to be used as member function
or inline function?
19. What is visibility mode? What are the different inheritance visibility
modes supported by C++?
or
What is binding explain in details. Why we need it in c ++.
20. What is File? How to read and write a file. Write a program to
calculate total number of words in a file.
Or
Write Shorts notes on any two
1. Try catch and throw key words with the help of example.
2. Class Template with example
3. Class hierarchy of stream class.

More Related Content

Similar to C++ Exam Questions

C question-bank-ebook
C question-bank-ebookC question-bank-ebook
C question-bank-ebooketrams1
 
Banking Technology (End Term Exam) nov-2009
Banking Technology (End Term Exam)  nov-2009Banking Technology (End Term Exam)  nov-2009
Banking Technology (End Term Exam) nov-2009Anil Chaurasiya
 
Simulado para a certificação MOF
Simulado para a certificação MOFSimulado para a certificação MOF
Simulado para a certificação MOFFernando Palma
 
Ch7 serv.pro.sel+&+design
Ch7 serv.pro.sel+&+designCh7 serv.pro.sel+&+design
Ch7 serv.pro.sel+&+designvideoaakash15
 
Ch7 serv.pro.sel & design
Ch7 serv.pro.sel & designCh7 serv.pro.sel & design
Ch7 serv.pro.sel & designvideoaakash15
 
Mi0036 business intelligence & tools...
Mi0036  business intelligence & tools...Mi0036  business intelligence & tools...
Mi0036 business intelligence & tools...smumbahelp
 
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4f
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4fItil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4f
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4fAnne Starr
 
Paper Practical Itsm Transformation Qai V 1.0
Paper   Practical Itsm Transformation   Qai V 1.0Paper   Practical Itsm Transformation   Qai V 1.0
Paper Practical Itsm Transformation Qai V 1.0Sukumar Daniel
 
Cloud computing 4 cloud service requirements
Cloud computing 4 cloud service requirementsCloud computing 4 cloud service requirements
Cloud computing 4 cloud service requirementsVaibhav Khanna
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesVarun Nathan
 
Software Engineering Plan & Methodology Recommendation
Software Engineering Plan & Methodology RecommendationSoftware Engineering Plan & Methodology Recommendation
Software Engineering Plan & Methodology RecommendationDhatri Misra
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesVarun Nathan
 
Digital Marketing Classes in Elite IIT
Digital Marketing Classes in Elite IITDigital Marketing Classes in Elite IIT
Digital Marketing Classes in Elite IITElite IIT
 
Prashant Kumar Mishra
Prashant Kumar MishraPrashant Kumar Mishra
Prashant Kumar Mishraprashu mishra
 
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...Ting-Hao Huang
 
Cncwebworld c programming,
Cncwebworld c programming,Cncwebworld c programming,
Cncwebworld c programming,CNC WEB WORLD
 
ML Question prompt Research for Jira and Hubspot
ML Question prompt Research for Jira and Hubspot   ML Question prompt Research for Jira and Hubspot
ML Question prompt Research for Jira and Hubspot Tiffany Lan
 

Similar to C++ Exam Questions (20)

C question-bank-ebook
C question-bank-ebookC question-bank-ebook
C question-bank-ebook
 
Q 1-4
Q  1-4Q  1-4
Q 1-4
 
Banking Technology (End Term Exam) nov-2009
Banking Technology (End Term Exam)  nov-2009Banking Technology (End Term Exam)  nov-2009
Banking Technology (End Term Exam) nov-2009
 
Simulado para a certificação MOF
Simulado para a certificação MOFSimulado para a certificação MOF
Simulado para a certificação MOF
 
ignou mba solved assignments 2018
ignou mba solved assignments 2018ignou mba solved assignments 2018
ignou mba solved assignments 2018
 
Ch7 serv.pro.sel+&+design
Ch7 serv.pro.sel+&+designCh7 serv.pro.sel+&+design
Ch7 serv.pro.sel+&+design
 
Ch7 serv.pro.sel & design
Ch7 serv.pro.sel & designCh7 serv.pro.sel & design
Ch7 serv.pro.sel & design
 
Mi0036 business intelligence & tools...
Mi0036  business intelligence & tools...Mi0036  business intelligence & tools...
Mi0036 business intelligence & tools...
 
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4f
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4fItil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4f
Itil4fdumps2021_223a0073-423e-4850-b4d7-568061712d4f
 
Paper Practical Itsm Transformation Qai V 1.0
Paper   Practical Itsm Transformation   Qai V 1.0Paper   Practical Itsm Transformation   Qai V 1.0
Paper Practical Itsm Transformation Qai V 1.0
 
Cloud computing 4 cloud service requirements
Cloud computing 4 cloud service requirementsCloud computing 4 cloud service requirements
Cloud computing 4 cloud service requirements
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queries
 
Software Engineering Plan & Methodology Recommendation
Software Engineering Plan & Methodology RecommendationSoftware Engineering Plan & Methodology Recommendation
Software Engineering Plan & Methodology Recommendation
 
ML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queriesML Framework for auto-responding to customer support queries
ML Framework for auto-responding to customer support queries
 
Digital Marketing Classes in Elite IIT
Digital Marketing Classes in Elite IITDigital Marketing Classes in Elite IIT
Digital Marketing Classes in Elite IIT
 
Prashant Kumar Mishra
Prashant Kumar MishraPrashant Kumar Mishra
Prashant Kumar Mishra
 
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...
A 10-Month-Long Deployment Study of On-Demand Recruiting for Low-Latency Crow...
 
Cncwebworld c programming,
Cncwebworld c programming,Cncwebworld c programming,
Cncwebworld c programming,
 
Resume
ResumeResume
Resume
 
ML Question prompt Research for Jira and Hubspot
ML Question prompt Research for Jira and Hubspot   ML Question prompt Research for Jira and Hubspot
ML Question prompt Research for Jira and Hubspot
 

Recently uploaded

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
 
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
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 
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"
 
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
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .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
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
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
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

C++ Exam Questions

  • 1. Time: 3 hour By:Manish Swarnkar Contact No:9887474850 manishsony4u@gmail.com C++ Exam 2017 Aims Tutorial Oriental Bank of Commerce H.No.:69/339 VT Road Ward 27, Mansarovar Jaipur (Rajasthan) 302020 Contact No: +91-8947920041 P a g e | 1 By: Manish Swarnkar 9887474850 PART-I Each Question is of 2 marks Words limit for the answer is 40 words 1. What is this pointer? 2. What is Exception Handling? 3. What is bitwise operator write-down all bitwise operator? 4. What is control statement write down the control statements? 5. What is stream? Why we require stream in programming? 6. What is data hiding in c++? Why we require it? 7. What is static member function? 8. What is abstract class? Why we require it? 9. What is eof() define it. 10. What is overriding? PART-II Each question is of 4 marks Word limit for the answer is 80 11. Discuss function template briefly. 12. Explain operator over loading using friend function. 13. Write down difference between c and c++. 14. What is inheritance? What are the base and derived classes? Give a suitable example of inheritance. 15. What are objects? Describe the syntax for defining objects with example. PART-III Each question is of 12 marks 16. What is object oriented paradigm explain in briefly or What is different between modular programming language and object oriented language.
  • 2. Time: 3 hour By:Manish Swarnkar Contact No:9887474850 manishsony4u@gmail.com C++ Exam 2017 Aims Tutorial Oriental Bank of Commerce H.No.:69/339 VT Road Ward 27, Mansarovar Jaipur (Rajasthan) 302020 Contact No: +91-8947920041 P a g e | 2 By: Manish Swarnkar 9887474850 17. What is the string inc++? How we can define and declare it. Write a program to convert lower case letter in the upper case without using strupr() function. Or Explain call by value, call by reference and call by address briefly with examples. 18. What are constructors and destructors? Explain how they differ from normal functions Or Define inline function. What are the guidelines that need to be followed for deciding if the function is to be used as member function or inline function? 19. What is visibility mode? What are the different inheritance visibility modes supported by C++? or What is binding explain in details. Why we need it in c ++. 20. What is File? How to read and write a file. Write a program to calculate total number of words in a file. Or Write Shorts notes on any two 1. Try catch and throw key words with the help of example. 2. Class Template with example 3. Class hierarchy of stream class.