How To Exam?

a knowledge trading engine...


Periyar University 2006 B.Sc Computer Science OBJECT ORIENTED PROGRAMMING AND C++ - Question Paper

Sunday, 27 January 2013 02:20Web

B.Sc. DEGREE EXAMINATION, APRIL/MAY 2006.
Fourth Semester
Computer Science
OBJECT ORIENTED PROGRAMMING AND C++
Time : 3 hours Maximum : 100 marks
PART A — (10 x two = 20 marks)
ans ALL ques..
1. What is an object and a class?
2. What is Object oriented programming?
3. Define : Encapsulation.
4. What is transition diagram?
5. What is input steam?
6. What is the role of putback ()?
7. Distinguish Malloe () and Calloe ().
8. What is use of break statement?
10. How do you write a data in file in binary format?
PART B — (5 x four = 20 marks) ans ALL ques..
11. (a) elaborate the advantages of OOPS language?
Or (b) How do you build objects? discuss.
12. (a) Distinguish ranging from goto and jump
statement.
Or
(b) Write a simple program to allocate memory using new operator.
13. (a) Distinguish ranging from the operators & and *.
Or
(b) Write a program to demonstrate nested switch () case statement.
14. (a) Write a program to return more than one
value from function by value.
Or
(b) Distinguish ranging from calling methods for constructor and destructor.
15. (.a) Wftat are the ditferent kinds ol intieritance?
Or
(b) elaborate the differences ranging from templates and macros.
PART C — (5 x 12 = 60 marks) ans ALL ques..
16. (a) discuss the concepts of Object - Oriented
programming.
Or
(b) discuss in detail about the relationship among classes and objects.
17. (a) discuss briefly about key abstraction and
mechanisms.
Or
(b) Write short notes on : (i) module diagrams (ii) process diagrams.
18. (a) With a suitable simple program, discuss the
concept of switch() case statement.
Or
(b) Write a program to call constructor recursively. compute factorial of a provided number.
19. (a) What is the purpose of friend function? Write
a program to perform multiplication using integer and
object.
Or
(b) What is inheritance? With a simple program, discuss the concept of inheritance.
20. (a) discuss the file I/O operations with examples.
Or
(b) Write a program to write contents of 1 file in reverse into a different file.



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Periyar University 2006 B.Sc Computer Science OBJECT ORIENTED PROGRAMMING AND C++ - Question Paper