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
You are on page 1/ 3
woo‘ngauljuo"MmMayy/:sdny
https://www.onlinebu.com
No. of Printed Pages : 8 (No
GS-647
Il Semester B.C.A. Examination, May/June - 2019
COMPUTER SCIENCE
BCA-204 : Object Oriented Programming Using C++ (2K8)
Time : 3 Hours Max. Marks : 70
Instructions : Answer all sections.
SECTION - A
Answer any ten questions. Each question carries one marks. 10x1=10
1. Define Data Abstraction.
2. What is the need of header files in C++ ?
3. Define class.
4. Write the significance of scope resolution operator.
S. Name the default access specifier in C++,
6. What is Hybrid Inheritance ?
7. What is the purpose of using constructors ?
8. Name any two operations performed by using pointers.
9. What is polymorphism ?
10. What is friend function ?
11. Define virtual function.
12. What is the use of EOF ?
P.T.O.
https://www.onlinebu.com
too ngompuo-mmay/-sdiiywoo ‘ngauljuo" MaMA//:sdny
‘www.onlinebu.com
GS-647 2 (OR
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.:
26.
SECTION - B
Answer any five questions. Each question carries three marks. 5x3=15
List the various features of OOPs. Write any two limitations of OOPs.
What is constant Qualifier ? Explain with example.
How do function defined in C++ ?
What is inline function ? Name two advantages of it.
Explain any three built in string functions with example.
What is the difference between actual parameter and formal parameters ?
What is functiori overloading ? Explain with an example.
What is a function template ? Explain.
SECTION - C
Answer any five questions. Each question carries seven marks. 5x7=35
(a) Write the applications of object oriented programming.
(b) Explain class definition with an example.
wos ngouruO- Mm m//:sdny
{a) Describe the different data types used in C++.
(b) Write the difference between call by value and call by reference.
What is constructor ? Write the different rules in naming constructor in
OOPs. https://www.onlinebu.com
Write a C++ program to overload ‘+ operator to perform addition of two
matrices.
What is Inheritance ? Explain the different types of inheritance and also
write the advantages of it.
Explain overriding functions with an example.
https://www.onlinebu.comwoo ‘ngauljuo"- MaMA//:sdny
Il
2
2
a
3
https://www.onlinebu.com
LY 3 as647
7. (a) Describe the different modes of opening a file in C++.
(b) Explain the file pointers seekp(), tellp() and seekg().
8. Write a Ct+ program to search an element using templates.
SECTION - D
Answer any one question. Each question carries ten marks. 1x10=10
9. Write a C++ program to find the largest of three numbers using template.
0. Explain the mechanism of Exception Handling in C++ with various blocks
associated with Exception Handling.
-000-
wos ngouruo Mm M//:sdy
https:/www.onlinebu.com
‘Whatsapp @ 9300930012
Send your old paper & get 10/-
war quer ded sex ate 10 wrt ora,
Paytm or Google Pay &
https://www.onlinebu.com