December 2015 - Paper 3

26:   Which of the following is used to make an Abstract class ?
A.

Making atleast one member function as pure virtual function

B.

Making atleast one member function as virtual function

C.

Declaring as Abstract class using virtual keyword

D.

Declaring as Abstract class using static keyword

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



27:  
Match the following with reference to object oriented modelling :
 
List - I                                                                     List - II
 
(a) Polymorphism                            (i) Picking both operator and attributes with operations appropriate to model an                                                                 object
 
(b) Inheritance                                 (ii) Hiding implementation details of methods from users of objects
 
(c) Encapsulation                            (iii) Using similar operations to do similar things
 
(d) Abstraction                                (iv) Create new classes from existing class
A.

(iv)  (iii)   (i)   (ii)

B.

(iii)  (iv)   (i)   (ii)

C.

(iii)  (i)     (ii)  (iv)

D.

(iv)  (iii)   (ii)  (i)

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



28:   In CRC based design, a CRC Team consists of :
(a) one or two users representatives
(b) several programmers
(c) project co-ordinators
(d) one or two system analysts
A.

(a) and (c)

B.

(a), (b), (c) and (d)

C.

(a), (c) and (d)

D.

(a), (b) and (d)

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



29:   The end points of a given line are (0, 0) and (6, 18). Compute each value of y as x
steps from 0 to 3, by using equation of straight line :
A.

For x=0, y=0; x=1, y=3; x=2, y=6; x=3, y=9

B.

For x=0, y=1; x=1, y=3; x=2, y=4; x=3, y=9

C.

For x=0, y=2; x=1, y=3; x=2, y=6; x=3, y=9

D.

For x=0, y=0; x=1, y=3; x=2, y=4; x=3, y=6

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



30:  

Which of the following graphic primitives are considered as the basic building blocks of
computer graphics ?
(a) Points (b) Lines (c) Polylines (d) Polygons

A.

(a) only

B.

(a) and (b)

C.

(a), (b) and (c)

D.

(a), (b), (c) and (d)

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here: