Question
A number when divided by 187 leaves a remainder of 28. What
is the remainder when the same number is divided by 11?Solution
ATQ,
Let, the number be ‘N’.
ATQ,
N = 187 × k + 28 = 11 × 17 × k + 11 + 17 = 11 × (17 × k + 1) + 17
Since, 11 × (17 × k + 1) is completely divisible by 11
So, if the number is divided by 11, the remainder will be 17.
Which system call is used to create a new process in UNIX/Linux?
Query optimization heuristic that “pushes selections down” improves:
In DBMS, which scheduling method ensures serializability of transactions?
Which type of DBMS model organizes data in tables with rows and columns?
Which type of join returns rows when there is a match in both tables?
Query optimization heuristics often include:
Consider the following pseudo-code:
```
function calculate(arr):
sum = 0
for i from 0 to l...
Multiversion Concurrency Control (MVCC) ensures:
The "Dirty Read" problem occurs when:
Given the following Python-like code snippet:
```python
class Counter:
def __init__(self):
...