Exam Details
Subject | object oriented programming | |
Paper | ||
Exam / Course | b.tech. - information technology | |
Department | ||
Organization | SETHU INSTITUTE OF TECHNOLOGY | |
Position | ||
Exam Date | May, 2017 | |
City, State | tamil nadu, pulloor |
Question Paper
Reg. No.
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
Third Semester
Information Technology
01UIT304 OBJECT ORIENTED PROGRAMMING
(Common to Computer Science and Engineering)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions.
PART A (10 x 2 20 Marks)
1. What do you mean by Data Abstraction?
2. List the features of inline function.
3. How does a constructor differ from normal functions?
4. Mention the rules for defining constructors.
5. What are the various ways of handling exceptions?
6. Give simple example program for exception handling.
7. What is a pure virtual function?
8. Define abstract class.
9. What are the manipulators available in
10. Define object serialization.
PART B x 16 80 Marks) 11. Illustrate the basic concepts of object oriented programming.
Or
Question Paper Code: 31834
2
31834
Define Scope and explain the different storage classes available in What are friend functions? Explain their characteristics with a suitable example.
12. Define constructor and destructor with a sample program. Explain about copy constructor with suitable example. Or Write a program to overload and operators to read and write user defined objects of Student Class. Use friend functions for overloading.
13. Mention the components of exception handling. What is the role of each component? Illustrate. Or Create an abstract base class shape with two members base and height, a member function for initialization and a pure virtual function to compute area Derive two specific classes Triangle and Rectangle which override the function area Use these classes in a main function and display the area of a triangle and a rectangle.
14. What is multiple inheritance? Discuss the syntax and rules of multiple inheritance in C++.How can you pass parameters to the constructors of base classes in multiple inheritance? Explain with suitable example. Or Write a program to demonstrate the problem available in Multiple Inheritance. Also illustrate how it can be resolved.
15. Write a program which copies the contents of one file to a new file by removing unnecessary space between words Explain the use of any five manipulators with an example. Or
What are the two methods of opening a file? Explain with examples. What is the difference between the two methods?
B.E. B.Tech. DEGREE EXAMINATION, MAY 2017
Third Semester
Information Technology
01UIT304 OBJECT ORIENTED PROGRAMMING
(Common to Computer Science and Engineering)
(Regulation 2013)
Duration: Three hours Maximum: 100 Marks
Answer ALL Questions.
PART A (10 x 2 20 Marks)
1. What do you mean by Data Abstraction?
2. List the features of inline function.
3. How does a constructor differ from normal functions?
4. Mention the rules for defining constructors.
5. What are the various ways of handling exceptions?
6. Give simple example program for exception handling.
7. What is a pure virtual function?
8. Define abstract class.
9. What are the manipulators available in
10. Define object serialization.
PART B x 16 80 Marks) 11. Illustrate the basic concepts of object oriented programming.
Or
Question Paper Code: 31834
2
31834
Define Scope and explain the different storage classes available in What are friend functions? Explain their characteristics with a suitable example.
12. Define constructor and destructor with a sample program. Explain about copy constructor with suitable example. Or Write a program to overload and operators to read and write user defined objects of Student Class. Use friend functions for overloading.
13. Mention the components of exception handling. What is the role of each component? Illustrate. Or Create an abstract base class shape with two members base and height, a member function for initialization and a pure virtual function to compute area Derive two specific classes Triangle and Rectangle which override the function area Use these classes in a main function and display the area of a triangle and a rectangle.
14. What is multiple inheritance? Discuss the syntax and rules of multiple inheritance in C++.How can you pass parameters to the constructors of base classes in multiple inheritance? Explain with suitable example. Or Write a program to demonstrate the problem available in Multiple Inheritance. Also illustrate how it can be resolved.
15. Write a program which copies the contents of one file to a new file by removing unnecessary space between words Explain the use of any five manipulators with an example. Or
What are the two methods of opening a file? Explain with examples. What is the difference between the two methods?
Other Question Papers
Subjects
- advanced database systems
- agile software development
- analog and digital communication
- analysis and design of algorithms
- applied statistics and queuing networks
- building enterprise application
- coding and information theory
- compiler design
- computer networks
- computer organization
- cryptography and network security
- data analytics
- data mining concepts and techniques
- database systems
- discrete mathematics
- embedded computing systems
- environmental science and engineering
- graphics with opengl
- high performance networks
- information storage management
- java programming
- management information systems
- microprocessors and microcontrollers
- mobile communication systems
- object oriented analysis and design
- object oriented programming
- object oriented software engineering methodologies
- principles of operating systems
- principles of software testing
- programming with data structures
- project management and finance
- qualitative and quantitative aptitude
- service oriented architecture
- software architecture
- transforms and partial differential equations
- user interface framework development
- web technology
- wireless communication