How To Exam?

a knowledge trading engine...


Amrita Vishwa Vidyapeetham 2008 B.C.A Computer Application Programming In C%2B%2B BC 309 - Question Paper

Tuesday, 15 January 2013 11:05Web

B.C.A. Programming In C++ BC 309 MAY 2008
Time : 3 hours Maximum : 100 marks
ans any 5 ques..
All ques. carry equal marks.
1. (a) Explain the basic concepts of OOP.
(b) What are different C++ data types? discuss with example.
2. (a) Write a C++ program that will ask for a temperature in Fahrenheit and display it in Celsius.
(b) What are different operators used in C++? discuss.
3. (a) Find errors, if any in the subsequent C++ statements :
(i) char Const p;
(ii) long float x ;
(iii) enum (green, yellow, red);
(iv) int const p = total;
(v) const int array_size;
(vi) for (i = 1; int i < 10; i++) cout << i << “\n”;
(vii) int number = 100;
(viii) float p = new int [10]
(ix) int Public = 1000;
(x) char name [3] = “USA”;
(b) Write a program to evaluate the subsequent function to 0.0001% accuracy.
.
4. (a) Write short notes on :
(i) friend function.
(ii) data encapsulation.
(b) Write a macro that finds the largest of 3 members.
5. (a) What are the rules for virtual functions? discuss.
(b) Explain in detail about operator overloading with an example.
6. (a) Explain how polymorphism achieved at
(i) compile time and (ii) run time?
(b) Explain the pitfalls of operator overloading.
7. (a) What are the various forms of inheritance? provide example.
(b) Explain the syntax of multiple inheritance. provide example.
8. Write short notes on :
(a) cin, cout streams
(b) access specifier
(c) dynamic constructor
(d) derived and base classes



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Amrita Vishwa Vidyapeetham 2008 B.C.A Computer Application Programming In C%2B%2B BC 309 - Question Paper