Question
"When a Seller purchased an item
for Rs. 1200. He marked it above the cost price and sold it with two successive discounts of 25% and 20%. By what percentage did he mark the item above its cost price if he incurred a loss of Rs. 84 in this transaction?"Solution
ATQ,
Let, the seller marked the items d% above the cost price. Marked price of the item = 1200 × {(100 + d)/100} = Rs. ‘1200 + 12d’ Selling price of the item = (1200 + 12d) × 0.75 × 0.80 = 1200 – 84 720 + 7.2d = 1116 7.2d = 396, d = 55 So, the seller marked the item at 55% above the cost price
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)?