Question
The average wage of a group of 44 labourers is Rs. 250.
If 4 persons receiving average wage of Rs. 275 leave the group and 2 persons receiving average wage of Rs. K join the group, then the average wage of the group increases by Rs. 48. Find the value of βKβ.Solution
Total wage of 44 labourers in the initial group = 44 Γ 250 = Rs. 11000 New average wage of the group = 250 + 48 = Rs. 298 New number of labourers in the group = 44 β 4 + 2 = 42 So, according to the question, 11000 β 4 Γ 275 + 2K = 298 Γ 42 Or, 11000 β 1100 + 2K = 12516 Or, 9900 + 2K = 12516 Or, 2K = 12516 β 9900 = 2616 Or, K = (2616/2) = 1308
Dijkstra's algorithm, used for finding the shortest paths from a single source to all other vertices in a graph with non-negative edge weights, is an ex...
What is the primary goal of abstraction in computer science?
The following Java code attempts to define an abstract class and use it. Identify the best way to correct the error to allow instantiation of a concrete...
Which operation adds an element to the rear of a queue?
When tracing the execution of a for loop, what aspect of code flow are you primarily analyzing?
Which collision resolution technique involves storing colliding elements in a linked list at the hash table index?
Which of the following is a potential problem when multiple threads access and modify shared data concurrently without proper synchronization?
Which of the following statements accurately describes the purpose of unit testing in software development?
Which heuristic function property ensures A* algorithm finds an optimal path?
Consider the following Java code:
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RegexGroup {
...