The document contains an exam paper for the course "Computer Science and Information Technology (CSc. 202) - Object Oriented Programming" at Tinau Technical College. It has two sections - Section A contains two long-form questions and Section B contains eight short-form questions. The topics covered include features of object-oriented programming, operator overloading, inheritance ambiguity, inline functions, function templates, exception handling, this pointer, input/output functions, and accessing member functions from outside a class. Students must attempt one question from Section A and four questions from Section B within the 1.5 hour exam duration.
The document contains an exam paper for the course "Computer Science and Information Technology (CSc. 202) - Object Oriented Programming" at Tinau Technical College. It has two sections - Section A contains two long-form questions and Section B contains eight short-form questions. The topics covered include features of object-oriented programming, operator overloading, inheritance ambiguity, inline functions, function templates, exception handling, this pointer, input/output functions, and accessing member functions from outside a class. Students must attempt one question from Section A and four questions from Section B within the 1.5 hour exam duration.
The document contains an exam paper for the course "Computer Science and Information Technology (CSc. 202) - Object Oriented Programming" at Tinau Technical College. It has two sections - Section A contains two long-form questions and Section B contains eight short-form questions. The topics covered include features of object-oriented programming, operator overloading, inheritance ambiguity, inline functions, function templates, exception handling, this pointer, input/output functions, and accessing member functions from outside a class. Students must attempt one question from Section A and four questions from Section B within the 1.5 hour exam duration.
Full Marks : 30 Computer Science and Information Technology (CSc. 202) Pass Marks : 12 (Object Oriented Programming) Time : 1:30 hours Section A Attempt any one question: 10 1. Write any four features of object-oriented programming. What ambiguity can be caused by multiple inheritance? How can you solve it? Explain with example. 2. Create a class MATRIX and perform unary operator overloading -(minus) as member function to negate all numbers in matrix, ++ as friend function and postfix to increase all numbers by one, binary + as member and * as friend function. Show constructor and destructor also. Section B Attempt any four questions: (4x5=20) 3. Define inline function. Give one example 4. Explain function template with example. 5. Explain exceptional handling with example. 6. Write short notes on this pointer. 7. Write the syntax and use of get line () and write () functions. 8. Explain about accessing a member function outside a class with example.
Tinau Technical College
Bachelor Level/Second Year/Third Semester/Science Full Marks : 30 Computer Science and Information Technology (CSc. 202) Pass Marks : 12 (Object Oriented Programming) Time : 1:30 hours Section A Attempt any one question: 10 1. Write any four features of object-oriented programming. What ambiguity can be caused by multiple inheritance? How can you solve it? Explain with example. 2. Create a class MATRIX and perform unary operator overloading -(minus) as member function to negate all numbers in matrix, ++ as friend function and postfix to increase all numbers by one, binary + as member and * as friend function. Show constructor and destructor also. Section B Attempt any four questions: (4x5=20) 3. Define inline function. Give one example 4. Explain function template with example. 5. Explain exceptional handling with example. 6. Write short notes on this pointer. 7. Write the syntax and use of get line () and write () functions. 8. Explain about accessing a member function outside a class with example.
Tinau Technical College
Bachelor Level/Second Year/Third Semester/Science Full Marks : 30 Computer Science and Information Technology (CSc. 202) Pass Marks : 12 (Object Oriented Programming) Time : 1:30 hours Section A Attempt any one question: 10 1. Write any four features of object-oriented programming. What ambiguity can be caused by multiple inheritance? How can you solve it? Explain with example. 2. Create a class MATRIX and perform unary operator overloading -(minus) as member function to negate all numbers in matrix, ++ as friend function and postfix to increase all numbers by one, binary + as member and * as friend function. Show constructor and destructor also. Section B Attempt any four questions: (4x5=20) 3. Define inline function. Give one example 4. Explain function template with example. 5. Explain exceptional handling with example. 6. Write short notes on this pointer. 7. Write the syntax and use of get line () and write () functions. 8. Explain about accessing a member function outside a class with example.