Question
Number of male employees in HR department was how much
percent more/less than the number of female employees in Marketing department? Read the following data carefully and answer the following questions: The ‘XYZ’ company has four departments (HR, IT, Marketing and Production). Each employees of the compnay is in one of the given departments. Total number of male employees in the company is 640. Number of male employees in HR department is 10 more, 20 more and 30 more than that in IT, Marketing and Production, respectively. Number of female employees in IT department is 160 and ratio of the number of female employees in HR, IT and Production department is 7:8:5 respectively. Number of female employees in Marketing department is equal to number of male employees in Production department.Solution
Total number of male employees in the company = 640 Let the number of male employees in HR department be x. Now, number of male employees in IT department = x – 10 Number of male employees in Marketing department = x – 20 Number of male employees in Production department = x – 30 According to question, => x + x – 10 + x – 20 + x – 30 = 640 => 4x = 640 + 60 => x = 175 So the number of male employees in HR department = 175 Number of male employees in IT department = 165 Number of male employees in Marketing department = 155 Number of male employees in Production department = 145 Number of female employees in Marketing department = 145 Number of female employees in IT department = 160 Number of female employees in HR department = 160 × (7/8) = 140 Number of female employees in Production department = 160 × (5/8) = 100 Required % = [(160 – 120)/120] × 100 = 33.33%
Which algorithm is used for computing Max-Flow in a network?
Given the following code snippet, which operation is performed on the binary tree to produce the output: 4, 2, 5, 1, 3 ?
class Node {Â Â Â Â Â in...Which data structure is most suitable for implementing a priority queue with logarithmic time complexity for insertion and deletion?
Tarjan’s algorithm is used to find:
In C++, which access specifier makes members accessible only from within the class itself and from friend functions/classes?
What is the worst-case time complexity for inserting an element into a hash table that uses separate chaining for collision resolution?
In a graph, what is the maximum number of edges in a simple undirected graph with 'n' vertices?
Time complexity of heap sort is:
Which of the following is true about triggers in a relational database?
What is the primary purpose of an abstract class?