Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
24 views
CPP Pyq
Uploaded by
Maroof Ali
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save CPP PYQ For Later
Download
Save
Save CPP PYQ For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
24 views
CPP Pyq
Uploaded by
Maroof Ali
AI-enhanced title
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save CPP PYQ For Later
Carousel Previous
Carousel Next
Save
Save CPP PYQ For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 5
Search
Fullscreen
ROW Nein. [ Total No. of Pages : 3 BC(H)-2001 B. C. A. (A) (Third Semester) EXAMINATION, 2020 OBJECT ORIENTED PROGRAMMING USING C++ Time : Three Hours Maximum Marks : 70 Note: Attempt questions from both Sections as directed. Section—A (Short Answer Type Questions) : Note : Attempt any seven questions. Each question carries 4 marks. 7x4=28 1. What is Inline Function ? List the advantages and disadvantages of inline function. P.T.O.wer 7 BC(H)-2001(N) A (2) Explain the Scope Resolution Operator with Suitable example. 3. Explain the this pointer with suitable example. 4. Explain the need of an abstract class with suitable example. What is the need of copy constructor ? Explain. Differentiate between function overriding and function overloading with a suitable example. 7. Explain the different visibility mode in C++. Explain the static member of a class with a suitable example. Differentiate between Default and Default Argument Constructor with a suitable examples. 10. Explain the different file modes with a suitable examples. (c-11) rrrBC(H)-2004(N) (31 Section—B (Long Answer Type Questions) Note : Attempt any fvo questions. Each question carries 21 marks. 2x21=42_. A Write down the rules of operator overloading. © ‘ Write a program in C++ to overload an “>” — (greater than) operator. Discuss the relation of virtual function with the pure virtual function. Where is it used ? WAP in C++ to implement pure virtual function. ie Write a program in C++ to add some records in a Stock file and Display the ‘contents of stock- file. Also modify the contents of file. . , What is the need of Exception Handling 2 Write a progtam in C++ to shows a simple example where multiple catch statements are used to handle various types of exceptions. BC(H)-2001(N) 170 (c-11)121 1BC(H)-2001 2, Explain. the Abstract class with suitable example. 3. Explain this pointer with the suitable examples. 4, Differentiate the function overloading with the function overriding with a suitable example. a Explain the concept of default argument constructor and default constructor with a suitable example. 6. Discuss the ambiguity in inheritance. 7. Explain the ‘static data member and function with the suitable example. 8. How to call the base class constructor through the derived class constructor ? Explain with a suitable example. £9. Explain seckp(), seckg( ), tellp( ) and tellg( ) function with a suitable example. 10, What is the need of Virtual Base Class ? Explain with a suitable example. | _ BC(H)-2001 131 Section—B (Long Answer Type Questions) Note : Attempt any three questions. Each question carries 14 marks. 3%14=42 1. What is operator overloading ? Write down the rules of operator overloading. Write a program in C++ to overload “= =” (equal to) operator. 2. What is a friend function ? Where is it used ? Write a program in C+ in which a function of class A is friend function of class B and class C. . Explain the different file modes which are used in creating a file. Write a program in C++ to create a file and display its contents on the screen. Also modify the contents of file. What is the need of a virtual function ? Discuss the relation of virtual function with the polymorphism with a suitable program. 150
You might also like
C++ Papers
PDF
No ratings yet
C++ Papers
9 pages
Oop Merged
PDF
No ratings yet
Oop Merged
12 pages
Question papers C++
PDF
No ratings yet
Question papers C++
8 pages
Be - Electronics and Telecommunication Engineering - Semester 4 - 2024 - May - Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be - Electronics and Telecommunication Engineering - Semester 4 - 2024 - May - Object Oriented Programming Oop Pattern 2019
2 pages
May Jun 2022
PDF
No ratings yet
May Jun 2022
2 pages
Be Computer Engineering Semester 3 2022 May Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be Computer Engineering Semester 3 2022 May Object Oriented Programming Oop Pattern 2019
2 pages
2021
PDF
No ratings yet
2021
2 pages
OOP in C++
PDF
No ratings yet
OOP in C++
25 pages
BCA - 2nd Sem - June 2022
PDF
No ratings yet
BCA - 2nd Sem - June 2022
3 pages
140705-BE-WINTER-2018
PDF
No ratings yet
140705-BE-WINTER-2018
2 pages
BSC Bca 2 Sem Object Oriented Programming Using CPP 19101909 May 2019
PDF
No ratings yet
BSC Bca 2 Sem Object Oriented Programming Using CPP 19101909 May 2019
2 pages
Wa0005
PDF
No ratings yet
Wa0005
4 pages
Object Oriented Programming Through C++ Feb 2022
PDF
No ratings yet
Object Oriented Programming Through C++ Feb 2022
2 pages
Object Oriented Programming With C++ Jan 2014
PDF
No ratings yet
Object Oriented Programming With C++ Jan 2014
1 page
Be Electronics and Telecommunication Engineering Semester 4 2023 November Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be Electronics and Telecommunication Engineering Semester 4 2023 November Object Oriented Programming Oop Pattern 2019
2 pages
Programming Using C++ Dec 2018 Paper
PDF
No ratings yet
Programming Using C++ Dec 2018 Paper
2 pages
Question Bank
PDF
No ratings yet
Question Bank
16 pages
Object Oriented Programming Using C++
PDF
No ratings yet
Object Oriented Programming Using C++
2 pages
BSC Bca 2 Sem Object Oriented Programming Using CPP 20101289 Nov 2020
PDF
No ratings yet
BSC Bca 2 Sem Object Oriented Programming Using CPP 20101289 Nov 2020
2 pages
Ent-II Regular Sample Que Paper C++
PDF
No ratings yet
Ent-II Regular Sample Que Paper C++
5 pages
C++ Old Paper
PDF
No ratings yet
C++ Old Paper
10 pages
Object Oriented Programming Using C++ 2020
PDF
No ratings yet
Object Oriented Programming Using C++ 2020
2 pages
Oops with C++ PYQ
PDF
No ratings yet
Oops with C++ PYQ
5 pages
Dot NET Exam Analysis
PDF
No ratings yet
Dot NET Exam Analysis
6 pages
Null 2
PDF
No ratings yet
Null 2
4 pages
Bca 2 Sem Computer Science Object Oriented Programming Using CPP Gs 647 Jun 2019
PDF
No ratings yet
Bca 2 Sem Computer Science Object Oriented Programming Using CPP Gs 647 Jun 2019
3 pages
C 2
PDF
No ratings yet
C 2
3 pages
Object Oriented Programming Using C++ PCIT102
PDF
No ratings yet
Object Oriented Programming Using C++ PCIT102
27 pages
Ilovepdf Merged
PDF
No ratings yet
Ilovepdf Merged
12 pages
QB - Object Oriented Programming Using C++-2
PDF
No ratings yet
QB - Object Oriented Programming Using C++-2
25 pages
C++ 5 Year
PDF
No ratings yet
C++ 5 Year
15 pages
Object Oriented Programming Jan 2017 (2010 Scheme)
PDF
No ratings yet
Object Oriented Programming Jan 2017 (2010 Scheme)
2 pages
C++ QP
PDF
No ratings yet
C++ QP
7 pages
Object Oriented Programming Using C++
PDF
No ratings yet
Object Oriented Programming Using C++
3 pages
Oops 1
PDF
No ratings yet
Oops 1
20 pages
2022 3 CSE ObjectXOrientedXProgrammingXusingXCXX
PDF
No ratings yet
2022 3 CSE ObjectXOrientedXProgrammingXusingXCXX
2 pages
Oop Bei Pyqs
PDF
No ratings yet
Oop Bei Pyqs
2 pages
Mca1 1
PDF
No ratings yet
Mca1 1
1 page
OOP Using C++ Major Exam 2013
PDF
No ratings yet
OOP Using C++ Major Exam 2013
4 pages
PYQ OF OOP Unit 3&4
PDF
No ratings yet
PYQ OF OOP Unit 3&4
4 pages
WWW Manaresults Co in
PDF
No ratings yet
WWW Manaresults Co in
4 pages
Object Oriented Programming and Desigbn Question Bank Unit - I Object and Classes
PDF
No ratings yet
Object Oriented Programming and Desigbn Question Bank Unit - I Object and Classes
9 pages
C++ Punjabi University Question Paper
PDF
No ratings yet
C++ Punjabi University Question Paper
5 pages
OOP - Model Exam Question Bank
PDF
No ratings yet
OOP - Model Exam Question Bank
3 pages
Be - Electronics and Telecommunication Engineering - Semester 4 - 2022 - November - Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be - Electronics and Telecommunication Engineering - Semester 4 - 2022 - November - Object Oriented Programming Oop Pattern 2019
2 pages
DS & OOPS Question Bank
PDF
No ratings yet
DS & OOPS Question Bank
16 pages
(CC-203) (Object Oriented Concepts and Programming)
PDF
No ratings yet
(CC-203) (Object Oriented Concepts and Programming)
4 pages
BCA 3 Semester Exam 2014 Object-Oriented Programming Using C++ Code-303301
PDF
No ratings yet
BCA 3 Semester Exam 2014 Object-Oriented Programming Using C++ Code-303301
2 pages
C++ Important Questions
PDF
No ratings yet
C++ Important Questions
8 pages
C (2nd) May2017
PDF
No ratings yet
C (2nd) May2017
1 page
Btech All 3 Sem CPP and Object Oriented Programming Becs2212 2020
PDF
No ratings yet
Btech All 3 Sem CPP and Object Oriented Programming Becs2212 2020
1 page
cse_ass2024
PDF
No ratings yet
cse_ass2024
4 pages
3134 Oct 20
PDF
No ratings yet
3134 Oct 20
2 pages
C++ 2023 Final
PDF
No ratings yet
C++ 2023 Final
2 pages
OOPs-22
PDF
No ratings yet
OOPs-22
2 pages
Summer 2017 Question Paper
PDF
No ratings yet
Summer 2017 Question Paper
4 pages
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
3 pages
Ipjugaad - B Tech 3rd Sem Object Oriented Programming Using C++ Paper 2023
PDF
No ratings yet
Ipjugaad - B Tech 3rd Sem Object Oriented Programming Using C++ Paper 2023
2 pages