How To Exam?

a knowledge trading engine...


Anna University Chennai 2007-3rd Sem B.E Computer Science /B/Tech , /E and Engineering CS1204 – OBJECT ORIENTED PROGRAMMING - Question Paper

Monday, 25 February 2013 05:40Web

B.E. /B/Tech. DEGREE EXAMINATION, MAY/JUNE 2007
Third Semester
Computer Science and Engineering
CS1204 – OBJECT ORIENTED PROGRAMMING
(Common to info Technology and B.E. (Part – Time) 2nd Semester
Regulation 2005)
(Regulation 2004)
Time: 3 hours Maximum: 100 Marks ans ALL
questions
PART A – (10 ´ two = 20 marks)
1. elaborate the main characteristics of OOP language?
2. elaborate the valid kinds of data that the main( ) can return in C/C++ language?
3. elaborate the difference ranging from default and parameterized constructors?
4. List out the properties of a static member function.
5. elaborate the functions supported by file stream classes for performing I/O
operations?
6. elaborate the kinds of exceptions? C++ provides what kind of exceptions.
7. describe JVM.
8. What is the major difference ranging from interfaces and classes?
9. ‘define multithreading.
10. elaborate the 2 methods by which we may stop threads?
PART B – (5 ´ 16 = 80 marks)
11. (a) (i) define the advantages of OOP. (8)
(ii) elaborate the differences ranging from pointers to constants and constant
pointers? (8)
Or
(b) (i) define the applications of OOP technology. (8)
(ii) What is inline function? discuss the situations where jinline
expansion may no work? (8)

12. (a) (i) discuss copy constructor with suitable C++ coding.
(ii) List out the rules for overloading operators. (8)
Or
(b) (i) discuss hybrid inheritance with suitable C++ coding.
(ii) describe polymorphism. discuss the various kinds of
polymorphism.
13. (a) Write a C++ program to learn from two files simultaneously.
Or
(b) discuss multiple catch statement with the help of suitable C++ coding.
14. (a) discuss method overriding with suitable Java coding.
Or
(b) (i) Write a Java program for alphabetical ordering of strings.
(ii) discuss the various forms of inheritance supported in Java. (6)
15. (a) discuss different forms of interface implementation. (16)
Or
(b) Write a Java program to throw user described exceptions.



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Anna University Chennai 2007-3rd Sem B.E Computer Science /B/Tech , /E and Engineering CS1204 – OBJECT ORIENTED PROGRAMMING - Question Paper