Question
A cuboid has its dimensions in the ratio 2:1:3. If the
volume of the cuboid is 3072 cm³, calculate the sum of its dimensions.Solution
Let, the dimensions of the cuboid be 2x cm, x cm and 3x cm, respectively According to the question, 2x × x × 3x = 3072 Or, x3 = 3072/6 = 512 Or, x = 8 Therefore, sum of the dimensions = 2x + x + 3x = 6x = 48 cm
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?