Você está na página 1de 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.