Object Oriented Programming : Question Paper May 2014 - Computer Engineering (Semester 3) | Pune University (PU)
1 Answer

Object Oriented Programming - May 2014

Computer Engg (Semester 3)

(1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks.

Answer any one question from Q1 and Q2

1 (a) Define the following terms
i) Class
ii) Static data member
iii) Inline function
iv) Member access control.
(8 marks)
1 (b) Explain virtual destructor with example,(4 marks) 2 (a) What is operator overloading? Write a program to overload
i) Operator + for concatenation of two strings
ii) Operator >> for reversing a given string
iii) Operator << for displaying a given string
(8 marks)
2 (b) What is static member function? Give a example for the same.(4 marks)

Answer any one question from Q3 and Q4

3 (a) Explain following
i) Generic Programming
iii) Early binding and late binding
(9 marks)
3 (b) What are core operating system services?(3 marks) 4 (a) How to handle multiple exceptions occurred in a program?(5 marks) 4 (b) What is POSIX_SPAWN ( ) function? How to create a child process using POSIX_SPAWN ( ) function? Explain with example(7 marks)

Answer any one question from Q5 and Q6

5 (a) Explain following:
i) Hardware thread
ii) Software thread
iii) Hybrid thread
iv) User level thread
(8 marks)
5 (b) Explain contention scope of a thread.(5 marks) 6 (a) Explain method of thread creation and joining with suitable code.(8 marks) 6 (b) Explain scheduling policies of a thread.(5 marks)

Answer any one question from Q7 and Q8

7 (a) Explain different PRAM models with respect to concurrent and exclusive memory access.(5 marks) 7 (b) Explain following
i) POSIX semaphore
ii) MUTEX semaphore
With their respective operations.
(8 marks)
8 (a) What are MUTEX attribute object functions?(5 marks) 8 (b) Explain thread strategy approach.(8 marks)

Please log in to add an answer.