Question
Consider two natural numbers, 'a' and 'b', which are in
the ratio of 17:20. If we increase 'a' by 18 and decrease 'b' by 20, the new ratio of 'a' to 'b' becomes 6:5. Determine the square of the difference between 'a' and 'b'.Solution
Let values of 'a' and 'b' be '17y' and '20y'. respectively. ATQ, (17y + 18) ÷ (20y - 20) = (6/5) Or, 5 X (17y + 18) = 6 X (20y - 20) Or, 85y + 90 = 120y - 120 Or, 35y = 210 Or, 'y' = 6 Required square of difference between two numbers: = (20y - 17y) 2 = (3y) 2 = (3 X 6) 2 = 182 = 324
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?