Question 1
Implicit return type of a class constructor is:
not of class type itself
class type itself
a destructor of class type
a destructor not of class type
Question 2
INT signal is sent by the terminal driver when one types
Question 4
Question 5
Question 7
In C++, when one object's reference variable is assigned to another object's reference variable then
a copy of the object is created.
a copy of the reference is created.
a copy of the reference is not created.
it is illegal to assign one object reference variable to another object reference variable.
Question 8
Which of the following statements is TRUE? D1 : The decomposition of the schema R(A, B, C) into R1(A, B) and R2 (A, C) is always lossless. D2 : The decomposition of the schema R(A, B, C, D, E) having AD → B, C → DE, B → AE and AE → C, into R1 (A, B, D) and R2 (A, C, D, E) is lossless.
Both D1 and D2
Neither D1 nor D2
Only D1
Only D2
Question 9
Question 10
Consider the following ORACLE relations :
R (A, B, C) = {<1, 2, 3>, <1, 2, 0>, <1, 3, 1>, <6, 2, 3>, <1, 4, 2>, <3, 1, 4> }
S (B, C, D) = {<2, 3, 7>, <1, 4, 5>, <1, 2, 3>, <2, 3, 4>, <3, 1, 4>}.
Consider the following two SQL queries SQ1 and SQ2 :
SQ1 : SELECT R⋅B, AVG (S⋅B)
FROM R, S
WHERE R⋅A = S⋅C AND S⋅D < 7
GROUP BY R⋅B;
SQ2 : SELECT DISTINCT S⋅B, MIN (S⋅C)
FROM S
GROUP BY S⋅B
HAVING COUNT (DISTINCT S⋅D) > 1;
If M is the number of tuples returned by SQ1 and N is the number of tuples returned by SQ2 then
There are 75 questions to complete.