Karnataka State Open University (KSOU) 2011 B.C.A Computer Application- Oops With C++ - Question Paper
Second Semester B.C.A. Examination, August 2011 OOPS WITH C++
Time : 3 Hours 0 .. Marks : $Q,
Instruction : Answer all question in Part - A and either (a) or (b) of each question in Part - B.
PART-A
.. .;V 'i'O - V:f- V .V a;> :r ?; : ;
I. Answer all questions : (1x10=10)
1) What is.vadtbiei?j OO ."00 1 Yi:;;;?.; f y;OjyO 0 v:pW >.
2) Wfaat is encapsulation? 3 oeO- v5f;oiva y-k noo.ay OO'Y-- 0;'
3) What is data abstraction?
4) What is stream ?
5) What is message passing ?
6) What is polymorphism ?
7) What is caUihyyaluv?,,
8) What is function overloading, ?,
9) What is class ?
10) What is array ? :-Ov.- yy..:y. :ru-'O 0 ;.,y
II. Answer the questions in a paragraph : (5x4=20)
11) What is meant by default arguments ? Give example.
12) Explain in detail about structure with syntax.
13) What is destructor ? Give syntax and example.
14) What are file modes ? Describe various file mode options.
15) Write about functions in C++.
Answer the questions in detail:
(5x10=50)
16) a/ Explain basic concepts of OOPs.
OR |
b. Write about If. Else statement, Switch statement and DO... WHILE statement.
17) a. Explain all types of inheritance.
b. What is a friend function ? Describe their benefits and limitations. :;!
18) a. Explain explicit constructor, parameterized constructors and multiple
constructors with suitable example.
OR .....
b. Define packages. Explain in detail.
19) a. Describe virtual functions with an example.
OR
b. What is pointer ? Explain advantages of pointer with example,
20) a. Explain the details about exception handling.
OR
b. What are the different forms of inheritance supported in C++ ?;Disciis& (OJ
Attachment: |
Earning: Approval pending. |