Question
A shopkeeper offered two back-to-back discounts of x% and
sold an article for Rs. 1800. The marked price was Rs. 3200. What was the percentage of each discount?Solution
ATQ,
3200 × (100 – x)% × (100 – x)% = 1800
0.32 × (100 – x)² = 1800
(100 – x)² = 5625
100 – x = 75
x = 25
So, the value of ‘x’ is 25%
In the context of debugging an Object-Oriented program, what does "stepping over" a method call typically do in a debugger?
Which of the following is not part of the process control block (PCB)?
To remove all rows from a table without logging individual row deletions and without firing triggers, which command would you typically use?
The command to test reachability of a host in Linux is:
What does the ‘
What is the maximum number of processes that can be in the Ready state?
Consider the following C++-like pseudo-code for a binary tree traversal:
```cpp
struct Node {
int data;
...Consider the following Java-like pseudo-code for inserting a node into a Binary Search Tree (BST):
```java
class Node {
Bitmap indexes are most efficient when:
Which of the following best describes the control flow when a method in a subclass overrides a method in its superclass, and an object of the subclass i...