Professional Documents
Culture Documents
Page 1 of 3
B.A/B.Sc 3rd Semester (Honours) Examination, 2020 (CBCS)
Subject: Mathematics
Course: BMH3SECI2 (Computer graphics)
Time: 2 Hours Full Marks: 40
The figures in the margin indicate full marks.
Candidates are required to write their answers in their own words as far as practicable.
[Notation and Symbols have their usual meaning]
Page 2 of 3
7. Write a program to find the reverse of an integer 3456 using a function. [5]
8. (i) Write the general form of an operator overloading function. [3]
(ii) Write the syntaxes of the overloading functions for insertion operator ‘>>’ [2]
and extraction operator ‘<<’.
9. Write a class template by name vector and find the smallest of the elements
in the vector with user defined size. [5]
10. What is the need for namespaces? Explain with example. [5]
Page 3 of 3