Question
A group of boys has an average weight of 44 kg. One boy
weighing 50 kg leaves the group and another boy weighing 40 kg joins the group. If now the average weight of group is 42 kg, then how many boys are there in the group?Solution
Let us assume the total boys in the group be 'b' The sum of the weight of the all-boys = 44b 42b = 44b - 50 + 40 42b = 44b - 10 44b - 42b = 10 2b = 10 b = 5
Which command displays the manual page for another command?
How can you make a shell script executable?
Which character is used to denote a single-line comment in a shell script?
In shell scripting, which operator is used for string comparison?
In shell scripting, how do you assign the string "Hello World" to a variable named `MESSAGE`?
Which command is used to search for a string inside a file?
Metadata in a data warehouse primarily describes:
Which character is used to denote a single-line comment in a shell script?
Which command is used to display the current working directory in a Unix-like operating system?
Which operator is used to append output to a file?