Exam Details

Subject object oriented programming and c++
Paper
Exam / Course m.c.a.computer applications
Department
Organization alagappa university
Position
Exam Date April, 2017
City, State tamil nadu, karaikudi


Question Paper

M.C.A. DEGREE EXAMINATION, APRIL 2017.
Second Semester
Computer Applications
OBJECT ORIENTED PROGRAMMING AND
(Common for M.C.A.
(2012 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. What are the special features of over
2. What is the difference between break and continue
statement?
3. How will you make a function inline?
4. Write the rules for destructor.
5. List the rules for overloading function names.
6. What is virtual function?
7. Write down the usage of setw and endl.
8. What do you mean by template?
9. Mention the uses of exception handling.
10. Differentiate between abort and exit function.
Sub. Code
541201/
545201
RW-153
2
Wk 7
Part B x 5 25)
Answer all questions.
11. Explain the structure of a program.
Or
How can you design your own manipulators? Give
an example.
12. What are the differences between friend functions
and member functions? Explain.
Or
Explain points to objects with suitable example.
13. Write a program to overload the operator to
provide string addition.
Or
Explain the usage of abstract data types.
14. Describe the file mode options available in
Or
Define Swap function template for swapping two
objects of the same type.
15. How constructors are used in exception handling?
Or
Illustrate exceptions in class template.
RW-153
3
Wk 7
Part C x 10 30)
Answer any three questions.
16. Explain the formatted and unformatted I/O operations
with examples.
17. Create a class MAT of size m × n. Define all possible
matrix operations for MAT type objects.
18. Describe the different types of inheritances with
examples.
19. Write a program to count the number of characters,
words sentences and lines in a file using command line
arguments.
20. Write a program to display error message when a number
is divided by zero using exception handling.
———————


Other Question Papers

Subjects

  • object oriented programming and c++
  • operating systems