0% found this document useful (0 votes)
687 views1 page

Oops Paper Mid Term

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.

Uploaded by

kamalshrish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
687 views1 page

Oops Paper Mid Term

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.

Uploaded by

kamalshrish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

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.

You might also like