Exam Details
Subject | object oriented programming and c++ | |
Paper | ||
Exam / Course | m.sc. information technology | |
Department | ||
Organization | Alagappa University Distance Education | |
Position | ||
Exam Date | May, 2017 | |
City, State | tamil nadu, karaikudi |
Question Paper
DISTANCE EDUCATION
M.Sc. DEGREE EXAMINATION, MAY 2017.
OBJECT ORIENTED PROGRAMMING AND
(2002 onwards)
Time Three hours Maximum 100 marks
PART A — (10 3 30 marks)
Answer ALL questions.
1. What is a class? What is an object?
2. What is meant by overloading?
3. List any three manipulators and specify their purpose.
4. What is a relational logical expression? Give an example.
5. Explain the use of pointer.
6. What is the implications of the following declaration?
int*p;
7. What is the use of (scope resolution) operator.
8. List the operators that cannot be overloaded.
9. Give an example for multiple inheritance and explain.
10. What is an abstract class?
Sub. Code
13
DE-478
2
Sp7
PART B — × 10 40 marks)
Answer any FOUR questions.
11. What is encapsulation? Explain it with example.
12. Write a program to read a string and to count and
print the number of vowels in it.
13. What is a copy constructor? Give example and explain.
14. Differentiate 'Pass by value' from 'Pass by reference'.
15. How a unary operator is overloaded and used? Explain.
16. What are the types of inheritance in Explain them
with examples.
PART C — 15 30 marks)
Answer any TWO questions.
17. Write a program to create a class for representing
'circle' with suitable attributes and methods. The class
should include a method to calculate the area of the
circle. Also write the main( function.
18. Explain the concept of dynamic polymorphism with
examples.
19. Discuss
Destructors
Streams
Relational operators.
M.Sc. DEGREE EXAMINATION, MAY 2017.
OBJECT ORIENTED PROGRAMMING AND
(2002 onwards)
Time Three hours Maximum 100 marks
PART A — (10 3 30 marks)
Answer ALL questions.
1. What is a class? What is an object?
2. What is meant by overloading?
3. List any three manipulators and specify their purpose.
4. What is a relational logical expression? Give an example.
5. Explain the use of pointer.
6. What is the implications of the following declaration?
int*p;
7. What is the use of (scope resolution) operator.
8. List the operators that cannot be overloaded.
9. Give an example for multiple inheritance and explain.
10. What is an abstract class?
Sub. Code
13
DE-478
2
Sp7
PART B — × 10 40 marks)
Answer any FOUR questions.
11. What is encapsulation? Explain it with example.
12. Write a program to read a string and to count and
print the number of vowels in it.
13. What is a copy constructor? Give example and explain.
14. Differentiate 'Pass by value' from 'Pass by reference'.
15. How a unary operator is overloaded and used? Explain.
16. What are the types of inheritance in Explain them
with examples.
PART C — 15 30 marks)
Answer any TWO questions.
17. Write a program to create a class for representing
'circle' with suitable attributes and methods. The class
should include a method to calculate the area of the
circle. Also write the main( function.
18. Explain the concept of dynamic polymorphism with
examples.
19. Discuss
Destructors
Streams
Relational operators.
Other Question Papers
Subjects
- c++ laboratory
- computer networks
- data structures – laboratory
- data structures and algorithms
- internet programming – laboratory
- internet programming and web design
- multimedia applications
- object oriented dbms
- object oriented programming and c++
- operating systems
- principles of information technology
- software engineering
- visual programming
- visual programming – laboratory