Question
The cost price of 27 headsets equals the selling price
of 18 headsets. The ratio of the cost price of a headset to a cover is 9:8. The total selling price of 9 headsets and 9 covers is Rs.2250. Each cover is sold at a 12.5% profit. Find the cost price of one headset.Solution
ATQ,
27a = 18b → a/b = 2/3 CP = 2x SP = 3x CP cover = 2x × 8/9 = 16x/9 SP cover = 16x/9 × 112.5/100 = 2x 9×3x + 9×2x = 27x + 18x = 45x = 2250 x = 2250/45 = 50 CP of one headset = 2x = Rs.100
Which of the following is true about the Round Robin (RR) CPU scheduling algorithm?
Which data structure is most suitable for implementing recursion?
Consider the following Python code snippet for binary search:
  def binary_search(arr, target):
    low = 0
    ...
Depth-First Search (DFS) typically uses which data structure implicitly or explicitly?
Which protocol is most commonly used for secure communication between IoT devices over the internet?    Â
Which of the following sorting algorithms has a worst-case time complexity of O(N log N)?
In dynamic programming, which principle ensures correctness by solving overlapping subproblems and storing results?
The Activity Selection Problem can be optimally solved using a greedy approach. What is the greedy choice typically made at each step?
Which of the following sorting algorithms has the best worst-case time complexity?
Which of the following SQL queries is used to remove a table from a database?