You are on page 1of 4

Code No: RR222202 Set No.

1
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007
OBJECT ORIENTED PROGRAMMING AND APPLICATIONS
(Instrumentation & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) What is infinite regression in OOP?


(b) Discuss briefly about coping with complexity. [8+8]

2. (a) What is Object-Oriented Design? How this can be called as responsibility


driven design. [6]
(b) What are the differences between conventional programming and object-oriented
programming? [10]

3. (a) Differentiate between inline function and simple function in C++. Give an
example to each of them.
(b) What is operator overloading? State the OOP languages which support ist.
[8+8]

4. (a) What is the use of “finalize” method in Java? Shall it take any arguments
and shall it return any result. [6]
(b) Suppose in a language which does not provide direct support for immutable
instance variables, how do you design a software tool that would help to detect
violations of access? [10]

5. (a) Describe the subclassing for Extension. Give one example. [10]
(b) Describe subclassing for Limitation. [6]

6. (a) What is composition? Describe using of composition with an example.


[6]
(b) What are the two mechanisms for software reuse? Discuss them briefly. [10]

7. (a) What is RTTI (Run-time type identification) in C++? [6]


(b) What are “is-a” methods in class hierarchy? Give one real world example.[10]

8. (a) Explain Visitor traversal pattern with an example.


(b) What are Double- Dispatching patterns? Explain clearly with suitable exam-
ples. [8+8]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR222202 Set No. 2
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007
OBJECT ORIENTED PROGRAMMING AND APPLICATIONS
(Instrumentation & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) Differentiate between information hiding and implementation hiding.


(b) Discuss about abstract mechanisms. [8+8]

2. (a) What is a Component? Explain two important characteristics of it. [6]


(b) What are Scenarios? How these are helpful in object-oriented design? [10]

3. (a) Differentiate between structures in C and structures in C++. Give one exam-
ple to each.
(b) Describe with an example the message passing syntax in C++. [8+8]

4. Compare solution to the Eight-Queens Puzzle in different languages. [16]

5. (a) Describe the subclassing for Extension. Give one example. [10]
(b) Describe subclassing for Limitation. [6]

6. (a) What is a virtual method? Discuss with an example the significance of using
virtual methods in C++.
(b) Compare multiple inheritance in C++ with multiple inheritance which can be
simulated in Java. [8+8]

7. (a) What is RTTI (Run-time type identification) in C++? [6]


(b) What are “is-a” methods in class hierarchy? Give one real world example.[10]

8. (a) The use of an application framework usually leads to an inversion of con-


trol between the new application-specific code and the library-supplied code.
Discuss. [6]
(b) What is Java API? Discuss init(), start(), paint(Graphics) methods. [10]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR222202 Set No. 3
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007
OBJECT ORIENTED PROGRAMMING AND APPLICATIONS
(Instrumentation & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) What is infinite regression in OOP?


(b) Discuss briefly about coping with complexity. [8+8]

2. What is RDD? Illustrate the application of RDD with a case study. [16]

3. (a) What are state attributes of a class? Explain their dynamic use.
(b) Discuss about object declaration and an object instantiation? Give one ex-
ample in C++. [8+8]

4. (a) Explain clearly with an example how object creation and initialization will be
done in Java. [10]
(b) Weather Java supports destructor? Why? [6]

5. State different forms of Inheritance. Give example to each form in JAVA. [16]

6. (a) What is a virtual method? Discuss with an example the significance of using
virtual methods in C++.
(b) Compare multiple inheritance in C++ with multiple inheritance which can be
simulated in Java. [8+8]

7. (a) Discuss the Reverse Polymorphism Problem with suitable real world example.
(b) What is meant by overriding of data fields? Which OOP language will support
it? Describe with an example. [8+8]

8. (a) What is event-driven simulation? [6]


(b) Differentiate between Application frameworks and Design patterns. [10]

⋆⋆⋆⋆⋆

1 of 1
Code No: RR222202 Set No. 4
II B.Tech II Semester Supplimentary Examinations, Aug/Sep 2007
OBJECT ORIENTED PROGRAMMING AND APPLICATIONS
(Instrumentation & Control Engineering)
Time: 3 hours Max Marks: 80
Answer any FIVE Questions
All Questions carry equal marks
⋆⋆⋆⋆⋆

1. (a) What is an object? What is meant by object oriented software development?


(b) “Object Oriented Programming (OOP) is a revolutionary idea”. Discuss.[8+8]

2. (a) What is Object-Oriented Design? How this can be called as responsibility


driven design. [6]
(b) What are the differences between conventional programming and object-oriented
programming? [10]

3. (a) What are state attributes of a class? Explain their dynamic use.
(b) Discuss about object declaration and an object instantiation? Give one ex-
ample in C++. [8+8]

4. (a) Write about Queen CRC Card in solving Eight-Queens problem.


(b) Describe about finding a solution and advancing to the next position in Eight-
Queens problem. [8+8]

5. State and explain different forms of Inheritance. Which forms of inheritance are
supported by C++ and Java. Give suitable examples. [16]

6. (a) What is a virtual method? Discuss with an example the significance of using
virtual methods in C++.
(b) Compare multiple inheritance in C++ with multiple inheritance which can be
simulated in Java. [8+8]

7. (a) Discuss the Reverse Polymorphism Problem with suitable real world example.
(b) What is meant by overriding of data fields? Which OOP language will support
it? Describe with an example. [8+8]

8. (a) What is LAF? Describe classes in LAF. [6]


(b) State and explain different methods defined for class “Application” in LAF.
[10]

⋆⋆⋆⋆⋆

1 of 1

You might also like