State True/False and justify. No credit for answers w/o suitable justification.
Give to-the-point answers for the following -
If these transactions are allowed to execute concurrently -
Hints for Mid Semester Examination
Hints for End Semester Examination
To-the-point answers.
Transaction Sequence | Final Value of A | Value of A displayed on screen ---------------------+------------------+------------------------------- T1 - T2 - T3 | 1 | 2*N + 2 T1 - T3 - T2 | 2 | N + 1 T2 - T1 - T3 | 1 | 2*N + 1 T2 - T3 - T1 | 2 | 2*N T3 - T1 - T2 | 4 | N T3 - T2 - T1 | 3 | N ------------------------------------------------------------------------
"Query B" will (always?) result in smaller size tables (subsets of A and B) being joined (cartesian product) and thus smaller table on which restriction is applied. Look out for overall I/O and comparison operations.
Yes. A possibility exists with queries like the one given below.
Q1 : How many male PUCSD teachers aged between 38 and 42 are there, who
are MCA graduates from PUCSD and expert in Functional Programming?
Q2 : What is the average salary of male PUCSD teachers aged between 38
and 42, who are MCA graduates from PUCSD and expert in Functional
Programming?
If answer to query Q1 is one and Rustom matches the criteria of this query, we will get salary of Rustom via query Q2.