![](https://static.isu.pub/fe/default-story-images/news.jpg?width=720&quality=85%2C50)
1 minute read
4. Conditions IV
Objectives
In this session, students will learn about -
● Conditions using the logical OR operator
Keywords
● OR operator: Gives the result as true if any of the conditions is true and false if all the conditions are false
WEBS at a Glance
Recall the concepts covered in the previous coding session
Play the video given in the panel to introduce the concepts to be covered in this session
Discuss conditions using logical OR operator Activity given in the panel Conclude the session Assign the homework
Action Plan
● Instruct: Go to the Panel and open the Lab on Conditions IV.
● Play the video given on the panel.
● Discuss the Quiz questions given in the Panel.
● Invite answers from as many students as possible.
● Conduct Check Number given in the Panel:
■ Say: Let’s check if the number is a single-digit, double-digit, or a three-digit number.
■ Instruct: Click on the Assignment section.
■ Instruct: Click on the Go to Practice button to attempt the activity.
■ Walk around in the classroom and observe the activity done by the students.
■ Instruct: Click on the Yes button to submit the activity.
Note
● If time permits, conduct the additional activity given in the panel.
● Conclude: Today, we learned about conditions using the OR operator.
● Ask the following probing questions:
■ What is the difference between AND and OR operators?
Possible Responses: AND is used when we want all the conditions to be true. OR is used when we want any one of the conditions to be true.
■ Give an example (from your day-to-day life) that clearly shows the difference between the use of AND and OR.
Possible Responses: I want a sandwich AND a milkshake → here I want both of them, hence AND is used; I can have a chocolate milkshake OR a vanilla milkshake → here any one of the two will do, so OR is used.
● Assign the following project as homework:
■ Input a number and print “Condition Satisfied” if the number lies between the range 1-10 or 50-60.
Note
● The project is optional. Assign it if feasible.