BABSc, B.Com & BCA Questions _III - Nalanda Open University
BABSc, B.Com & BCA Questions _III - Nalanda Open University
BABSc, B.Com & BCA Questions _III - Nalanda Open University
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>Nalanda</strong> <strong>Open</strong> <strong>University</strong><br />
Annual Exam-2010,<br />
Bachelor in <strong>Com</strong>puter Application, Part-<strong>III</strong><br />
Paper-XIX (CS-72)<br />
Time: 3Hrs Full Marks: 60<br />
Answer any five questions. All questions are of equal marks.<br />
1. Explain the use of inheritance with the help of an example. List three advantages<br />
of inheritance.<br />
2. Explain the signification of virtual function with the help of an example. What is a<br />
pure virtual function?<br />
3. How is exception handling performed in C++? Write a program that throws an<br />
exception when an input number is greater than 1000.<br />
4. Write a program in C++ that maintains the list of students enrolled in different<br />
courses along with their personal details in a file. Write code for creating, reading<br />
and updating this file.<br />
5. How are arrays declared in C++? How can pointers manipulate array elements?<br />
Give an example.<br />
6. Write a Program which will accept a string from the user, reverse it and find<br />
whether the string is a palindrome or not.<br />
7. Explain five basic characteristics of object oriented language. How is Object<br />
Oriented Programming different from Procedural Programming?<br />
8. Define a class string with suitable constructors and destructors. Write a friend<br />
function addstring that concatenates two strings e.g. addition of two strings “add”<br />
and “string” is “addstring”.<br />
9. Differentiate between dynamic typing, dynamic binding and late binding.<br />
10. Explain the following with the help of an example each :<br />
i. Static data member<br />
ii. File streams in C++<br />
iii. Bitwise operator