Republic of the Philippines
Department of Education
REGION XII-SOCCSKSARGEN
SCHOOLS DIVISION OF GENERAL SANTOS CITY
Irineo L. Santiago National High School of Metro Dadiangas
Niyog St., Brgy. Dadiangas South, General Santos City
Dadiangas North High
School Grade Level 11
School
Grades 1 to 12 Teacher Jann Zyrex Z. Ombajin Section Gosling
DAILY LESSON PLAN
PROGRAM
Teaching Learning
Dec 16, 2025 MING
Dates Area
(JAVA)
Time 12:40-4:45 Quarter
I. OBJECTIVES
The learners demonstrate an understanding of the principles
and concepts in demonstrating knowledge of Java technology
A. Content Standard
and Java programming language, and performing object-oriented
analysis and design
The learners independently and effectively use object-oriented
technologies and the use of software modeling, as applied to a
B. Performance
software development process, and present one practical &
Standard (MELC)
complete object-oriented analysis and design (OOAD) roadmap
based on TESDA Training Regulations
The learners will
C. Learning
Competencies (Write
Demonstrate using Operators and Decision Constructs in
the LC Code for
accordance with Java framework
each)
TLE_ICTJAVA11-12POAD-IIfi-29
By the end of the lesson, students will be able to:
1. Identify the purpose, structure, and components of a Java
nested if statement
Objectives 2. Apply a correct nested if statement, applying rules for data
types and proper use of operators.
3. Debug simple Java programs involving nested if statement.
4. Demonstrate patience, and respect during coding
activities.
II. CONTENT:
Java nested if Statement
TOPIC
III. LEARNING
RESOURCES
A. References
1. Teacher’s Guide Programming-Java-NC III- CURRCULUM GUIDE
pages
2. Learner’s Materials
pages
3. Textbook pages
4. Additional Powerpoint Presentation, laptop, Smart TV, Blackboard,
Materials from
Learning
Resources (LR)
K to 12 CURRICULUM GUIDES
Learning Modules
B. Other Learning [Link]
Resources [Link]
[Link]
IDE(Apache Netbeans)
IV. PROCEDURES
Preliminaries
a. Prayer
b. Greetings
c. Checking of Attendance
d. Reminders
(The teacher will tell the important things to remember during the class)
A. Arrange the chairs and sit properly.
B. Be attentive.
C. Express your ideas.
D. Respect everyone.
SHORT REVIEW:
A. Reviewing previous
lesson or presenting The teacher will give some sample situations about nested if
the new lesson
statement and the students will answer.
Think about these situations:
1. If you wake up early, you arrive on time; else, you become
late. If you pass the test, you can celebrate. If you decide
to celebrate, then if your score was 90 or above, you treat
your friends; else, you just treat yourself.
2. If the store is open, you can go inside. If you go inside,
then if the item you want is on sale, you buy two; else, you
just buy one.
Questions:
What do these situations have in common?
How do you decide what to do?
Why does a computer need to know what to do when a
condition is true or false?
B. Establishing a Activity: “Let’s learn it”
purpose for the lesson.
The teacher will show a syntax of nested if statement:
if (condition_Outer) {
if (condition_Inner) {
Statement_Inner1...
} else {
Statement_Inner2...
}
} else {
Statement_Outer2...
}
condition: A boolean expression that evaluates to true
or false.
Statement_Inner1 – Runs if BOTH conditions are TRUE
Statement_Inner2 – Runs if Outer is TRUE, Inner is FALSE
Statement_Outer2 - Runs if condition Outer is FALSE
Example:
//assume the variables are already declared
if (scorev >= 85) {
if (score >= 95) {
[Link]("genius");
} else {
[Link]("excellent");
}
} else {
[Link]("failed");
}
After the teacher show the syntax of nested statement, the
students must able to learn it.
A
C. Presenting Activity: “Analyze it”
examples/ instances of
the new lesson. The teacher will ask from the learners as the review of nested if
statement is being explained. After the discussion, the teacher
will let the students answer the following questions:
1. What happens when the both condition in the nested if
statement is true?
_____________________________________________________________
2. What happens when the outer condition is false?
_____________________________________________________________
3. Why is this called a nested if statement?
_____________________________________________________________
4. How does this relate to making decisions in real life?
Answers:
1. [Link]("genius");
2. [Link]("failed");
3. Because the second if is inside the first if
Activity: “Try it”
D. Discussing new
concepts and The teacher will show an nested if statement code and the
practicing new skills students must identify which is the Boolean expression and
#1 the executable statement.
In the sample Java program below, enclose the conditional
statement (or boolean expression) in a circle, and place the
executable statement inside a rectangle.
int rank = 100 // try changing this into 50 and 40 in Outer
condition
if (rank >= 50) {
if (rank >= 90) {
[Link]("Mythic");
} else {
[Link]("Legendary");
}
} else {
[Link]("Epic");
}
After the students identify which is the Boolean expression and
executable statement, the students must predict the output of
the code after changing the value.
Read the sample Java program in question # 1 and predict the
output when rank = 100, rank = 50 and when rank = 40:
Rank Predicted Output
100
50
40
Explain why only one message appears in each case:
Answer: ________________________________________________
Answers:
Mythic
Legendary
Epic
E. Discussing new Activity: “Do it”
concepts and
practicing new skills the teacher will give a problem statement and let the student
#2 create a nested if statement program.
Problem Statement: Exam Score Classification
A teacher wants to classify students' performance based
on their raw exam score for both passing status and eligibility
for special recognition. Write the Java program using a
structure that mirrors the price problem:
Declares an int variable score and has the initial
value of 85.
Outer Condition (Passing Status):
If the Score is greater than 70:
Inner Condition (High Honor/Perfect Score
Check):
If the Score is greater than 95, display:
"Perfect Score! High Honors!"
Inner else: (If the Score is greater than 80)
display: "Eligible for Basic Honors."
Outer else: Display: "Did not meet passing
requirement."
F. Developing mastery Activity: “Apply it”
(Leads to Formative
Assessment) The teacher will give a problem statement of nested if
statement. The students will follow the instruction and create a
program.
Problem Statement: Score Achievement Classification
Declares an int variable score and has the initial value
of 750.
Outer Condition (Membership Check):
o If the Score is >= 500: (Player qualifies for Standard
Membership)
Inner Condition (Rank Check - Only for
Members):
If the Score is >= 1000, display:
"PRESTIGE RANK: Elite Member Status."
Else (If the score is between 500 and 999),
display: "STANDARD RANK: Basic
Member Status."
Outer Else: “Not Qualified”
G. Finding practical the teacher will let the student create a nested if statement
applications of program and will observe and check their work. The students
concepts and skills. must apply the nested if statement syntax correctly.
Syntax:
if (condition_Outer) {
if (condition_Inner) {
Statement_Inner1...
} else {
Statement_Inner2...
}
} else {
Statement_Outer2...
}
condition: A boolean expression that evaluates to true or false.
Statement_Inner1 – Runs if BOTH conditions are TRUE
Statement_Inner2 – Runs if Outer is TRUE, Inner is FALSE
Statement_Outer2 - Runs if condition Outer is FALSE
H. Making
generalizations and The teacher will ask some questions based on the activity that
abstractions about the they answered and programmed.
lesson
I. Evaluating Learning Quiz.
The teacher will evaluate the program that students create. The
program will be evaluated by criteria.
Criteria Points Score
Completeness – All parts of the activity sheet are answered. 3
Accuracy – Answers and outputs are correct based on instructions. 3
Code Quality – Code is syntactically correct, properly indented, and 2
uses meaningful variable names.
Presentation – Responses are neat, organized, and easy to read. 1
Effort – Shows testing, reasoning, and explanation where required. 1
Total Score
Scoring Guide:
9–10 points: Excellent – Complete, accurate, and well-
presented work.
7–8 points: Good – Minor errors or omissions, but overall strong
performance.
5–6 points: Fair – Several errors or incomplete sections.
0–4 points: Needs Improvement – Major errors or missing
work.
J. Additional activities Assignment:
for application or
remediation Your Task:
Use a nested if structure to give the correct diagnostic
message:
Outer Check (if hasPower is true):
• Go to the Inner Check.
• Outer else: If the PC has NO power, print: "Check the wall
outlet and power cord."
Inner Check (if osLoads is true):
• If the OS loads, print: "System operational. Check
peripherals.“
• Inner else: If the OS does NOT load, print: "Power OK, but
OS failure. Reinstall Windows or check hard drive."
V. REMARKS
V1 REFLECTION
A. No. of learners who earned
80% in the evaluation
B. No. of learners who require
additional activities for
remediation who scored blow
80%
C. Did the remedial lessons
work? No. of learners who have
caught up with the lesson
D. No. of learners who continue
to require remediation
E. Which of my teaching
strategies worked well? Why
did these work?
F. What difficulties did I
encounter which my principal
or supervisor can help me
solve?
G. What innovation or localized
materials did I used/discover
which I wish to share with other
teachers?
Prepared by:
Jann Zyrex Z. Ombajin
Pre – Service Teacher
Checked/Observed by:
Jaypee M. Callaga
Cooperating Teacher