0% found this document useful (0 votes)
57 views2 pages

Lesson Plan: (Computer Programming)

This lesson plan outlines a computer programming class that will teach students about variables. The objectives are for students to define variables, identify valid variable names, and follow syntax rules for declaring variables. The lesson will include a review, motivation through images, a presentation on variables, valid names, and declaration syntax. Students will then practice identifying valid and invalid variable names. They will also declare variables using given data types. For homework, students must identify issues with sample variable names, declare variables with data types, and research variable scope and initialization.

Uploaded by

Danz Tag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views2 pages

Lesson Plan: (Computer Programming)

This lesson plan outlines a computer programming class that will teach students about variables. The objectives are for students to define variables, identify valid variable names, and follow syntax rules for declaring variables. The lesson will include a review, motivation through images, a presentation on variables, valid names, and declaration syntax. Students will then practice identifying valid and invalid variable names. They will also declare variables using given data types. For homework, students must identify issues with sample variable names, declare variables with data types, and research variable scope and initialization.

Uploaded by

Danz Tag
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

LESSON PLAN

(Computer Programming)
Date: June 22, 2016
Room: ICT Lab
Grade: 11
Time: 9:00 10:00
I. Objectives:
At the end of the session, students must:
Define what variable is.
Identify the valid variable names.
Follow the basic language syntax rules in declaring a variable.
II.

Subject Matters:
A. Topic: Elements of Programming Variables
B. References: CG, p.15 TLE_ICTCP9-12PS-Ic-j-1
C. Materials: Microsoft PowerPoint presentation

III.

Procedures:
A. Review:
Conducting a review of the previous lesson.
Questions:
i. What is syntax?
B. Motivation:
Show students some pictures/illustrations for them to observe and ask
them to share their observations.
Guide Questions:
i. How is the illustration related to programming?
C. Presentation:
a. Variables
b. Valid variable name
c. Variable Declaration
D. Generalization:
Guide Questions:
i. What is a variable in your own understanding?
ii. What are the rules in making a valid variable name?
iii. What is the correct syntax in declaring a variable?
E. Application:
a. The class will be divided into 2 groups.
b. From the list below, the first group will identify the valid variable names
and the other group will identify invalid variable names.
final grade
quarter1
a_b=c

a_good_variable
1stgrading
2nd_grading
_gross
zxy_

c. Ask students, what makes the listed variables invalid?


IV.

Evaluation:
1-3. What is a variable?
4-7. Identify the valid identifiers from the following list of identifiers.
interest

4thdigit

id number

_max

(age)

final_

pre-paid

x9991

8-10. Declare the following variables using the given data types.
Variable
name
age
gender
interest
V.

Data
type
int
char
float

Variable
Declaration

Assignment:
Direction: In a sheet of paper, answer the following.
Identify what makes the variable invalid.
b+1

ab-c_1

4thnum

x_y=z

my name

Declare the variables using the given data types.


Variable name
Data Types
radius
float
b
int
result
int
x
char

Research and review about the scope of variables and initializations.


i. What are the scopes of variables?
ii. How to initialize values to a variable?

Remarks:
No. of learners within mastery level: ________.
No. of learners needing remediation/reinforcement: ________.

Prepared by:
WILSIE M. LABIDES
Return-Demo Teacher
Leyte Division

You might also like