Page 124 - Touchpad_Plus_V3.2_Class 7
P. 124
Mind Boggler
21 st
Century #Critical Thinking
Competency-based/Application-based question. Skills
1. Ravi wants to decide whether to allow users to access a particular feature based on
their age. If the age is 18 or above, they can access it; otherwise, they cannot. Which
type of statement should he use?
2. Priya is designing a program where she needs to check a condition, and if it is
true, she needs to check another condition. If this second condition is also true, a specific set of
statements should execute. If the first condition is false, she needs to execute a set of statements.
Which type of decision-making structure should she use?
21 st #Technology Literacy
Century
Lab Session Skills
Write a program to:
display a menu with different food items and their prices. Ask the user to select an item from the
menu by entering its corresponding number. Using conditional statements, calculate the total bill
based on the selected item and quantity.
calculate the total price after applying discounts. Ask the user to enter the price and the discount
percentage. If the discount percentage is greater than 25%, display a message indicating that the
discount is not valid.
convert the temperature from Celsius to Fahrenheit. Take the temperature as input from the
user. Determine if the temperature is below freezing (0°C) or not. Display the appropriate
message with the converted temperature.
calculate the area of a square or circle according to the input given by the user. If the input is 1,
then calculate the area of a square, otherwise find the area of a circle. Ask the user to input the
values for square or circle based on the input.
Find whether the given character is a vowel or not.
Check if the input number is positive or negative.
Input three numbers from the user, then print ‘You Won’ if the sum of input numbers is
greater than 1000.
Teacher's Note
1. Discuss all the topics covered in this chapter with the students.
2. Tell the students, how to use indentation to define the body of the conditional statement.
3. Go through all the topics covered in this chapter.
122 Plus (Ver. 3.2)-VII

