December 2015 - Paper 2

16:  

A three dimensional array in ‘C’ is declared as int A[x][y][z]. Here, the address of an item at the location A[p][q][r] can be computed as follows (where w is the word length of an integer):

A.

&A[0][0][0]+w(y*z*q+z*p+r)

B.

&A[0][0][0]+w(y*z*p+z*q+r)

C.

&A[0][0][0]+w(x*y*p+z*q+r)

D.

&A[0][0][0]+w(x*y*q+z*p+r)

 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here:



17:  

 In C++, which system-provided function is called when no handler is provided to deal with an exception?

A.

terminate()

B.

unexpected()

C.

abort()

D.

kill()

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



18:  

Which of the following provides the best description of an entity type?

A. A specific concrete object with a defined set of processes (e.g. Jatin with diabetes)
B. A value given to a particular attribute (e.g. height-230 cm)
C. A thing that we wish to collect data about zero or more, possibly real world examples of it may exist.
D. A template for a group of things with the same set of characteristics that may exist in the real world
 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



19:   Data which improves the performance and accessibility of the database are called:
A.

Indexes

B.

User Data

C.

Application Metadata

D.

Data Dictionary

 
 

Option: A

Explanation :

Click on Discuss to view users comments.

Write your comments here:



20:   A relation R={A,B,C,D,E,F,G} is given with following set of functional dependencies:
F={AD→E, BE→F, B→C, AF→G}
Which of the following is a candidate key?
A.

A

B.

AB

C.

ABC

D.

ABD

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here: