B.Tech., III Semester
Examination, June 2023
Grading System (GS)
Max Marks:
70 | Time: 3 Hours
Note:
i) Attempt any five questions.
ii) All questions carry equal marks.
a) Compare the object oriented system with procedure oriented system. (Unit 1)
b) What is the need of type conversion? Discuss different types of type conversion in C++. (Unit 3)
a) What are the features of Object oriented programming. (Unit 1)
b) What is the need of constructor? How it is different from the member function? (Unit 2)
a) What is the significance of static data and member functions in C++? (Unit 2)
b) Write a program to demonstrate friend function in C++. (Unit 4)
a) What is inline function? Write advantages of inline function over macros. (Unit 1)
b) What are the different types of type conversions in C++ explain with examples? (Unit 3)
a) Explain the function pointer with suitable example. (Unit 4)
b) Explain error handling and manipulators in c++? (Unit 5)
a) Explain Calling a Virtual Function Through a Base Class Reference. (Unit 4)
b) Explain Formatted I/O. (Unit 5)
a) When do we need multiple catch blocks for a single try block? Give an example. (Unit 5)
b) What is role of manipulators in C++ Write down different manipulators in C++. (Unit 5)
a) Differentiate between formatted and unformatted I/O. Discuss its different functions. (Unit 5)
b) Write a program to display the contents of a text file in the reverse order. (Unit 5)