PvP 12 |
11 B.Tech - { Semester — Regular Examinations - January 2014
Code: CS3T2, IT3T4
OBJECT ORIENTED PROGRAMMING THROUGH C++
(Common for CSE, IT)
Duration: 3 hours Marks: 5x14=70
Answer any FIVE questions. All questions carry equal marks
1. a) Describe about Iteration Statements with an example. 7M
b) Differentiate between run time errors and compile time
errors. 7M
2. a) How are errors recovered? Explain. 7M
b) Take an example grammar and implement the Grammar
rules on it. 7M
3. Explain the following
i) Scope 4M
ii) pass —by-const-reference. 5M
iii)Namespace 5M
4 a) Define a Class. Write a C++ program explaining about
classes and members. 7M
b) Describe about Helper Functions. 7M
15 a) Describe the file opening modes with an example. 7™M
b) What are user defined output operators? Explain. 7M
6 Explain about the design principles of Graphics class
design. 14M
7 a) Write a C++ program for Palindrome using arrays. 7M
b) Describe about ‘this’ pointer with an example 7M
8 a) Explain Template argument deduction. ™
b) Describe about Linked list operations. 1™M