Question
Present ages of 'A' and 'B' are in the ratio 3:5,
respectively. If B's age, 12 years hence from now will be 9 times of A's age, 6 years ago from now, then find the present age of 'A'.Solution
Let the present ages of 'A' and 'B' be '3x' years and '5x' years, respectively. ATQ; (5x + 12) = 9 x (3x - 6) Or, 5x + 12 = 27x - 54 Or, 22x = 66 Or, x = 3 So, present age of 'A' = 3 x 3 = 9 years
In paging, the page size is defined by:
A system is in a safe state when:
If every non-key attribute is functionally dependent on the primary key, the relation will be in
A program needs to process elements from a `Queue` until it becomes empty. Which control flow structure is most suitable for this task?Â
Which operation is NOT part of relational algebra?
Consider the following Java code snippetÂ
public class Car {
  private String model;
  private int year;
  publ...
In relational algebra, the operation that combines tuples from two relations using common attribute values is:
What is a table joined with itself called?
Which SQL command is used to retrieve data from a table?
In a relational schema, which normal form eliminates transitive dependencies (i.e., non-prime attribute depends on another non-prime attribute)?