University of Calicut Previous Years Question Paper & Answer

University : University of Calicut
Course : B.Sc

Semester : SEMESTER 2

Year : 2015

Term : MAY

Branch : COMPUTER SCIENCE

Scheme : 2020 Full Time

Course Code : BCS 2B 02

Page:1





PDF Text (Beta):

Time :

10.

11.
12.
18.

py |

0 82982 of ஜி (Pages : 2) Bat ಕೆ ലിക

ந த ಯ 2 2
SECOND SEMESTER B.Sc. DEGREE EXAMINATION, MAY 2015
(CUCBCSS-UG)
Core Course—Computer Science
BCS 2B 02—OOP CONCEPTS AND DATA STRUCTURES USING C++
Three Hours | 080/7002 : 80 118೧೬
PartA

Answer all the questions.
Each question carries 1 mark.

. The wrapping up of data and functions into a single unit is called

In C++ the concept of provides a facility to call a function without specifying all its
arguments.

is a special member function which enables an object to initialize itself when-it is
created.

. A protected member inherited in public mode becomes —--———— in the derived class.

. Ifamember function does not alter any data in the class, then we declare such member functions

as ——————— member functions.

data structure stores a list of finite number of similar data elements referenced
respectively by a set of rn consecutive numbers.

. The data structure required to evaluate a postfix expression is
. If the address of Afij[l] and A[2][1] are 1000 and 1010 respectively and each element occupies

2 bytes of memory, then the array has been stored in —--———— order.
The postfix form of A x B + C/D is

The number of interchanges required to sort the list of numbers 5, 1, 6, 2, 4 in ascending order
using bubble sort is
(10 x 1 = 10 marks)
Part B

Answer all the questions.
Each question carries 2 marks.

List any four striking features of OOP methodology.
What do you mean by containership ?

Define a sparse matrix.

Turn over

Similar Question Papers