Question
A boy is cycling at a speed of 6 m/sec in the same
direction of the train. Train crosses the boy in 5 seconds. If speed of the train is 90 km/hr, then find the time taken by train to cross a platform of length 105 metres.Solution
Train speed = 90 × (5/18) = 25 m/sec
Relative speed = 25 - 6 = 19 m/sec
L / 19 = 5 ⇒ L = 95 metres
Time to cross platform = (95 + 105)/25 = 200/25 = 8 seconds
The "Dirty Read" problem occurs when:
Which SQL statement is used to remove all rows from a table without logging individual row deletions?
What is the output of the following pseudo-code?Â
 ```
  count = 0
  for i from 1 to 3:
    for j from 1 t...
What is referential integrity?
Which deadlock prevention scheme allows older transactions to preempt younger ones?
What will be the output of the following Python code:
a=[1,2,3,4,5,6]
print(a[-1],a[-1:],a[:-1])
A software defect that causes a program to produce incorrect output without crashing or displaying an error message is typically classified as a:Â
Which of the following commands are used to put a restriction on the number of rows returned from a query?
Which of the following is a type of database index?
A relation is in 2NF if: