December 2015 - Paper 3

56:  

Suppose ORACLE relation R(A, B) currently has tuples {(1, 2), (1, 3), (3, 4)} and relation S(B, C) currently has {(2, 5), (4, 6), (7, 8)}. Consider the following two SQL queries SQ1 and SQ2 :

SQ1 : Select * from R Full Join S On R.B=S.B;

SQL2 : Select * from R Inner Join S On R.B=S.B;

The numbers of tuples in the result of the SQL query SQ1 and the SQL query SQL2 are given by :

A.

2 and 6 respectively

B.

6 and 2 respectively

C.

2 and 4 respectively

D.

4 and 2 respectively

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



57:  

Consider the following three SQL queries (Assume the data in the people table) :

(a) Select Name from people where Age>21;

(b) Select Name from people where Height>180;

(c) Select Name from people where (Age>21) or (Height>180);

If the SQL queries (a) and (b) above, return 10 rows and 7 rows in the result set respectively, then what is one possible number of rows returned by the SQL query (c) ?

A.

3

B.

7

C.

10

D.

21

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



58:  

The distributed system is a collection of (P) and communication is achieved in distributed system by (Q) , where (P) and (Q) are :

A.
Loosely coupled hardware on tightly coupled software and disk sharing, respectively.
B.
Tightly coupled hardware on loosely coupled software and shared memory, respectively.
C.
Tightly coupled software on loosely coupled hardware and message passing,respectively.
D.

Loosely coupled software on tightly coupled hardware and file sharing, respectively.

 
 

Option: C

Explanation :

Click on Discuss to view users comments.

Write your comments here:



59:  
Consider the two class classification task that consists of the following points :
Class C1 : [-1, -1], [-1, 1], [1, -1]
Class C2 : [1, 1]
The decision boundary between the two classes C1  and C2  using single perceptron is given by :
A.

x1 -x2 -0.5=0

B.

-x1 +x2 -0.5=0

C.

0.5(x1 +x2 )-1.5=0

D.

x1 +x2 -0.5=0

 
 

Option: D

Explanation :

Click on Discuss to view users comments.

Write your comments here:



60:  
Consider a standard additive model consisting of rules of the form of
If x is Ai  AND y is Bi  THEN z is Ci.
Given crisp inputs x=x0 , y=y0 , the output of the model is :
 
A. 20727
B. 20727
C. 20727
D. 20727
 
 

Option: B

Explanation :

Click on Discuss to view users comments.

Write your comments here: