Question
A shirt is marked 40% above the cost price and sold
after a discount of Rs.108 at Rs.452. Find the cost price of the shirt.Solution
Let the cost price of the shirt be Rs.x. Marked price = Rs.1.4x According to question, => 1.4x – 108 = 452 => 1.4x = 560 => x = Rs.400
MVCC (Multi-Version Concurrency Control) ensures:
Consider the following Java-like pseudo-code for inserting a node into a Binary Search Tree (BST):
  ```java
  class Node {
Given the following Python-like code snippet:Â
  ```python
  class Counter:
    def __init__(self):
   ...
Which SQL constraint ensures that a column cannot have NULL values?
What will be the output of the following Python code:
a=[1,2,3,4,5,6]
print(a[-1],a[-1:],a[:-1])
 What is the primary purpose of a "Trigger" in a database?
A `FOREIGN KEY` constraint is used to:
What does the ‘
Which of the following is a non-relational database?
Bitmap indexes are most efficient when: