Professional Documents
Culture Documents
INFORMATION TECHNOLOGY
TEACHER GUIDE
GRADE 11
Writers:
Temtim Assefa Desta (PhD)
The Ministry of Education wishes to thank the individuals, groups and other
bodies involved – directly or indirectly – in publishing this Textbook. Special
thanks are due to Hawassa University for their huge contribution in the
development of this textbook in collaboration with Addis Ababa University,
Bahir Dar University and Jimma University.
Copyrighted materials used by permission of their owners. If you are the owner
of copyrighted material not cited or improperly cited, please contact the Ministry
of Education, Head Office, Arat Kilo, (P.O.Box 1367), Addis Ababa Ethiopia.
Printed by:
GRAVITY GROUP IND LLC
13th Industrial Area,
Sharjah, UNITED ARAB EMIRATES
Under Ministry of Education Contract no. MOE/GEQIP-E/LICB/G-01/23
ISBN: 978-99990-0-046-8
Foreword
Education and development are closely related endeavors. This is the main reason
why it is said that education is the key instrument in Ethiopia’s development and
social transformation. The fast and globalized world we now live in requires new
knowledge, skill and attitude on the part of each individual. It is with this objective
t tt u uu s t t u t ut s t
a country’s education system, must be responsive to changing conditions.
It has been almost three decades since Ethiopia launched and implemented new
Education and Training Policy. Since the 1994 Education and Training Policy our
country has recorded remarkable progress in terms of access, equity and relevance.
g us ts s t u t t t
quality of education.
To continue this progress, the Ministry of Education has developed a new General
Education Curriculum Framework in 2021. The Framework covers all pre-primary,
primary, Middle level and secondary level grades and subjects. It aims to reinforce
the basic tenets and principles outlined in the Education and Training Policy, and
provides guidance on the preparation of all subsequent curriculum materials –
including this Teacher Guide and the Student Textbook that come with it – to be
based on active-learning methods and a competency-based approach.
In the development of this new curriculum, recommendations of the education
Road Map studies conducted in 2018 are used as milestones. The new curriculum
materials balance the content with students’ age, incorporate indigenous knowledge
where necessary, use technology for learning and teaching, integrate vocational
contents, incorporate the moral education as a subject and incorporate career and
technical education as a subject in order to accommodate the diverse needs of
learners.
Publication of a new framework, textbooks and teacher guides are by no means
the sole solution to improving the quality of education in any country. Continued
t s t ts st s t s ust
g g tu t t t gu t t
assist this, teachers have been given, and will continue to receive, training on the
strategies suggested in the Framework and in this teacher guide.
Teachers are urged to read this Guide carefully and to support their students by
putting into action the strategies and activities suggested in it.
For systemic reform and continuous improvement in the quality of curriculum
materials, the Ministry of Education welcomes comments and suggestions which
us t u t ut t
ADDIS ABABA, ETHIOPIA FEDERAL DEMOCRATIC REPUBLIC OF ETHIOPIA
1
Unit Overview
This unit discusses basic concepts of information systems and their applications
in different social and economic sectors of the country. Information system is
used to capture data and process data in a meaningful way to meet the users’
requirements. It has become one of the strategic assets of organizations. This unit
discusses data, information, knowledge, information system, and the different
applications of information systems.
Learning Outcomes
At the end of this unit, students will be able to:
Learning competencies:
At the end of this section, students will be able to:
1. Interactive lecture
2. Give examples for each concept so that students can concretize the conceptual
definitions explained above.
You can use the following examples to elaborate the differences among data,
information, knowledge and wisdom in addition to what is stated in the textbook.
2. You can show the following diagram or you can search another related
diagram from the Internet to show the relationship between data, information,
knowledge and wisdom.
3. Group discussion.
• The concept of data, information, knowledge and wisdom are not simple
concepts that students can easily understand by reading the textbook and
attending the teacher’s lecture. Thus, more engaging activities should be
prepared to help students discuss and reflect on these concepts.
• Arrange students in groups and encourage them to discuss the following
leading questions.
a. Data
o What is data?
o How do you collect data?
o Why do you collect data?
o Give examples of data.
b. Information
o What is information?
o How do we create information?
o Why do we need information?
o Give different examples of information?
c. Knowledge
o What is knowledge?
o How do we create knowledge?
o Why do we need knowledge?
o When do we say a person is knowledgeable?
o Give different examples of knowledge.
d. Wisdom
o What is wisdom?
o How do we achieve wisdom?
o Give examples of wisdom.
e. Difference
o Prepare a table to show the differences between data, information,
knowledge and wisdom.
o Arrange students in groups of three or four students and let them
discuss the value of information and knowledge in their daily lives.
While the students are discussing, observe whether all of them are
participating in the discussion or not.
Required instructional resources:
3. Textbook
Assessment strategies
Teachers are advised to use the following assessment strategies for this section:
2. Give assignment for the students from review questions in the textbook,
and then check all students’ exercise books to make sure that all students
have understood the concepts discussed in this section.
4. Prepare portfolio for each student. The portfolio can be electronic or hard
copy which shows evidence of students’ learning progress. The portfolio
might include:
• student participation in class discussion
• Quiz results
• Record of assignments completed by students
• Work samples and comments given to students
If you identify students who are not performing well in different assessment
methods, discuss with them and arrange time to provide special support for them.
must have the information first to evaluate whether something is good or bad
for us. When we want to start a new business, first we collect and interpret
the information to learn whether or not the business is profitable
• You may motivate the students to engage in the brainstorming discussion by
asking them the following questions.
o What is your understanding of information?
o Can you share any experience you have in applying information to
solve your problems?
o What are the sources of information?
#1
• Data can be represented in the form of number, text, image and sound. The
type of data dictates the right form of representation. For example, numeric
data are represented as 0100110, 20, 200, while the terms ‘person’, ‘river’
and ‘city’ are examples of textual data.
#2
• Data collection and processing are part of our daily activities. The purpose of
data collection is to generate useful information that will be used for different
activities such as making decisions. For example, if you want to know the
number of students who drop out of the school, you must collect data about
students’ daily class attendance. Similarly, a supermarket that is interested to
know its monthly profit must collect data about its daily sales and expenses.
The more relevant and quality data you have, the more likely you make
good choices when it comes to marketing, sales, customer service, product
development, and many other areas.
#1
• Information is one of the necessary resources you need to survive in this world.
#1
not knowledge until we apply it in action and convert it into our personal
knowledge. Your capability to accomplish tasks is also called knowledge.
The more knowledge you have the more capability you will have to solve
problems, such as fixing computer problems and doing exams with good
grades. Knowledge is accumulated through acquisition and assimilation of
new information. A person with long years of experience is more capable to
solve problems more easily than an inexperienced person.
• Data is a raw fact which has no value by its own. But information is data
processed in a meaningful way for users. It has more value than data but
less value than knowledge. Knowledge is information applied in action. It
is a capability to apply information to solve problems or make decisions.
Wisdom has to do more with insight, understanding and accepting of the
fundamental ‘nature’ of things in life.
Learning competencies:
At the end of this section, students will be able to:
1. You can take students to your school’s IT center and show the school
database as an example of information system.
2. Internet connection,
6. Textbook
Assessment strategies
1. Give assignment from activities in the textbook and then check all students’
exercise books to make sure that all students understand the concepts
discussed in the subtopic
2. If you observe that there are concepts which are not clear to the students,
revise the topic with more explanation and examples by referring to
additional reference materials.
If you identify students who are not performing well in different assessment
methods, arrange an extra time to assist students with some learning problems.
#1
• Once the school collects and stores the data, it generates different information
or reports. For example, the school generates information about teachers by
their qualifications, student-to-teacher ratio and student-to-classroom ratio.
For example, the student-to-classroom ratio indicates overcrowding of
students per classroom. The student class attendance data is used to produce
a summary of students’ absenteeism reports.
• Information generated from the information system is used to monitor the
day-to-day operation of the school. For example, the student-to-classroom
ratio information is compared with the standard student-to-classroom ratio
set by the Ministry of Education. If the school’s student to- classroom ratio is
higher than the standard, the school should provide additional classrooms to
reduce the overcrowding of students per classroom. In addition, the student
absenteeism report is used to monitor students’ class attendance. Students
with many numbers of class absenteeism may be suspended from the school.
Such information is used to make managerial decisions.
Answers to Activity 1.5
#1
• Information system has five main components. These are hardware, software,
data/information, people and procedure. Each component has a unique
function, but they interact with each other through the exchange of input and
output to achieve the common goal of information systems. See Section 1.2.2
Learning competencies
2. If you do not have Internet connection, download the main interface window
of the e-service and show the students on LCD projector or using Plasma TV
3. Tell students to browse the Internet on some of the e-services in the nearby
Internet café or using a mobile phone so that they can understand the main
features and services of e-services
3. Group discussion.
1. Arrange students in groups and assign one type of e-service for each group
to discuss its main features, benefits, and disadvantages for Ethiopian citizen
2. Let representatives of each group share their findings for the class.
1. Give an assignment from activities in the textbook and then check all
students’ exercise books to make sure that all students understand the
concepts discussed in the subunit
#1
#1
• Banks provide their services over ATMs, mobile phones and the Internet.
Their main benefits are cost-saving, time-saving, flexibility in accessing
services, and easy access to services from any location. For example, you
can appreciate the benefits of e-banking when you transfer money or pay
a bill through your mobile phone. Students can mention other benefits of
e-banking. Encourage them to share their experiences in the class.
Answers to Activity 1.8
#1
• There are different free e-learning courses on the Internet. Students can
register and attend the training programs without paying any fee. What
they need is only Internet connection and commitment to learn. E-learning
requires personal commitment. No one forces you to complete the training.
E-learning makes lifelong learning to be real and practical. Some students join
different short-term training programs and develop their personal knowledge
that helps them in their future careers. For example, students can develop a
website just by taking an online course on website development.
17 INFORMATION TECHNOLOGY GRADE 11 ~ TEACHER’S GUIDE
UNIT-1 Information Systems and Its Applications
• E-learning has many benefits for learners. Some of the main benefits are:
a. Flexibility in learning time: Learners can access and learn at any time.
b. Implementation of student-centered learning. Learners can learn at
their own pace.
c. Access to educational resources: Students can access better quality
learning materials from other universities or schools.
d. Reaching to remote area students who do not have access to school or
university in the nearby neighborhood.
e. Rich multimedia learning resources that engage learners in the learning
activities.
f. Reducing educational costs for travel and accommodation where
learners are displaced from their homes for education
#1
#1
• Telemedicine refers to the practice of caring for patients remotely when the
provider and patient are not physically present with each other. Telemedicine
was originally created as a way to treat patients who were located in remote
places, far away from local health facilities, or in areas with shortages of
medical professionals.
#2
• Telemedicine has many benefits for patients. Some of the main benefits are
discussed below.
a. It is a more convenient, accessible care for patients. Telemedicine
has the power not only to break down typical geographical barriers to
access healthcare centers but also to make the entire healthcare delivery
model more convenient for patients.
b. It saves healthcare costs. In developing countries like Ethiopia,
specialists are not adequately found in all parts of the country. People
must travel to other countries to find specialists for better treatment.
By using telemedicine, patients can save costs for travel and hotel
accommodation.
c. It extends access to specialists. With telemedicine, a hospital system
can expand its access to specialized medical specialists. This makes it
easy for primary care doctors to consult medical specialists regarding
a patient such as one on a rare form of cancer, despite their geographic
separation.
d. It increases patient engagement. Today’s patient lives in an increasingly
connected world and expects a different kinds of care experience.
Telemedicine engages patients by allowing them to connect with their
doctors more frequently in a convenient way.
e. It provides better quality patient care. Telemedicine makes it easier
for providers to follow up with patients and make sure everything is
going well. Whether they are using a more extensive remote patient
monitoring system to watch the patient’s heart or doing a video chat to
answer medication questions after a hospital discharge – telemedicine
leads to better care outcomes.
#1
#1
• IT has transformed all aspects of human life. It has changed how we learn,
communicate with one another and do businesses. IT also changed the
traditional business model. The traditional business requires you to rent a
shop and hire a salesperson. This is an expensive initial investment for a
beginner entrepreneur. If you have an interesting business idea, you can
easily establish your business over the Internet, and serve as many customers
as you can. It is flexible and inexpensive, and reaches customers throughout
the world.
#2
• You can think of creating business ideas that can be delivered over the
Internet. You can create an online tutor to support students to be successful
in their education. You can also create a product catalogue on Facebook to
easily sell your products to customers without investing much for renting and
hiring a salesperson.
1. B.
2. D.
3. A.
4. D
5. B
6. C
7. D
#2. Previously, information system was used for back-office services. It was used
to store data and generate different management reports. Now information
system is used in the frontline to provide ICT-enabled services such as
mobile banking and supply chain system customer relationship management
system. Information system is used to facilitate the interaction with customers
and suppliers; and therefore, it creates value for the organization. As a
result, information system has become one of the strategic resources of an
organization.
#3. E-learning makes learning more flexible and easily accessible. We do not
need to go to school to attend training courses. We can easily access it from
our home using our desktop computer or mobile phone. Now we can attend
short-term training programs, degree and PhD programs through e-learning.
It increases our choices for better educational institutions. As long as we fulfil
admission requirements and can pay tuition fees, we can join any university
in the world.
2
Unit Overview
This Unit introduces concepts of Emerging Technologies and the various types of
technologies that fall under the category of emerging technologies. Particularly,
Artificial Intelligence (AI), Augmented Reality, Virtual Reality, and Data Science
are discussed in detail. The areas of applications of the technologies and related
topics are also covered.
Learning Outcomes
At the end of this unit, students will be able to:
Artificial Intelligence
Augmented and Virtual Reality
Data Science
2.1. Artificial Intelligence
Learning competencies:
• Explain branches of AI
Instructional strategies:
1. Interactive lecture
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section:
1. Portfolio
• Please ask students to assess their understanding of the topics at the beginning.
Make clarifications and corrections if the students have any misconceptions
or misunderstandings.
• Please also make sure you ask questions in the middle and at the end of each
topic to assess students’ grasp of the concepts.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to facilitate classwork for Activity 2.1. As you
see fit, you can use Activity 2.2 for classwork, an assignment, or homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students are actively participating and
contributing to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
from home or any other place. It has also become common for people
to live in their own country but work for an organization that operates
in another part of the world. This has far-reaching consequences in
alleviating, for example, brain-drain that developing countries like
Ethiopia have been suffering from for so long.
• Medical diagnosis
• Petroleum engineering,
• Financial investing
• https://becominghuman.ai/applications-of-artificial-intelligence-in-social-
media-7f2db8e9784d
#2
• If students have access to the Internet, let them search for more examples
of the application of AI and report it to the class. If Internet access is not
available in the school, you may give homework and let students report in
the following class.
#3
• Let students form a pair and let them discuss and debate for and against
autonomous cars. You may pick a pair or two to present their arguments to
the class. If students have access to the Internet, let them search for more
examples of applications of AI and report them to the class. If Internet access
is not available in the school, you may give homework and let students report
in the following class.
2.2. Augmented Reality and Virtual Reality
Learning competencies:
Instructional strategies:
1. Interactive lecture
• If you have access to a projector, show students multiple examples of the use
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section:
1. Portfolio
o Saved documents
o Activity diary.
2. Question and answer
• Please ask students about their understanding of the topics at the beginning.
Make clarifications and corrections if the students have any misconceptions
or misunderstandings.
• Please also make sure you ask questions in the middle and at the end of each
topic to assess students’ grasp of the concepts. Ask students if they have
practical experience in using AR and/or VR.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to facilitate classwork for Activity 2.5. As you
see fit, you can use Activity 2.3 and 2.4 as classwork, an assignment, or
homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure all students properly participate and contribute
to the class activities. Encourage those who are lagging to do better and
provide support for those with special needs.
• Let students form a group and come up with a presentation on the benefit of
VR to their school. If the setting is not convenient to access the information
they need, you may give a homework and let them present their report in the
following class.
• Use Table 2.1 of the textbook to explain the difference between AR and
VR. If you have access to the Internet, use more interactive examples to
demonstrate the differences.
#2
Learning competencies:
Instructional strategies:
1. Interactive lecture
• Use Activity 2.6 to facilitate discussions on Data Science and its benefits.
• As you see fit, use small groups for the discussions and let a member of each
group report the result of their discussions to the class.
• Carefully observe the discussions to identify areas where students need
support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
1. Blackboard and chalk
2. Computer
3. Internet connection
4. Projector
5. Textbook
Teachers are advised to use the following assessment strategies for this section:
1. Portfolio
• Please ask students about their understanding of the topics at the beginning.
Make clarifications and corrections if the students have any misconceptions
or misunderstandings.
• Please also make sure you ask questions in the middle and at the end of the
topic to assess students’ grasp of the concepts.
3. Exercises (homework, classwork, assignment)
• As you see fit, you can use Activity 2.6 as classwork, an assignment, or
homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better and provide support for those with special needs.
• Give students some information about how data growth is caused by social
media, the Internet of Things, and the like. Steer their discussion towards
an understanding of the importance of data science for manipulating and
utilizing the enormous amount of data for informed decision-making.
#2
• Please check some materials related to how much data social media companies
collect and how they use it. Try to give as much information about issues
around privacy to help the students’ discussion be grounded in facts, instead
of some type of conspiracy theory.
• An AI system could screen the inside temperature of the food being cooked
and signal the user when the food is ready.
• Voice controlling of appliances or devices
• Remotely controlling and monitoring residential premises using, for instance,
facial recognition systems.
• 3D models of humans, animals, and plants which will help students to learn
in a much more interactive way.
• Virtual presentation of unobservable (like a human cell) and hard-to-
understand ideas.
• virtual visiting of geographic locations and habitats
• Safe scientific experimentation using virtualization
• Exploration of space using virtualization
• Reconstruction of historical sites using visualization
• Creation of architecture projects in virtual reality
3
Unit Overview
In this unit students learn the basics of database. Database is an electronic data
store that is used to efficiently manage organization’s data. This unit cover
definitions of a database management system (DBMS), relational data models,
and database management implementation in Microsoft Access Software.
Learning Outcomes
At the end of this unit, students will be able to:
4. LCD projector
5. Textbook
6. If computer is not available, use a diagram to show students the tables and
their relationships
Assessment strategies
2. Give homework from the textbook and then check all student’s exercise
books to make sure that all the students understand the concepts discussed
in the subtopic
• The school may collect and store data about students and teachers. These
data are required to know the number of students in the school, student
performance, and teachers by qualification and experience. If student
performance is below the expected level, you may arrange short-term
pedagogical training to improve teachers’ teaching capability.
• Organizations create huge data every day. This data is a resource if it is properly
managed and used in the day-to-day business activities. The traditional file-
based data management is not efficient to manage an organization’ data. The
database is the latest data management approach. All the organization’ data is
stored in one central database. It avoids data duplication, data inconsistency,
data security problems, and data independency. The same data is not stored in
different files. Once the organization’s data is stored in the database, the data
is easily accessible for different organizational activities such as preparing
monthly reports for managerial decision-making activities and preparing
performance reports.
#2
• Database is used to store data that is required to generate information for day-
to-day activities of an organization. Organizations cannot operate without
generating and using information. For example, a supermarket registers its
expense and revenue in the database. This data is used to generate profit and
loss reports for the supermarket. If the expense is greater than the revenue, it
indicates the supermarket should take immediate action before it gets closed
because of bankruptcy.
#3
Learning competencies
2. Group discussion
4. LCD projector
5. Textbook
Assessment strategies
1. Provide class activity to create data models and randomly select students
to tell their answers
#1
#2
#1
• Code attribute in the City entity is the attribute used to link the content of the
City entity with the content of the Country entity.
#3
• Cities that are found in Kenya are Kisumu, Mombasa, and Nairobi.
#5
#6
Learning competencies
• Open Microsoft Access Software and show students how to create a relational
database
• Show students how to create tables and enter data into a table
• Show students how to create a query and retrieve data from a table
• Show students how to create a complex query that fetches data from different
tables
• Show students how to retrieve data from different tables
• Give worksheet for students to create a relational database on Microsoft
Access
3. Group Work
• Arrange students in groups of three or four students and give them a database
project to be created in Microsoft Access.
Required instructional resources:
4. LCD projector
Assessment strategies
1. Give students a project on database and observe them while they are
working on their database project
2. Give assignment from activities in the textbook and then check whether
all the students create a database properly.
• See Section 3.3.1 in the textbook for detailed step by step instructions to
complete this activity.
#2
• See Section 3.3.2 in the textbook for detailed step by step instructions to
complete this activity. If you correctly create the tables, you get the tables
listed in your database as shown below.
• See Section 3.3.3 in the textbook for detailed step by step instructions to
complete activity 1 and 2.
Answers for Activity 3.8
• See Section 3.3.4 and 3.3.5 of the textbook for detailed step-by-step
instructions to complete activity 1, 2 and 3. You can also refer to additional
tutorials on the Internet.
1. True
2. True
3. True
4. False
5. True
6. False
7. False
8. True
Part II Answers Keys Multiple Choice Questions
1. B
2. D
3. A
4. C
5. B
6. B
7. D
8. C
9. B
10. C
Part III. Answer Keys to Short Answer Questions
#1
#4
• From the case description, we have identified the following entities and their
attributes.
Entity Attributes
Product product ID,
product name,
quantity,
price
Customer customer id,
customer name,
customer address
Order order id,
product id,
customer id
order quantity
order date
• Once we have identified the entities and their attributes, we construct the
following ERD based on the relationship between entities.
Customer
Product id Customer id
name
Customer id
Order id
Order quantity
is_for
Price
Product id
Note
• A product may not have an order or may belong to only one order.
Unit Overview
This Unit addresses concepts related to website design and development.
Guidelines for website design as well as the webpage development language
known as HTML is presented in detail.
Learning Outcomes
At the end of this unit, students will be able to:
• Website design
• HTML basics
• HTML links
• HTML tables
• HMTL lists
Learning competencies:
Instructional strategies:
1. Interactive lecture
• If you have access to a projector and the Internet, please show students of
53 INFORMATION TECHNOLOGY GRADE 11 ~ TEACHER’S GUIDE
UNIT-4 Web Development
sample websites.
• Please use appropriate audio to accommodate visually impaired students.
3. Discussion
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the session. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• As you see fit, you can use Activity 4.1 for classwork as well as assignments
and homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
• The web is a popular application that is accessed over the Internet. Internet is
simply the infrastructure upon which the web and other services run.
#2
o HTTP: is the protocol of the web. It is the protocol that the web
browser and the web server use during what is called HTTP requests
and HTTP responses.
o Web browser: is the user or client-side software for the Web. It is the
software that visitors use to view a webpage.
o Web server: is the server-side software for the Web. It stores
websites and responds to requests coming from Web browsers.
#3
• Ask the students if they have ever accessed websites for educational purposes
and let them share their experiences, if they have any, with their classmates.
• Give them examples of websites such as www.w3schools.com where students
can learn a wide range of subjects over the Web.
4.2. Website Design
Learning competencies:
At the end of this section, students will be able to:
Instructional strategies:
1. Interactive lecture
brainstorming questions.
• Using the textbook, lecture the class based on your assessment of the students’
prior knowledge and understanding of the topic.
• Please make sure you face the students during the lecture in case there are
students with hearing difficulties.
2. Demonstration
• Please show an example of a simple text editor and WYSIWYG software and
how they are used on a computer.
3. Discussion
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section.
• Please ask students about their understanding of the topics at the beginning,
in the middle, and end of the sessions. Make clarifications and corrections if
the students have misconceptions or misunderstandings
3. Exercises (homework, classwork, assignment)
• As you see fit, you can use Activity 4.2 for classwork, assignment, or
homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
students to share their reflections regarding any website that they might have
assessed.in light of the website design guidelines discussed.
#3
• Give feedback to the layout design students do on a paper so that they can
further improve their design and truly understand the aim of the design
guidelines.
4.3. HTML Basics
Learning competencies:
Instructional strategies:
1. Interactive lecture
• Please make sure you face the students during the lecture in case there are
students with hearing difficulties.
2. Demonstration
• Use the activities of the section for discussions and code writing.
• As you see fit, use small groups for the discussions and the code writing, and
let a member of each group report the result of their work to the class.
• Carefully observe the discussions and the code writing activities to identify
areas where students need support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section.
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the session. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of Activity 4.5 for assignments
and home works.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
<!DOCTYPE html>
<html>
<head>
<title> This is my title </title>
</head>
<body>
<hr>
<p> This is paragraph one </p>
<hr>
<p> This is paragraph two </p>
<hr>
<p> This is paragraph three </p>
<hr>
</body>
</html>
• If you have access to a computer and an Internet connection, please show the
students how they open the HTML code of a website. Let students explore
those tags that they do not know, and make sure that they are not discouraged
due possibly to a large number of tags that they are not familiar with.
#2
<!DOCTYPE html>
<html>
<head>
<title> This is my title </title>
</head>
<body>
<img src=”images/flower.jpg”> <br>
<img src=”images/house.jpg”> <br>
<img src=”images/chair.jpg”>
</body>
</html>
• The URL used in the above code is a relative URL and the assumption is
that there is a folder named “images” in which the three images are stored.
And the HTML document and the “images” folder are placed under the same
folder.
• Note that the <br> elements that are placed at the end of the first and the
second image elements are used to insert a new line.
• If you have access to a computer, help students follow the steps in the activity
to create the webpage that displays a video. Make sure the students properly
understand the effect of the changes that they make to the attributes.
4.4. HTML Links
Learning competencies:
At the end of this section, students will be able to:
Explain hyperlinks
Create links to webpages
Describe how a linked webpage is displayed
Use images as links
Differentiate between absolute and relative URLs
Create links to different sections of a webpage
Instructional strategies:
1. Interactive lecture
• Use the activities of the section to facilitate the code writing activities.
• As you see fit, allow students to discuss in a group as well as work
individually for the code writing activities. For group code writing activities,
let representatives of each group report to the class.
• Carefully observe the codes that students write to identify areas where
students need support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section.
1. Portfolio
o Saved documents
o Activity diary.
2. Question and answer
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (Homework, classwork, assignment)
• Dear teacher, you are advised to use variations of all the activities of this
section for assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
HTML code
<a href=”https://www.ethiopianairlines.com”>Ethiopian
Airlines</a>
<br>
<a href=”https://www.ethiotelecom.et”>ethio telecom</a>
<br>
<a href=”https://www.combanketh.et”>Commercial Bank of
Ethiopia</a>
Output on the web browser
Ethiopian Airlines
ethio telecom
Commercial Bank of Ethiopia
#2
HTML code
<a href=”https://www.ethiopianairlines.com” target=”_
blank”>
Ethiopian Airlines</a>
<br>
<a href=”https://www.ethiotelecom.et” target=”_
blank”>ethio telecom</a>
<br>
<a href=”https://www.combanketh.et” target=”_blank”>
Commercial Bank of Ethiopia</a>
Output on the web browser
Ethiopian Airlines
ethio telecom
Commercial Bank of Ethiopia
Note that the only change that needs to be made to display the pages in a new tab
or window is to use the “target” attribute with the value “_blank”.
Answer to Activity 4.9
Get the logo of the three companies from the Internet or other sources and save
them under the same folder as the HTML document by the following names:
• ethAirlines.png
• ethTelecom.png
• cbe.png
Then simply insert an image element for the three links in place of the text as
shown below.
HTML code
<a href=”https://www.ethiopianairlines.com”>
<img src=”ethAirlines.jpg” width=200px>
</a>
<br />
<a href=”https://www.ethiotelecom.et”>
<img src=”ethTelecom.jpg” width=200px>
</a>
<br />
<a href=”https://www.combanketh.et”>
<img src=”cbe.jpg” width=200px>
</a>
Output on the web browser
Note the “width” attribute is used in the image element with the value “200px”.
The attribute is used to display the images in a similar width.
The images shown in the output now serve as hyperlinks. If they are clicked on, the
page associated with the appropriate URL will be displayed.
Answers to Activity 4.10
#1
• Create the following HTML documents and save them under the same folder
using the names given below:
o page1.html
o page2.html
o page3.html
#2
HTML code
<!DOCTYPE html>
<html>
<head>
<title>
Page title
</title>
</head>
<body >
<a name=”section1”></a><h1>Section One</h1>
<a href=”#section2”>Got to Section Two</a> <br>
<a href=”#section3”>Got to Section Three</a>
<br>.
<br>.
<a href=”#section1”>Got to Section the Top</a> <br>
<a name=”section2”></a><h1>Section Two</h1>
<a href=”#section1”>Got to Section One</a>
<br>
<a href=”#section3”>Got to Section Three</a> <br>
<br>.
<br>.
<a href=”#section1”>Got to Section the
Top</a> <br />
<a name=”section3”></a><h1>Section Three</h1>
<a href=”#section1”>Got to Section One</a> <br>
<a href=”#section2”>Got to Section Two</a> <br>
<br>.
<br>.
<a href=”#section1”>Got to Section the Top</a>
<br>
</body>
</html>
• <br> is simply added to make the page long enough to go back and forth
between the sections by clicking the links. When you create the page using
real content, put them in place of the <br> elements. But you have to make
sure that the content is large enough to cause the horizontal scroll of the
browser to appear. Otherwise, the students will not be able to appreciate the
benefit of the links.
• Each section is given a heading using <h1>
4.5. HTML tables
Learning competencies:
Instructional strategies:
1. Interactive lecture
• Use the activities of the section to facilitate the code writing activities.
• As you see fit, allow students to discuss in a group as well as work
individually for the code writing activities. For group code writing activities,
let representatives of each group report to the class.
• Carefully observe the codes that students write to identify areas where
students need support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Teachers are advised to use the following assessment strategies for this section.
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of all the activities of this
section for assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
Note that assigning “0” to the “border” attribute makes the table’s border invisible.
#2
<tr>
<th>row 3</th>
<td>3</td>
<td>6</td>
<td>9</td>
<td>12</td>
</tr>
<tr>
<th>row 4</th>
<td>4</td>
<td>8</td>
<td>12</td>
<td>16</td>
</tr>
</table>
Note that the first <th> under the first <tr> does not have any content.
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<table width=”100%”>
<tr>
<td colspan=”3” bgcolor=”#666666”>
<h1>Top</h1>
</td>
</tr>
<tr>
<td width=”20%” bgcolor=”#cccccc”>
<h1>A</h1>
</td>
<td width=”60%” bgcolor=”#eeeeee”>
<h1>B</h1>
</td>
<td width=”20%” bgcolor=”#cccccc”>
<h1>C</h1>
</td>
</tr>
<tr>
<td colspan=”3” bgcolor=”#777777”>
<h1>Bottom</h1>
</td>
</tr>
</table>
</body>
</html>
Instructional strategies:
1. Interactive lecture
• Use the activities of the section to facilitate the code writing activities.
• As you see fit, allow students to discuss in a group as well as work individually
for the code writing activities. For group code writing activities, let a member
of each group report the result of their work to the class.
• Carefully observe the codes that students write to identify areas where
students need support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
2. Computer
3. Internet connection
4. Projector
5. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this section.
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
• Dear teacher, you are advised to use variations of all the activities of this
section for assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students properly participate and
contribute to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
<ol>
<li>Name One</li>
<li>Name Two</li>
<li>Name Three</li>
</ol>
Answer to Activity 4.14
<ol type=”a”>
<li>Orange</li>
<li>Banana</li>
<li>Pineapple</li>
</ol>
<ul type=”square”>
<li>Carrot</li>
<li>Cabbage</li>
<li>Onion</li>
</ul>
Note that the default number type for <ol> is Arabic numerals and the default bullet
type for <ul> is disc. However, the default values can be changed by explicitly
stating a different value to the “type” attribute as shown in the examples.
<ul>
<li>Fruits:
<ul>
<li>Orange</li>
<li>Banana</li>
<li>Pineapple</li>
</ul>
</li>
<li>Vegetables:
<ul>
<li>Carrot</li>
<li>Cabbage</li>
<li>Onion</li>
</ul>
</li>
</ul>
Note that although the browser ignores any spacing left between HTML elements
in the output, properly using spaces in the code makes the code much more easily
readable.
HTML code
<table border=”1”>
<tr>
<th>Year</th>
<th>Male</th>
<th>Female</th>
<th>All</th>
</tr>
<tr>
<th>1960</th>
<td>37.3</td>
<td>40.2</td>
<td>38.7</td>
</tr>
<tr>
<th>1970</th>
<td>41.5</td>
<td>44.5</td>
<td>43.0</td>
</tr>
<tr>
<th>1980</th>
<td>43.3</td>
<td>46.3</td>
<td>44.8</td>
</tr>
<tr>
<th>1990</th>
<td>46.1</td>
<td>49.1</td>
<td>47.5</td>
</tr>
<tr>
<th>2000</th>
<td>49.3</td>
<td>53.1</td>
<td>51.2</td>
</tr>
<tr>
<th>2010</th>
<td>60.1</td>
<td>63.6</td>
<td>61.8</td>
</tr>
<tr>
<th>2016</th>
<td>63.7</td>
<td>67.3</td>
<td>65.5</td>
</tr>
</table>
#2
<ol>
<li>Mathematics</li>
<li>English</li>
<li>...</li>
</ol>
By simply adding another <li> element, the students can add more of the subjects
they are currently taking.
#3
<ol>
<li>Famous Ethiopian female athletes:
<ul type=”square”>
<li>Derartu Tulu</li>
<li>Tirunesh Dibaba</li>
<li>Meseret Defar</li>
</ul>
</li>
<li>Famous Ethiopian male athletes:
<ul type=”square”>
<li>Abebe Bikila</li>
<li>Haile Gebrselassie</li>
<li>Kenenisa Bekele</li>
</ul>
</li>
</ol>
#4
<!DOCTYPE html>
<html>
<head>
<head>
</head>
</head>
<body>
<table border=”0” width=”100%”>
<tr>
<td colspan=”2” bgcolor=”#999999”><h1>This is My Page
Title</h1>
</td>
</tr>
<tr>
<td width=”25%” bgcolor=”#dddddd” valign=”top”;>
<h3>Links</h3>
<a href=”https://www.ethiopianairlines.com”>Ethio-
pian Airlines</a>
<br />
<a href=”https://www.ethiotelecom.et”>ethio tele-
com</a>
<br />
<a href=”https://www.combanketh.et”>Commercial
Bank of Ethiopia</a>
</td>
<td bgcolor=”#eeeeee” height=”200px” valign=”top”>
<h3>My Content</h3>
</td>
</tr>
<tr>
<td colspan=”2” bgcolor=”#999999” align=”center”>
Copyright © 2021 Yourname.com
</td>
</tr>
</table>
</body>
</html>
Learning Outcomes
At the end of this unit, students will be able to:
Learning Competencies:
• Start the lesson by asking motivational questions that attract the attention
of the class students to the lesson like why hardware troubleshooting is
important? Have you ever heard of news regarding the hardware failure of
organizations that caused a loss of millions of dollars?
• Explain the concepts of preventive maintenance and hardware troubleshooting.
• Explain hardware troubleshooting and its difference from software
troubleshooting.
• Explain to students about procedures of hardware troubleshooting
• Describe simple hardware troubleshooting before students go through more
complex activities of hardware troubleshooting. These are checking power
cables, switch buttons, keyboard, mouse, and other accessories.
Additional Tips for Teachers: Please refer to the following resources
for more details on the topics.
2. Demonstration
2. Internet connection
3. LCD Projector
4. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this
section.
1. Give students a computer with a hardware problem and let students fix the
problem. Observe students while fixing the problem. If necessary, provide
feedback.
2. Give homework from the textbook and then check all the students’ exercise
books to make sure that they understand the concepts discussed in the
subtopic.
#1.
• First, check power cables and power switch buttons before you go to other
hardware troubleshooting activities.
Answers to Activity 5.2
#1.
• To solve the problem, right-click on the device and then choose properties.
• Then click on the Drive button and then click on Update Driver to solve the
problem.
• If this does not solve the problem, you may search on the Internet for other
solutions.
#1.
• Open Windows Resource Monitor Window and then look for an application
that uses a large percentage of CPU and Memory Resources.
• Stop the application or restart the application.
#1.
• This usually happens when some application uses the larger resources of
your computer such as the CPU or the memory. The application that is the
cause of the problem should be stopped.
Learning competencies:
2. Demonstration
1. Blackboard, chalk
2. computer lab
4. Internet connection
5. Textbook
Assessment strategies
Teachers are advised to use the following assessment strategies for this
section.
• There is no definite answer for this question. Ask students to reflect their
awareness about preventive maintenance.
• If a computer does not have antivirus software, it will be infected with a virus.
Antivirus is a computer program used to prevent, detect, and remove malware
#1
#2
• Device Manager is used to check the status and problems of different hardware
devices. See Section 5.1.7 of the textbook for a detailed explanation.
#3
#4
• Diagnostic Tools are software tools that are used to monitor a computer’s
performance. Windows Performance Monitor and Windows Resource
Monitor are two software tools that are used to monitor your computer’s
CPU, memory, and disk usage.
#5
#1
• Now organizations store all their data on a computer system. This data is
required to accomplish the day-to-day activities of the organizations. For
example, the bank stores its customer account balance. When the customer
wants to withdraw cash from the bank, first the bank checks the balance of
the customer before withdrawing cash for the customer. What will happen if
the bank’s computer system is damaged by a virus? The bank cannot provide
its service. Therefore, every organization must have backup data. When their
system is damaged by an unexpected attack like a virus or fire accident, they
can recover the data from the backup and continue running their business.
#2
6
Unit Overview
This unit deals with fundamental concepts of computer programming. It addresses
topics such as types of programming languages as well as syntax and semantics of
programming languages. Python is used to demonstrate the fundamental concepts
of programming such as variables, data types, statements, and expressions. Input
and output operations are also shown using Python.
Learning Outcomes
At the end of this unit, students will be able to:
• Basics of Python
Learning competencies:
Instructional strategies:
1. Interactive lecture
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
• You can use Activity 6.1 for classwork. You are advised to use related
questions for assignments and homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students are properly participating and
contributing to the class activities. Encourage those who lag to do better, and
provide support to those with special needs.
• Logic errors are much more difficult to fix than syntax errors because they
cannot be caught by the compiler or the interpreter. Compilers and Interpreters
detect syntax errors, and they even suggest what the kind of syntax error
is and where it is found. In the case of logic errors, the computer program
runs as if there is no problem. The problem is detected by the user or the
programmer when the program is observed behaving in a manner different
from what is normally expected.
6.2. Basics of Python
Learning competencies:
At the end of this section, students will be able to:
Instructional strategies:
1. Interactive lecture
• If you have access to a computer and a projector, show students how they
can work with IDLE’s interactive interpreter and the text editor. Please show
them multiple examples of actual sample codes and their outputs. If you
don’t have access, please write the codes and the outputs on the blackboard
and explain by relating the codes with the outputs. Please provide as multiple
examples as possible.
• During your demonstrations, be mindful of students with disabilities and
cater to their needs.
1. Discussion
• Use the activities of the section for discussions and code writing.
• For the code writing, encourage students to work individually as well as in
groups.
• For group discussions and code writing, use small groups as you see fit, and
let a member of each group report the result of their work to the class.
• Carefully observe the discussions and the code writing activities to identify
areas where students need support.
Required instructional resources:
The following instructional resources are recommended for proper handling of the
section.
1. Computer
2. Projector
3. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this
section.
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of Activity 6.2 and question
number 2 of Activity 6.3 for assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students are properly participating and
contributing to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
• Simply open the IDLE shell and type the following and press enter:
• print(”Your name”)
• The result in the IDLE shell will look something like the one shown below:
• In the interactive interpreter/IDLE shell, the user can write and execute one
line of code at a time. And the work done there cannot be saved for later
execution.
• Any number of codes can be written in the text editor. And the entire code
is executed with a single command. Moreover, codes are saved and can be
modified and rerun at any time.
#2
• Select “New File” from “File” in the IDLE shell menu and the text editor will
be opened.
• Type print(”Your name”) in the text editor and then save the file with
a .py extension.
• Then select “Run Module” from the “Run” menu in the text editor. The result
will be displayed in the IDLE shell as shown below.
Instructional strategies:
1. Interactive lecture
• Use the activities of the section for discussions and code writing.
• For the code writing, encourage students to work individually as well as in
groups.
• For group discussions and code writing, use small groups, as you see fit, and
let a member of each group report the results of their work to the class.
• Carefully observe the discussions and the code writing activities to identify
areas where students need support.
The following instructional resources are recommended for proper handling of the
section.
1. Computer
2. Projector
3. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this
section.
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of all the activities of the
section for assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
• Dear teacher, please make sure that all students are properly participating and
contributing to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
Answers to Activity 6.4
a. x
b. 1x
c. _x
d. x*y
The first identifier is valid because it has a single character, which is a letter. The
third identifier is also valid because it is made up of an underscore and a letter, and
the first character is an underscore, which is acceptable. However, the second and
the fourth identifiers are invalid; the first one begins with a number, which is not
allowed, and the fourth one has a special symbol (in this case *) in it, which is not
allowed either.
Answers to Activity 6.5
a. 0
b. 15.625
c. 3
Answer to Activity 6.6
• Using the type conversion functions associated with the two data types, the
value can be converted into the respective types as shown in the following
example.
Note that the str() function returned a value that is placed under a single quotation.
As you noted in other examples, a string value in Python is a sequence of characters
placed under either single or double quotes.
Instructional strategies:
1. Interactive lecture
The following instructional resources are recommended for proper handling of the
section.
1. Computer
2. Projector
3. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this
section.
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of question number 2 and 3 of
Activity 6.7 for assignments and homework.
• Please make sure that students get feedback on their work as early as possible.
4. Observation
• Dear teacher, please make sure that all students are properly participating and
contributing to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
Note that the variable y is already assigned to the value 7 before it is evaluated in
the above example.
Also, note that function calls are not mentioned as a type of expression at this point
in the textbook. This is to avoid presenting a concept the students are not yet well-
prepared to comprehend. If you think the students can understand the concept at
this point, you can explain it to them.
#2
x=4*3
y=”Programming in Python is fun”
print(y)
z=x/2
print(z)
y=10
print(type(x))
The shaded statements are the ones that produce outputs because of the print()
function. The other three statements are all assignment statements that assign the
value of the expressions to the variables. Such types of statements do not produce
an output.
#3
• Simply put the codes from activity #2 in a script file and click on the “Run
Module” after saving the file with a .py extension. The output would be
something like the one shown below.
Instructional strategies:
1. Interactive lecture
• Before the interactive lecture, check students’ level of understanding using
brainstorming questions.
• Using the textbook, lecture the class based on your assessment of the students’
prior knowledge and understanding of the topic.
• Please make sure you face the students during the lecture in case there are
students with hearing difficulties.
2. Demonstration
• Use all the activities of the section for discussions and code writing.
• For the code writing, encourage students to work individually as well as in
groups.
• For group discussions and code writing, use small groups, as you see fit, and
let a member of each group report the results of their work to the class.
• Carefully observe the discussions and the code writing activities to identify
areas where students need support.
The following instructional resources are recommended for proper handling of the
section.
1. Computer
2. Projector
3. Textbook
Assessment strategies:
Teachers are advised to use the following assessment strategies for this
section.
1. Portfolio
• Please ask students about their understanding of the topics at the beginning,
middle, and end of the sessions. Make clarifications and corrections if the
students have any misconceptions or misunderstandings.
3. Exercises (homework, classwork, assignment)
• Dear teacher, you are advised to use variations of Activity 6.8 and 6.9 for
assignments and home works.
• Please make sure that students get feedback on their work as early as possible.
• Dear teacher, please make sure that all students are properly participating and
contributing to the class activities. Encourage those who are lagging to do
better, and provide support to those with special needs.
Answer to Activity 6.8
Python script
name=input(”Enter your name:”)
age=input(”Enter your age:”)
BMI=input(”Enter your Body Mass Index:”)
#as the data type of name should be string, it
doesn’t need any conversion
#because the value that the input() function returns
is string
age=int(age)
BMI=float(BMI)
print(”Your name is:”, name)
print(”Your age is:”, age)
print(”Your BMI is:”, BMI)
Output on the IDLE Shell
The 4thand 5th lines of the code shown above are known as comments. Comments
in programming are written inside a code, but they are not executed. They are used
to explain and make codes more understandable. Comments in Python begin with
the hash symbol (#) as shown in the above code. Every line that begins with # is
not, therefore, executed.
Python script
weight=input(”Enter weight in kg:”)
weight=float(weight)
height=input(”Enter height in me-
ter:”)
height=float(height)
bmi=weight/height**2
print(”Your BMI is: ”, bmi)
Output on the IDLE Shell
#4
#5