0% found this document useful (0 votes)
52 views4 pages

Jose Abad Santos Campus Basic Education Department - Senior High School 3058 Taft Avenue, Pasay City

The lesson plan outlines teaching Java programming concepts to students over two class periods. It includes objectives of understanding key Java concepts and creating a simple program. Students will learn to compile, execute, and debug a basic calculation program. They will then analyze variables, create a simple program using conditional statements and Boolean expressions, and assess their understanding by completing a basic calculation program in Java. For homework, students must create a program to compute sums, differences, products and quotients of 5 numbers.

Uploaded by

Lea Mantaguima
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)
52 views4 pages

Jose Abad Santos Campus Basic Education Department - Senior High School 3058 Taft Avenue, Pasay City

The lesson plan outlines teaching Java programming concepts to students over two class periods. It includes objectives of understanding key Java concepts and creating a simple program. Students will learn to compile, execute, and debug a basic calculation program. They will then analyze variables, create a simple program using conditional statements and Boolean expressions, and assess their understanding by completing a basic calculation program in Java. For homework, students must create a program to compute sums, differences, products and quotients of 5 numbers.

Uploaded by

Lea Mantaguima
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/ 4

ARELLANO UNIVERSITY

Jose Abad Santos Campus


Basic Education Department – Senior High School
3058 Taft Avenue, Pasay City

LESSON PLAN IN COMPUTER PROGRAMMING 2

DATE: September 20, 2021


Class Schedule:
Monday and Friday
11:35 - 12:25 (11-ICT 1)
1:45 – 2:35 (11-ICT 2)

I. OBJECTIVES
A. Content Standard
The learners can demonstrate an understanding of key concepts of characteristics and features
in Java Environment

B. Performance Standard
The learners shall be able to create a simple program and displaying variable on Java.

C. Learning Competencies
1. Learn to compile and execute the source code for the “Basic Calculation” program
2. Recognize and successfully DEBUG typical errors that occur during the programming process,
using the first program example.

II. SUBJECT MATTER


a. TOPIC: JAVA ENVIRONMENT- BASIC PROGRAM IN JAVA
b. REFERENCES: DepEd Curriculum Guide, SHS W3schools
c. MATERIALS: PowerPoint Presentation, Lesson Plan, LP and CG

III. TEACHING PROCEDURE/ STRATEGIES


A. DAILY ROUTINE

● Prayer
● Greetings
● Checking of Class Attendance
● Checking of Online Rules

B. SIMPLE RECALL/ REVIEW

Installing of Java Software

C. MOTIVATION

Read the 7 tips while learning to code


Tip #1: Take the time to practice. ...
Tip #2: Look back at all you've accomplished. ...
Tip #3: Remind yourself why you started learning to code. ...
Tip #4: Embrace the learning process. ...
Tip #5: Do a small amount each day. ...
Tip #6: Take a break. ...
Tip #7: Shift your focus.
D. DEVELOPMENT OF THE LESSON

A. ACTIVITY:

The students will create and save a new file. Type in the code and save it, compile the code,
Clean complie, Execute code Run Project, Create output. Complete Basic Calculation in Java
Programmming

B. ANALYSIS
● What are the variables that you use in a simple program?
● What is the signific of this variable in a simple program?

C. ABSTRACTION

CREATING A SIMPLE PROGRAM BY USING JAVA

Conditional statements and Boolean expressions

The if-statement in Java

The if-statement is a conditional statement


The statement is executed only if a given condition is satisfied

An if-statement makes sure that the correct condition is satisfied before a certain action is performed

The if-statement in Java

Syntax of the if-statement:

The keyword if announces (to the Java compiler) that we started an if-statement


A conditional clause (CONDITION) follows the keyword if
Following the condition clause, you can write (only) one statement

The condition clause of the if-statement (1)

• The condition clause of the if-statement is an expression 


that evaluates to true or false
• Expressions that evaluate to true or false are known in Computer Science as: Boolean expressions
• Example: a<0

The condition clause of the if-statement (2)


Multiple statements in the "then"-part of the if-statement (1)

• Block = a pair of "{" and "}" braces that groups 


components in a Java program together

• Statement block = multiple statements grouped together by braces { .... }


• A statement block in Java is considered as one (single) statement

Representation techniques:
Flow chart (1)

• A flow chart is a diagram that represents a computer algorithm.


• It uses a rectangular box to represent an assignment statement
• It uses a diamond box to represent a condition
• Lines are used to indicate the flow of the steps in the algorithm

D.

APPLICATION/ ASSESSMENT

1. Create the Basic Calculation program.


2. Compile the program (simpleprogram.java)
3. Run the program
4, Show the output

IV. ASSIGNMENT

Create a program on a java that will compute the Sum, Difference, Product and Quotient of 5 Numbers.
CMD colour must be (Text Font = Red) and (BG = White)

Prepared by:
Cenon M. Cadano
Subject Teacher

Checked by:

DARWIN ARBIZ
Subject Coordinator

Reviewed by:

CAMILLE R. ZOLETA
Asst. Focal Person

Noted by:

ANAVELLE O. GAMBAYAN
Principal

You might also like