Upload
dangnhi
View
220
Download
1
Embed Size (px)
Citation preview
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.