You are on page 1of 2

Diocesan Schools of Urdaneta

Our Lady of Mount Carmel Academy


S.Y.: 2022 – 2023
Learning Competency: Apply Teacher: STEPHANIE SHANE S. ARELLANO

basics of Java languages


Detailed Lesson Plan in ICT – Computer Programming Java NCIII
TLE/ICT 7, ICT- COMPUTER PROGRAMMING JAVA Code: TLE_ICTJAVA11-12POAD-IIf-i-29
I. Objectives:
a. install java application
b. create a java program using text editor and console environment
c. differentiate between syntax and run-time errors.
II. Subject Matter:
Getting to know Java Environment
Lesson
Reference: Java tutorials
Materials: Computer, JDK installer, JCreator, Projector, Laptop

III. Procedure
Teacher’s Activity Student’s Activity
Priming
 Good Morning, class.  Good morning Sir, Good morning classmates.
 Before you take your seat, please pick up pieces of  (the students will pick up the scattered papers)
candy wrappers, crumpled papers.
 Arrange your chairs.  (the students will arrange their chairs)
 Do you have seat plan?  Yes Sir.
 Please take your seat.  Thank you Sir.
 Who is absent today?  None Sir
 Secretary, please take note in the attendance sheet.  Yes Sir
 Let’s have a recap of what we discussed yesterday,  (volunteer students) we tackled about the different
Anyone who would like to summarized what we had computer programming languages, we also had an
discussed yesterday? analogy about the operating system, application
 Very good system and user to understand how they
 Today we will discuss the features of java languages communicate with one another
 Install java application
 And create your first java program
 Are you ready to listen?  Yes Sir.

Lesson Proper Proposed answers:


A. Presentation of the Lesson
 Yesterday we learned that there are two categories of (The students will listen attentively and take down during the
programming languages the low level and high level, teacher’s presentation)
we also learned that there are different high level
languages, such as c, c#, c++ and java. I
remember someone asked why we will study java
instead of other high level programming languages.
So to answer that we will start with the different
features of java languages.
 Can you read what is in our slide  (volunteer from student will read the content of slide
 Thank you, now 1 features is the java virtual machine 1)
now what does it mean? It is an imaginary machine  Features of java languages
that is implemented by emulating software on a  1. The Java virtual machine
real machine. The JVM provides the hardware  2.garbage collection
platform specifications to which you compile all  3. Code security
Java technology code. This specification enables the
Java software to be platform-independent because
the compilation is done for a generic machine
known as the JVM.
 Code security is attained in Java through the
implementation of its Java Runtime Environment
(JRE). The JRE runs code compiled for a JVM and
performs class loading (through the class loader),
code verification (through the bytecode verifier) and
finally code execution.
 These features makes java popular and gives more
compatibility with different operating system unlike the
other programming languages.
B. Demonstration Proper

 Let’s now proceed with the installation of java  (The students will observe and take down note the
application. procedure during the teacher’s demo)
 First you need to download J2SE 1.5.0 or higher,
after the download ends, start the installation process
– just double-click on the file that you’ve downloaded,
and this will install J2SDK on your disk. just keep
pressing the buttons Next, Install and Finish on the
windows that will be popping up on your screen. In
several minutes the installation of Java on your
computer will be complete. In the next step of
installation, you need to define two system variables.
For example, in Windows click on the button Start,
and get to the Control Panel (it might be hidden
behind the menu Settings), and click on the icon
System. Select there a tab Advanced, and click on
the button Environment Variables. Set the classpath
then Now the installation of J2SDK is complete! 3 volunteers will stand in front
 Now we are ready to create our first java program
 First is open any text editor
 Second open a command prompt
 Third write your source code in the text editor
 Fourth save your program filename: hello.java
 Fifth compile your program by typing javac hello.java
in command prompt
 Sixth if compile is completed run the program by typic
Students will follow the mechanics
hello and press enter
 Seventh it will show an output of hello world on the
screen.
C. Generalization:
 What are the syntax code to compile and run a  Students will answer javac filename extension
java program in a console environment?  In running the program type the filename

IV. Evaluation:
1. Observe and check the output of the  Students show their output
students
V. Assignment:
Practice creating your first java program
Remarks:
No. Of learners:
No. Of learners present:
No. Of learners within mastery level:
No. Of learners needing remedial :
Other Activities:

Prepared by: Checked by: Approved by: Approved by:


STEPHANIE SHANE S. ARELLANO JAMAICA S. QUINIT CHRISTIAN PAUL YMANA LANY C. ADAN
Subject Teacher Elementary Coordinator Registrar School Principal

You might also like