file · Web viewraja college of engineering & technology. madurai-20. department of...

2

Click here to load reader

Transcript of file · Web viewraja college of engineering & technology. madurai-20. department of...

Page 1: file · Web viewraja college of engineering & technology. madurai-20. department of electrical & electronics engineering. internal test – i. i. sub. code: cs6456 sub

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – II

SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming

YEAR : II SEMESTER : IV

Date : .03.2017 Maximum : 50 marksPart – A

(Answer All Questions) 5 x 2 = 10 Marks1. Define template and types of templates2. What is operator overloading?Why is it necessary to overload an

operator?3. What is meant by Nested class, Inner class and Wrapper class?4. Write about Access Control in Java?5. Define JVM and JDK.

Part – B1 x 8 = 8 Marks

6. Explain the concept of classes, objects and methods with syntax and an example (CPP or JAVA).

2 x 16 = 32 Marks7.a. Define Templates. List the types of templates & STL. Explain with example program the types of templates.

(or)7.b. Explain with an example the different types of Inheritance in CPP.

8.a. How to run java program? List the features of JAVA. Compare and Contrast CPP and JAVA.

(or)8.b. Explain the different data types, variables and arrays in Java with

example for each.

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – II

SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming

YEAR : II SEMESTER : IV

Date : .03.2017 Maximum : 50 marksPart – A

(Answer All Questions) 5 x 2 = 10 Marks1. Define template and types of templates2. What is operator overloading?Why is it necessary to overload an

operator?3. What is meant by Nested class, Inner class and Wrapper class?4. Write about Access Control in Java?5. Define JVM and JDK.

Part – B 1 x 8 = 8 Marks

6. Explain the concept of classes, objects and methods with syntax and an example (CPP or JAVA).

2 x16 = 32 Marks7.a. Define Templates. List the types of templates & STL. Explain with example program the types of templates.

(or)7.b. Explain with an example the different types of Inheritance in CPP.

8.a. How to run java program? List the features of JAVA. Compare and Contrast CPP and JAVA.

(or)8.b. Explain the different data types, variables and arrays in Java with

example for each.