Question
A work can be completed by βAβ and βBβ, alone in
15 days and 10 days, respectively. Find the number of days taken by βCβ to complete the same work alone if βAβ, βBβ and βCβ together can complete the whole work in 4 days.Solution
Let total work = 30 units (LCM of 15 and 10) Efficiency of βAβ = (30/15) = 2 units/day Efficiency of βBβ = (30/10) = 3 units/day Combined efficiency of βAβ, βBβ and βCβ = (30/4) = 7.5 units/day Efficiency of βCβ = 7.5 β (2 + 3) = 2.5 units/day Required time taken = (30/2.5) = 12 days
Which is best fit for blank space 15?
Consider the following C code:
#include
#include
int main() {
Β Β char* text = "The quick brown fox j...
In public-private key encryption , which of the following is true regarding the private key ?
Consider a graph with vertices A, B, C, D and edges with weights: (A,B)=1, (A,C)=7, (A,D)=10, (B,C)=3, (C,D)=4, (D,E)=2. (Assume E is another vertex). I...
In a common backtracking approach to generate permutations of a string, elements are swapped to explore different arrangements. Complete the line that s...
What is the primary disadvantage of using an array as a data structure?
The transfer function of the system below is ___________
Which algorithm is a greedy algorithm used to find the Minimum Spanning Tree (MST) of a graph by repeatedly adding the smallest weight edge that connect...
Consider the following code snippet (Java-like):
Β Β class Animal {
Β Β Β Β public void makeSound() {
Β Β Β Β Β Β Syste...
Given a set of activities with start and finish times: (1,4), (3,5), (0,6), (5,7), (3,9), (5,9), (6,10), (8,11), (8,12), (2,14), (12,16). If you apply t...