For Loop - Lesson Plan (ICT) Comprog
For Loop - Lesson Plan (ICT) Comprog
Department of Education
Region V – Bicol
Schools Division of Sorsogon
PILAR NATIONAL COMPREHENSIVE HIGH SCHOOL
Marifosque, Pilar, Sorsogon
LESSON PLAN
TLE – ICT (COMPUTER PROGRAMMING) - GRADE 9/10
I. OBJECTIVES
A. CONTENT STANDARD
The learners demonstrate an understanding of basic concepts, and underlying principles
in programming.
B. PERFORMANCE STANDARD
The learners shall be able to independently create/provide a quality and marketable
product and/or service in programming, as prescribed by TESDA Training Regulations.
C. LEARNING COMPETENCIES
LO2: Code using standard algorithms (TLE_ICTCP9-12PS-IIa-b-2)
At the end of the lesson, the students should be able to:
1. understand the control structure – For Loops;
2. write a program using “For Loops” statement; and
3. appreciate the use of loop statements in programming.
II. CONTENT
Control Structure – For Loops
III. LEARNING RESOURCES
A. REFERENCES
1. Teacher’s CG pages: Page 15-16
2. Learner’s Materials pages: N/A
3. Textbook pages:
Computer Programming. Vol. Volume I. Manila: Rex Book
Store, Inc. and IT Works, Inc., 2016., pp 130-134
4. Additional Materials from Learning Resource (LR) portal: N/A
5. Other Learning Materials:
Online Reference:
https://www.w3schools.com/python/python_for_loops.asp
https://www.geeksforgeeks.org/control-structures-in-programming-
languages/
Materials:
Projector, Laptop, Computers, PowerPoint Presentation, Activity
Handouts, Desktop Application, and Programming Language
IV. PROCEDURE
A. Reviewing previous lesson or presenting the new lesson (10 minutes)
Preliminary Activities
Prayer and Greetings
Attendance monitoring
Motivation
Through PowerPoint, the teacher will show a video or animation.
Source: (https://youtu.be/BRLmzQH-Hd4)
Ask the students the following questions:
1. What do you think is going on in the video/animation?
2. How do you feel when you do tasks on repeat?
3. What do you usually do when dealing tasks that has to be done repeatedly?
Whenever we do something over and over again, it means we are on a repeat cycle. As
we all know, cycles are usually represented with a circular pattern, and a flow or
direction that follows a circular path is called a loop.
Logos of applications for mobile and desktop will be projected, and students will
have to guess the name of the applications. The class will be divided and grouped
according to their seat row. Groups will be assigned with one of the applications they
guessed and will answer the following questions.
Control Structures – are methods to control how the computer instructions will be
performed. It analyzes and chooses in which direction a program flows based on certain
parameters or conditions.
For Loop statement – A control structure in programming which allows to perform the
same task for a number of times which is set in the loop statement.
Example:
Use the range function and write a program which prints the number 0 to 5.
1 For number in range(0,5,1):
2 print(number)
CODE: CODE:
OUTPUT: OUTPUT:
Anna A
Anna n
Anna n
Anna a
CODE: CODE:
OUTPUT: OUTPUT:
Anna Susan
Benjamin Susan
The emergence of globalization has pushed the pace of technological innovations. Along
with the effects of globalization, there is a dramatic increase in the demand for global
products. One of the issues faced by international suppliers is the lack in manpower.
Hence robotics is utilized to automate production processes. The looping in robotic
processes plays a crucial role in mass productions.
G. Evaluating learning
Let us test your knowledge:
Instructions: Open IDLE python in your computer and write a program that will generate
a 5 x 5 square using the special character asterisk (*). The program must be written using
For Loop statement. Output should look like this:
*****
*****
*****
*****
*****
Save the file as: loop.py
V. REMARKS
VI. REFLECTION
Prepared by:
COOLE052723
PNCHSTLEICT