Consider the relational database with the following four schemas and their respective instances: \[ \text{Student(sNo, sName, dNo)} \text{ }\text{Dept(dNo, dName)} \\ \text{Course(cNo, cName, dNo)} \text{ } \text{Register(sNo, cNo)} \]

SQL Query:
SELECT * FROM Student AS S WHERE NOT EXIST
(SELECT cNo FROM Course WHERE dNo = “D01”
EXCEPT
SELECT cNo FROM Register WHERE sNo = S.sNo) The number of rows returned by the above SQL query is___________.
SQL Query: \[ \text{SELECT FROM Student AS S WHERE NOT EXIST} \] \[ \left( \text{SELECT cNo FROM Course WHERE dNo = "D01"} \right) \] \[ \text{EXCEPT SELECT cNo FROM Register WHERE sNo = S.sNo} \] The number of rows returned by the above SQL query is: \[ \boxed{2}. \]
On a relation named Loan of a bank: 



Consider the following code:
int a;
int arr[] = {30, 50, 10};
int *ptr = arr[10] + 1;
a = *ptr;
(*ptr)++;
ptr = ptr + 1;
printf("%d", a + arr[1] + *ptr);
In the diagram, the lines QR and ST are parallel to each other. The shortest distance between these two lines is half the shortest distance between the point P and the line QR. What is the ratio of the area of the triangle PST to the area of the trapezium SQRT?
Note: The figure shown is representative

Consider the following process information for Shortest Remaining Time First (SRTF) scheduling:
\[ \begin{array}{|c|c|c|} \hline \textbf{Process} & \textbf{Arrival Time (AT)} & \textbf{Burst Time (BT)} \\ \hline P1 & 0 & 10 \\ P2 & 1 & 13 \\ P3 & 2 & 6 \\ P4 & 8 & 9 \\ \hline \end{array} \]Find the turnaround time for each process.