Question
Kalpana allocates 30% of her monthly income to
educational expenses and spends 60% of what remains on clubbing activities. If she spends Rs. 3024 on clubbing, how much does she spend on her studies each month?Solution
Let monthly income of Kalpana is Rs. 100x According to question; 0.70 × 0.60 × 100x = 3024 Or, 42x = 3024 Or, x = 72 Amount spent on study = 0.30 × 72 × 100 = Rs. 2160
Which command is used to search for a pattern in files?
Which command is used to find the number of lines, words, and characters in a file?
Which command is used to combine the contents of multiple files?
Which construct allows embedding a block of text in shell scripts as input?
In shell scripting, which operator is used for string comparison?
Which command is used to make a shell script executable?
Which symbol is used in shell scripting to reference a positional parameter, e.g., the first argument passed to a script?
In a POSIX shell script, which construct correctly tests whether variable x is an empty string?
In shell scripting, which symbol represents all files in the current directory?
In bash, what does trap 'echo Exit' EXIT do?