University of Calicut Previous Years Question Paper & Answer

University : University of Calicut
Course : B.Sc

Semester : SEMESTER 2

Year : 2018

Term : MAY

Branch : COMPUTER SCIENCE

Scheme : 2020 Full Time

Course Code : BCS 2B 02

Page:1





PDF Text (Beta):

D 43199 (Pages : 2) ` न

SECOND SEMESTER B.Sc. DEGREE EXAMINATION, MAY 2018
(CUCBCSS-UG)
Computer Science
BCS 2B 02—OOP CONCEPTS AND DATA STRUCTURES USING C++
(2014—2016 Admissions)
Time : Three Hours 7 Maximum : 80 Marks
PartA

Answer all questions.
Each question carries 1 mark.

1. The method by which object of one class gets the properties of objects of another class is known as

2. A function which is not in the scope of the class, but it has full access to the private data members
of the class is known as

3. Ifall the member functions of one class act as friend functions of another class, then the former
class_is called र

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

class is one the instances of which are not created, but used in the class hierarchy.

6. The operation of accessing each record exactly once so that certain items in the record may be
processed is termed as ————.

7. Stack is best suited for :
(a) Evaluation of expressions.
(b) Infix to postfix conversion.
(c) Recursive function implementation.
(d) All of these.

8. Incolumn major order representation of a two dimensional array A, the address of (i, j)" element
is calculated as

is a searching technique which is independent of the number n of elements in the collection
S of data. 3

10. The number of interchanges requires to sort the list of numbers 5, 1, 6, 2, 4 in ascending order
using bubble sort is

(10 x 1 = 10 marks)

Turn over

Similar Question Papers