Consider the following tables, Loan and Borrower, of a bank.

Query: \[ \pi_{\text{branchname}, \text{customername}} (\text{Loan} \bowtie \text{Borrower}) \div \pi_{\text{branchname}}(\text{Loan}) \] where \( \bowtie \) denotes natural join. The number of tuples returned by the above relational algebra query is (Answer in integer).
Step 1: Understanding the division operation.
The relational division operation finds the set of customers who have taken loans from all branches appearing in the Loan table.
Step 2: Extracting relevant data.
The distinct branch names from the Loan table are: Banjara Hills, Kondapur, SR Nagar, Balanagar A customer must have taken loans from all these branches to be included in the result.
Step 3: Identifying customers who satisfy this condition.
By analyzing the Borrower table, we find that the customer Karteek has loans in Banjara Hills (L11), Kondapur (L14), SR Nagar (L22), and Balanagar (L23), satisfying the condition. Thus, the number of tuples returned by the query is: 1
Consider the following tables, Loan and Borrower, of a bank.


Query: \[ \pi_{\text{branch\_name}, \text{customer\_name}} (\text{Loan} \bowtie \text{Borrower}) \div \pi_{\text{branch\_name}}(\text{Loan}) \] where \( \bowtie \) denotes natural join. The number of tuples returned by the above relational algebra query is 1 (Answer in integer).
| SNo | NAME | CLASS |
|---|---|---|
| 1 | MOHAN | 6A |
| 2 | SANJAY | 6B |
| 3 | YOGESH | 7A |
| SNo | NAME | CLASS |
|---|---|---|
| 1 | NARESH | 6B |
| 2 | SANJAY | 6B |
| 3 | YOGESH | 7A |
What is the output of HISTORY - SCIENCE?
| Sr No. | Name | Course |
| 1. | Aman | CS |
| 2. | Ravi | ECO |
| 3. | Mohit | HIS |
| 4. | Sanjay | MATH |
| Sr.No | Name | Course |
| 1. | Sanjay | MATH |
| 2. | Abhay | ENG |
| 3. | Sita | HINDI |
| 4. | Aman | CS |
| 5. | Ravi | ECO |
Consider the following Python code snippet.
def f(a, b):
if (a == 0):
return b
if (a % 2 == 1):
return 2 * f((a - 1) / 2, b)
return b + f(a - 1, b)
print(f(15, 10))
The value printed by the code snippet is 160 (Answer in integer).
On a relation named Loan of a bank: 
The following SQL query is executed:
SELECT L1.loannumber FROM Loan L1 WHERE L1.amount \(>\) (SELECT MAX(L2.amount) FROM Loan L2 WHERE L2.branchname = 'SR Nagar');