Question
Pranav went to the bank at the speed of 60 km/h while
returning for his home he covered the half of the distance at the speed of 10 km/h, but suddenly he realised that he was getting late so he increased the speed and reached the home by covering rest half of the distance at the speed of 30 km/h. The average speed of the Pranav in the whole length of journey is?Solution
ATQ, we can say that Let the distance be 60 km. Time taken by Pranav from home to bank = 60/60 = 1 hour Time taken by Pranav to cover half distance between bank and home = 30/30 = 1 hour Time taken by Pranav to cover half distance between bank and home = 30/10 = 3 hours ∴ Average Speed = (60 + 30 + 30) / (1 + 1 + 3) = 120/5 = 24 km/hr
How can you make a shell script executable?
Which command is used to display the current working directory in a Unix-like operating system?
Which command is used to display the current working directory?
Which command is used to display the number of lines in a file?
Which symbol is used for variable substitution in shell scripting?
Which of the following is a system call used to create a new process in Unix-like operating systems?
Which operator is used for string equality comparison within `test` or `[` commands in shell scripting?
OLAP is primarily used for:
Which statement correctly defines a variable in shell scripting?
In shell scripting, which symbol is used to redirect the standard output to a file, overwriting its contents?