Question
The average height of each person in group 'G' having 28
people is 12 cm less than the average height of each person in group 'H' having 24 people. If the sum of the heights of all people in group 'G' is the same as that in group 'H', then what is the average height of a person in group 'H'?Solution
ATQ, Let the average height of a person in group 'H' = 'a' cm. Then, the average height of a person in group 'G' = (a - 12) cm. Total height of all people in group 'H' = 24 × a = '24a' cm. Total height of all people in group 'G' = 28 × (a - 12) = 28a - 336 cm. So, 28a - 336 = 24a. Or, 4a = 336. So, a = 336 / 4 = 84. Required average height = 84 cm.
Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another tabl...
Hashing is used for:
The amortized cost of appending an element at the end of a dynamic array is:
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Which of the following is NOT among the OWASP Top 10 Web Security Risks?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5
In asymmetric encryption, which of the following statements is correct?
Which algorithm constructs a suffix tree in linear time?
What is the primary purpose of a B+ Tree in a database management system?
Which sorting algorithm has O(n log n) average case?