Question
John does ½ piece of work in 3 hours, Joe does
¼ of the remaining work in 1 hour and George finishes remaining work in 5 hours. How long would it have taken the three working together to do the work?Solution
John can do 1/2 work in 3 hours, So he can complete entire work in 6 hours. Remaining work = 1- 1/2 = ½ Joe does 1/4 of the remaining work i.e 1/8 work in 1 hour, So he can complete entire work in 8 hours. Now remaining work = 3/8 George finishes remaining work in 5 hour. George do 3/8 work in 5 hours, So he can complete entire work in 40/3 hours. If all three work together, then, 1/6 + 1/8 + 3/40 = 30/11 So, the answer would be option d) 2(8/11) hours
Which command displays the manual page for another command?
Extended globbing in bash allows:
A Here-Document in shell is denoted by:
Slowly Changing Dimension (SCD) is used to:
Which command is used to check the current working directory in Linux?
Which command is used to make a shell script executable?
Which operator enables process substitution in bash (e.g., diff <(cmd1) <(cmd2))?
Which of the following is the syntax for an `if` statement checking if a variable `NUM` is numerically equal to 5?
Which construct allows embedding a block of text in shell scripts as input?
What is the primary purpose of the "shebang" line `#!/bin/bash` at the beginning of a shell script?