Skip to main content
Open navigation menu
Close suggestions
Search
Search
en
Change Language, English
Upload
Sign in
Sign in
0 ratings
0% found this document useful (0 votes)
85 views
3 pages
BCA - 2nd Sem - June 2022
Question paper
Uploaded by
Arryaa
AI-enhanced title
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save BCA_2nd Sem_June 2022 For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
85 views
3 pages
BCA - 2nd Sem - June 2022
Question paper
Uploaded by
Arryaa
AI-enhanced title
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Go to previous items
Download
Save
Save BCA_2nd Sem_June 2022 For Later
Share
0%
0% found this document useful, Mark this document as useful
0%
0% found this document not useful, Mark this document as not useful
Print
Embed
Report
Go to next items
Download
Save BCA_2nd Sem_June 2022 For Later
Share
More options
Fullscreen
@ Gi) Printed Pages : 3 Roll No. ....s.se0se0e 29 Sub. Code: LOL9 | 2] 2 Exam. Code: L0[ 0] 21/8) Questions Bachelor of Computer Applications 2™ Semester (2042) OBJECT ORIENTED PROGRAMMING USING C++ Paper—BCA-16-204 Time Allowed : Three Hours] [Maximum Marks : 65 Note :— Attempt one question from each Section (A to D) and the entire compulsory question (Section E). All questions carry equal marks. SECTION—A (a) Differentiate between Abstraction and Encapsulation. What are the advantages of new operator over malloc)? 7 (b) Describe in brief: @ Use of reference variable Gi) Typeccasting “6 What are objects and how are they created ? How is memory allocated for them ? Write a sample program to demonstrate this. 13 0922/PQ-14906 1 [Turn overSECTION—B Describe the scenario in which operator overloading should be “implemented. List the benefits achieved. Write a program to calculate distance between two coordinate points. General mathematical formula is - sqrt ((x2-x1) + (y2-y1)’) 13 (a) Data hiding features of OOPS does not allow to: access private data of another class directly. How does friend function make it possible ? Demonstrate with an example. 7 (b) How is a constructor function different from an ordinary function ? Ifa constructor is declared inline, how does compiler optimize it ? 6 SECTION—C (a) _ In what ways are inheritance and polymorphism related ? Differentiate between protected and private members in context of inheritance. 7 (b) Describe the ambiguity that may arise in multiple inheritance. . 6 How does a virtual function help achieve runtime polymorphism ? List the rules for virtual functions. Write a program to show the utility of virtual functions. 13 SECTION—D How is an exception handled in C++ ? What should be placed inside a ‘catch’ block ? How is an exception re-thrown? 13 What are the steps involved in using a file in C++ program ? Discuss various classes available for file operations. 13 0922/PQ-14906 2SECTION—E -9. Answer the following : (a) List four new operators added by C++ which aid oop. 2 (b) When do we need to use default arguments in a function? 2 (c) Why is it important to have destructors ? 2 (d) What is a virtual base class 2 2 (©) What is the advantage of saving data in binary file format ? 2 () When do we use multiple catch handlers ? 3 0922/PQ-14906 3 5500
You might also like
New Object Oriented Programming Exam
PDF
No ratings yet
New Object Oriented Programming Exam
2 pages
Object Oriented Programming Question Bank
PDF
100% (1)
Object Oriented Programming Question Bank
9 pages
Object Oriented Programming Exam Paper
PDF
No ratings yet
Object Oriented Programming Exam Paper
1 page
Banking System Design in C++ OOP
PDF
No ratings yet
Banking System Design in C++ OOP
6 pages
C++ Object Oriented Programming Exam Papers
PDF
No ratings yet
C++ Object Oriented Programming Exam Papers
4 pages
C++ Object-Oriented Programming Exam Guide
PDF
No ratings yet
C++ Object-Oriented Programming Exam Guide
4 pages
OOP Exam: Key Concepts and Questions
PDF
No ratings yet
OOP Exam: Key Concepts and Questions
5 pages
Object Oriented Progamming in C++ (OOP in CPP Q&A)
PDF
100% (1)
Object Oriented Progamming in C++ (OOP in CPP Q&A)
76 pages
CS6301 Programming Data Structures II
PDF
No ratings yet
CS6301 Programming Data Structures II
21 pages
C++ Object-Oriented Concepts Solutions
PDF
No ratings yet
C++ Object-Oriented Concepts Solutions
17 pages
C++ OOP Exam Questions and Concepts
PDF
No ratings yet
C++ OOP Exam Questions and Concepts
1 page
Understanding Class Constructors in C++
PDF
No ratings yet
Understanding Class Constructors in C++
41 pages
OOP C++ 2025 Exam Key Topics & Questions
PDF
No ratings yet
OOP C++ 2025 Exam Key Topics & Questions
2 pages
Computer Networks Assignment Questions
PDF
No ratings yet
Computer Networks Assignment Questions
1 page
Data Structures and OOP in C++
PDF
No ratings yet
Data Structures and OOP in C++
2 pages
Key C++ Questions for 2nd Sem
PDF
No ratings yet
Key C++ Questions for 2nd Sem
2 pages
Java Classes, Objects, and Constructors Explained
PDF
No ratings yet
Java Classes, Objects, and Constructors Explained
19 pages
Data Structures Question Bank for C++
PDF
No ratings yet
Data Structures Question Bank for C++
4 pages
Object-Oriented Programming in C++
PDF
No ratings yet
Object-Oriented Programming in C++
27 pages
CS25C07
PDF
No ratings yet
CS25C07
2 pages
OOP Concepts and C++ Fundamentals
PDF
No ratings yet
OOP Concepts and C++ Fundamentals
46 pages
Object Oriented Programming in C++
PDF
No ratings yet
Object Oriented Programming in C++
0 pages
Introduction to OOP Concepts and Principles
PDF
No ratings yet
Introduction to OOP Concepts and Principles
89 pages
C++ Classes and Structures Overview
PDF
100% (1)
C++ Classes and Structures Overview
63 pages
Basic Java Q&A for Beginners
PDF
No ratings yet
Basic Java Q&A for Beginners
2 pages
Object-Oriented Programming Basics
PDF
100% (2)
Object-Oriented Programming Basics
15 pages
OOPs Exam Questions in C++
PDF
No ratings yet
OOPs Exam Questions in C++
28 pages
C++ Templates and Exception Handling Guide
PDF
No ratings yet
C++ Templates and Exception Handling Guide
36 pages
UML Class Diagrams in C++ Programming
PDF
No ratings yet
UML Class Diagrams in C++ Programming
15 pages
CS25C07 Question Bank
PDF
No ratings yet
CS25C07 Question Bank
3 pages
C++ Object-Oriented Programming Guide
PDF
No ratings yet
C++ Object-Oriented Programming Guide
28 pages
C++ & Data Structures MCQs for Exams
PDF
No ratings yet
C++ & Data Structures MCQs for Exams
3 pages
Object-Oriented Programming Insights
PDF
No ratings yet
Object-Oriented Programming Insights
125 pages
OOP Syllabus for CS-252 Course
PDF
No ratings yet
OOP Syllabus for CS-252 Course
26 pages
C++ Object-Oriented Concepts Guide
PDF
No ratings yet
C++ Object-Oriented Concepts Guide
23 pages
Object-Oriented Programming in C++
PDF
No ratings yet
Object-Oriented Programming in C++
111 pages
B Tech OOP Exam Paper Dec 2020
PDF
No ratings yet
B Tech OOP Exam Paper Dec 2020
2 pages
C Programming Question Bank for Anna University
PDF
No ratings yet
C Programming Question Bank for Anna University
16 pages
C++ Object-Oriented Programming Exam 2024
PDF
No ratings yet
C++ Object-Oriented Programming Exam 2024
2 pages
CSE202: Object Oriented Programming Syllabus
PDF
No ratings yet
CSE202: Object Oriented Programming Syllabus
2 pages
Mathematical Structures For Computer Science
PDF
No ratings yet
Mathematical Structures For Computer Science
6 pages
Upcasting and Downcasting in C++
PDF
No ratings yet
Upcasting and Downcasting in C++
10 pages
Object-Oriented Programming Question Bank
PDF
No ratings yet
Object-Oriented Programming Question Bank
23 pages
Mod-1 DS Using C++
PDF
No ratings yet
Mod-1 DS Using C++
27 pages
Java Arrays, Strings, Vectors, Interfaces, Packages
PDF
No ratings yet
Java Arrays, Strings, Vectors, Interfaces, Packages
25 pages
BCA Data Structures Exam Questions 2025
PDF
No ratings yet
BCA Data Structures Exam Questions 2025
3 pages
Introduction to Object-Oriented Programming
PDF
No ratings yet
Introduction to Object-Oriented Programming
122 pages
DSC++ Question Bank
PDF
No ratings yet
DSC++ Question Bank
10 pages
OOPs in C++ UNIT-I
PDF
No ratings yet
OOPs in C++ UNIT-I
135 pages
Object Oriented Programming Question Bank
PDF
No ratings yet
Object Oriented Programming Question Bank
15 pages
OOP Concepts and Characteristics Explained
PDF
No ratings yet
OOP Concepts and Characteristics Explained
3 pages
Pokhara University OOP Solutions Guide
PDF
No ratings yet
Pokhara University OOP Solutions Guide
2 pages
C++ OOP Concepts and Examples
PDF
No ratings yet
C++ OOP Concepts and Examples
10 pages
Basic Concepts of Object-Oriented Programming
PDF
No ratings yet
Basic Concepts of Object-Oriented Programming
3 pages
BCA 2nd Sem Practical Questions 2023
PDF
No ratings yet
BCA 2nd Sem Practical Questions 2023
1 page
Understanding Static Methods and Fields
PDF
No ratings yet
Understanding Static Methods and Fields
10 pages
PU Past Questions OOP C++
PDF
No ratings yet
PU Past Questions OOP C++
27 pages
BCA C++ Model Question Paper 2024
PDF
100% (2)
BCA C++ Model Question Paper 2024
8 pages
BCA-242-20, 23-201 Object Oriented Programming Using C++
PDF
No ratings yet
BCA-242-20, 23-201 Object Oriented Programming Using C++
2 pages
CS25C07
PDF
No ratings yet
CS25C07
8 pages