| Want to join in a course? Need suggestions? Visit CollegeZones.com |
|
Home / Testpapers / Andhra University / Under Graduate Courses /
BTech Information Technology
Object Oriented Analysis and Design |
Ask a question Print this page |
MODEL PAPER
B. Tech (IT) Degree Examination
Second Year - Second Semester
OBJECT ORIENTED ANALYSIS AND DESIGN
Effective from the admitted batch of 2004-2005
Time: 3 hrs
Max Marks: 70
First Question is Compulsory
Answer any four from the remaining questions
All Questions carry equal marks
Answer all parts of any question at one place
1. (a) What are the advantages of an object-oriented paradigm?
Explain the terms
b) Generic Pointer
c) Abstract class
d) Reference Variable
e) Pure Virtual Functions
f) Protected
g) Function Overloading
2. (a) Write the syntax for the C++ switch statement
(b) create the equivalent of a four function calculator. The program should request the user to enter a number , an operator and another number. If should then carry out the specified arithmetic operation : adding . subtraction , multiplying and dividing two numbers (use a switch statement to select the operations). Finally display the result. The program should be interactive to ask the user for another calculation for which the response could be Y or N.
3. Define a class string to represent a string
(a) Overload ‘+=’ to concatenation string objects and to store result in first one.
(b) Overload ‘+’ to concatenate two string objects, a string object & a string constant, and a string
constant & a string object.
(c) Overload all relation operators to compare string objects.
4. Define a class matrix and overload the operators +,-,*,<<,>> to add , subtract and multiply a integer and a matrix. Matrix and matrix.
5. (a) What is a friend function? Explain with examples the need for a friend function.
(b) What is static member of a class? Explain how static variables can be used to count the number of active objects of a class.
(c) Distinguish between private, protected and public access classes.
6. (a) Explain multiple inheritance with the example.
(b) Explain hoe constructors are handles in multiple inheritance.
7. (a) How to implement run time polymorphism? Explain by giving suitable example.
(b) Explain about file handling in C++.
8. (a) Discuss with necessary examples error handling and exception handling in C++.
(b) Define a template class for a vector. Overload the required operators. Also overload ‘=’ for vector assignment.
Engineering Colleges in India
Get the most comprehensive list of Engineering Colleges in India
Engineering Admission Notifications
Recent Notifications for admissions to various Engineering Colleges in India
Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science
Enter a detailed keyword. Ex: Question Papers of Andhra University MCA Ist Semester