1 minute read

4. Currency and Temperature Converter

Next Article
4. Conditions IV

4. Conditions IV

Objectives

● In this session, students will build a project named “Currency and Temperature Converter” to showcase their learnings.

Keywords

● Currency Converter: Converts one currency’s value into the relative value of other currencies

● Exchange Rate: The price of one country’s currency in terms of another’s

● Temperature Converter: Converts the measurement units of the temperature recorded in a particular unit to the other.

WEBS at a Glance

● Say: Do you remember what we learned in the previous session?

● Invite responses from some students.

● Revise operators which we learned in the previous class.

● Instruct: Go to the Panel and open Currency & Temperature Converter.

● Discuss the challenge with the students.

● Explain the terms like Currency Converter and Temperature Converter. Currency Converter: Different countries use different currencies. The currency of one country differs in value from that in another country. Let’s say, we are visiting the US. We will need US currency which is called the dollar. A currency converter will help us understand how many dollars we will get for a certain amount of rupees.

Temperature Converter: A temperature converter helps in the conversion of the measurement units of temperature recorded in a particular unit to the other. We measure temperature in Fahrenheit and Celcius. To convert temperature from Celcius to Fahrenheit we use the formula: Fahrenheit value = (Celcius value x 1.8) + 32.

● Ask the students to complete the Assignment. Instead of giving the solution, give hints.

● Help the students when required.

● Walk around in the classroom and observe the activity done by the students.

Note

● If time permits, ask the students to complete the Temperature Converter program. Otherwise, assign it as homework.

● Conclude: Today, we have learned to program a currency converter and temperature converter. We will start with a new chapter in the next session.

This article is from: