Question
The bar graph given below shows the number of units of
two different types of Shoes namely 'A' and 'B' sold on five different days. Read the graph carefully and answer the question that follows: If Type A shoes earn ₹200 profit per unit and Type B earns ₹150 per unit, which day generated the highest total profit?Solution
ATQ,
Calculate profit for each day: Profit = A × 200 + B × 150 Mon: 75×200 + 45×150 = 15,000 + 6,750 = ₹21,750 Tue: 50×200 + 90×150 = 10,000 + 13,500 = ₹23,500 Wed: 60×200 + 30×150 = 12,000 + 4,500 = ₹16,500 Thu: 80×200 + 60×150 = 16,000 + 9,000 = ₹25,000 Fri: 45×200 + 50×150 = 9,000 + 7,500 = ₹16,500 Therefore, Thursday, ₹25,000 is the answer.
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?