Question
C is 50% more efficient than D and can complete a task in
18 days. C and D work together for 6 days, after which D leaves. In how many more days will C finish the rest of the task?Solution
ATQ,
Time taken by D to complete the work = 1.5 × 18 = 27 days
Let the total work be 108 units
Efficiency of C = 108/18 = 6 units/day
Efficiency of D = 108/27 = 4 units/day
Work completed in 6 days = (6 + 4) × 6 = 60 units
Remaining work = 108 - 60 = 48 units
Therefore, x = 48 / 6 = 8 days
Which command is used to display the current working directory in a Unix-like operating system?
Which symbol is used for logical AND in shell scripting?
Which character is used to denote a single-line comment in a shell script?
OLAP is primarily used for:
In bash, what does trap 'echo Exit' EXIT do?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
In shell scripting, which operator is used for string comparison?
Which symbol is used to make a script executable in Linux?
Which symbol is used for variable substitution in shell scripting?
If a program needs to read data from a file, which system call would it typically use?