Question
The product of two positive numbers is 720. If one of the
numbers is four times the other, then find the difference between the given two numbers.Solution
ATQ,
Let us assume one of the numbers is 'x'
Then, another number is = 4 × x = '4x'
So, x × 4x = 720
Or, 4x² = 720
Or, x² = 180
Or, x = 13.4 {Since the numbers are positive}
Required difference = {4 × (13.4) - 13.4} = (53.6 - 13.4) = 40.2
Consider the following Python-like pseudo-code for a modified Merge Sort algorithm that sorts an array `arr` and also counts the number of "reverse pair...
Given the following Python-like code snippet:
```python
class Counter:
def __init__(self):
...
Which SQL constraint ensures that a column cannot have NULL values?
Given a binary tree, a "zigzag" level order traversal prints the nodes level by level, but alternating the order of nodes from left-to-right and right-t...
What is a table joined with itself called?
A data warehouse is primarily characterized by which of the following properties?
Which of the following SQL queries would return the total number of employees in each department, but only for departments with more than 10 employees?
A PL/SQL `TRIGGER` is a stored program that automatically executes in response to:
An SQL `VIEW` is a:
Which property of a transaction ensures that either all operations within the transaction are completed successfully, or none of them are?