file · web viewdifferentiate procedure oriented programming(pop) and object oriented...

2
RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20 DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – I SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming YEAR : II SEMESTER : IV Date : 08.02.2017 Maximum : 100 marks Part – A (Answer All Questions) 5 x 2 = 10 Marks 1. What are the Concepts of OOPs 2. Differentiate Procedure Oriented Programming(POP) and Object Oriented Programming(OOP) 3. What are the different types of Functions in cpp? 4. Define Iterator, Data Hiding. 5. Define a Class and Variable.Give Eg. Part – B 1 x 8 = 8 Marks 6. What is a function? Explain friend functions and Inline Functions. 2 x 16 = 32 Marks 7.a. Explain the various Statements that are available in C++ with syntax for each and an example. (or) 7.b. Explain the major principles of object oriented programming with illustrations and neat diagram. 8.a. Define polymorphism. List the different types of polymorphism. Explain ant two types of polymorphism in C++ with suitable examples. (or) 8.b. What is a constructor and destructor? Explain any one type of constructor and destructor with Program Example. RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20 DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – I SUB. CODE: CS6456 SUB. NAME: Object Oriented Programming YEAR : II SEMESTER : IV Date : 08.02.2017 Maximum : 100 marks Part – A

Upload: dangnhi

Post on 06-Feb-2018

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: file · Web viewDifferentiate Procedure Oriented Programming(POP) and Object Oriented Programming(OOP) What are the different types of Functions in cpp? Define Iterator,

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – I

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

YEAR : II SEMESTER : IV

Date : 08.02.2017 Maximum : 100 marksPart – A

(Answer All Questions) 5 x 2 = 10 Marks1. What are the Concepts of OOPs2. Differentiate Procedure Oriented Programming(POP) and Object

Oriented Programming(OOP)3. What are the different types of Functions in cpp?4. Define Iterator, Data Hiding.5. Define a Class and Variable.Give Eg.

Part – B1 x 8 = 8 Marks

6. What is a function? Explain friend functions and Inline Functions.

2 x 16 = 32 Marks7.a. Explain the various Statements that are available in C++ with

syntax for each and an example.(or)

7.b. Explain the major principles of object oriented programming with illustrations and neat diagram.

8.a. Define polymorphism. List the different types of polymorphism. Explain ant two types of polymorphism in C++ with suitable examples. (or)

8.b. What is a constructor and destructor? Explain any one type of constructor and destructor with Program Example.

RAJA COLLEGE OF ENGINEERING & TECHNOLOGY MADURAI-20

DEPARTMENT OF ELECTRICAL & ELECTRONICS ENGINEERING Internal Test – I

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

YEAR : II SEMESTER : IV

Date : 08.02.2017 Maximum : 100 marksPart – A

(Answer All Questions) 5 x 2 = 10 Marks1. What are the Concepts of OOPs2. Differentiate Procedure Oriented Programming(POP) and Object

Oriented Programming(OOP)3. What are the different types of Functions in cpp?4. Define Iterator, Data Hiding.5. Define a Class and Variable.Give Eg.

Part – B1 x 8 = 8 Marks

6. What is a function? Explain friend functions and Inline Functions.

2 x 16 = 32 Marks7.a. Explain the various Statements that are available in C++ with

syntax for each and an example.(or)

7.b. Explain the major principles of object oriented programming with illustrations and neat diagram.

8.a. Define polymorphism. List the different types of polymorphism. Explain ant two types of polymorphism in C++ with suitable examples. (or)

8.b. What is a constructor and destructor? Explain any one type of constructor and destructor with Program Example.