How To Exam?

a knowledge trading engine...


Acharya Nagarjuna University (ANU) 2006 M.C.A , -university exam paper

Tuesday, 12 February 2013 09:45Web


M.C.A. DEGREE EXAMINATION, DECEMBER 2006
First Year
Paper - II : PROGRAMMING WITH C++

Time : 3 hours Maximum : 75 marks

part A - (3 X 15 = 45 marks)
ans any 3 of the subsequent.

1. (a) Write a program to create a linked list in C++. (7)
(b) What is inheritance? How many kinds of inheritance is implemented in C++? (8)

2. (a) What is the difference ranging from a function template and a template function class template and a template class? (7)
(b) Write and test a program that instantiates a function template that returns the maximum and minimum of 2 numbers. (8)

3. (a) elaborate friend functions in C++ write a program to implement the same? (7)
(b) Write C++ program to overload .<. operator to check whether a Rational Number is less than other Rational number. (8)

4. (a) What is the difference ranging from pointers and reference variable? elaborate the operations which are permissible on pointer variable? (8)
(b) Write a C++ program to obtain the roots of a quadratic formula and validate. (7)

5. (a) Explain:
(i) kind Conversion
(ii) kind Casting
(iii) kind definitions. (7)
(b) Write a C++ program for linear search. (8)

6. (a) elaborate the different arithmetic, relational operators in C++? Also list all the data kinds in C++. (7)
(b) Write a program to concatenate 2 strings. (8)

part B - (5 X five = 25 marks)
ans any 5 of the subsequent.

7. elaborate the advantages of using to modularize a program?

8. What is overriding discuss with an example?

9. What is static binding and dynamic binding?

10. Write a program to add 2 matrices with all validations.

11. Write about any 5 character functions described in Ctype.h.

12. discuss the difference ranging from copy constructor and assignment operator by an example.

13. What is pure virtual function? discuss with an example.

14. Write a program to obtain the Highest common factor 2 integers.

part C - (5 X one = five marks)
ans ALL ques..

15. What is the difference ranging from a function.s declaration and its definition?

16. What is the outcome of the subsequent segment
int * x;
int * y;
x = new int;
y = x;
delete y;

17. What happens if an array.s initializer has more values than the size of array?

18. What does * this always refer to?

19. What is a memory leak?





( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Acharya Nagarjuna University (ANU) 2006 M.C.A , -university exam paper