Question
Determine the volume of a cube if the total cost to
paint its four walls is Rs. 1280, given that the painting rate is Rs. 5 per square meter.Solution
Let length of side of cubical box be 'x' m Area of four walls = 1280/5 = 256 m2 So, 4x2Â = 256 x2Â = 64 x = 8 cm Desired volume = 8 X 8 X 8 = 512 m3 Hence, option d.
Which construct allows embedding a block of text in shell scripts as input?
To check if a file /tmp/data.txt is both readable and writable by the current user in a shell conditional, which test is correct?
Which symbol is used for logical AND in shell scripting?
Which command is used to read user input from the keyboard and store it in a variable?
Which symbol is used for variable substitution in shell scripting?
Which command is used to display all currently running processes in Linux?
Which command displays the manual page for another command?
Which command safely iterates over filenames that may contain spaces and newlines in a shell script?
What does the #!/bin/bash line at the beginning of a shell script indicate?
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?