Question
Ali the barber shaved 38% of his customers and gave a
haircut to 76% of his customers. He charged Rs. 12 for a shave and Rs. 9 for a haircut. If 25% of customers who opted for a shave also had a hair-cut, what were Ali's earnings if he had 130 customers (in Rs.)?Solution
Total customers = 130 Numbers of customers shaved = 130 x (38/100) = 49.4 Number of customers who got hair cut = 130 x (76/100) = 98.8 ∴ His total income= (49.4 x 12) + (98.8 x 9) = 1482
What does Section 66A of IT Act define?
A data analysis task requires repeatedly extracting the element with the highest priority from a collection. Which heap operation is used for this, and ...
Consider the following Java code snippet:
import java.util.PriorityQueue;
public class HeapQuestion9 {
publ...
The latency of a network is
The Knuth-Morris-Pratt (KMP) algorithm improves upon the Naive approach by avoiding unnecessary re-comparisons. It achieves this by:
Round robin scheduling is essentially the preemptive version of
Which of the following programming language most of “Wireshark” is implemented in?
Which is not an IoT OS?
What are the 3v’s of Big Data?
Consider the in-order traversal of a Binary Search Tree. What characteristic does the sequence of visited nodes possess?