Question
The ratio of senior to junior employees in the company
is 7:5. The ratio of male to female junior employees is 3:2, and the overall ratio of male to female employees in the company is 9:7. What is the ratio of male to female senior employees in the company?Solution
Number of senior employees = 7x Number of junior employees = 5x Total number of male employees = 9y Total number of female employees = 7y Number of male junior employees = 5x * 3/5 = 3x Number of female junior employees = 5x * 2/5 = 2x Number of male senior employees = 9y – 3x Number of female senior employees = 7y – 2x 7x = 9y – 3x + 7y – 2x 12x = 16y 3x = 4y Number of male senior employees = 9y – 4y = 5y Number of female senior employees = 7y – 2*(4y/3) =13y/3 Required ratio = 5y:13y/3 = 15:13
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?