Anda di halaman 1dari 6

Detailed Lesson Plan in Computer Programming

I. Objective:
At the end of the lesson, the students should be able to:
1. Create a project in Visual C++ in WIN32 console application
2. Write a simple C++ Program
3. To understand the Structure of C++ Program
II. Subject Matter:

Introduction C++ Language Programming

III. Materials
Laptop, LCD Projector, Power Point Presentation- Trainer
1:1 computer Trainee
Computer Laboratory
IV. Procedures:
TRAINERS ACTIVITY
A. Preparation
Prayer
Please can we all stand for a
prayer, May I ask angel to lead the
prayer.

TRAINEES ACTIVITY

The trainees will stand and pray

Greetings
Good morning class!
How is your day!

Good morning sir


Fine sir

Checking of attendance
Please acknowledge by raising
your hand if I call your name

Yes sir

Sitting arrangement at laboratory

students 1:1 computer

B. Motivation

C. Presentation of the lesson


Class, this morning we will discuss on

how to :
1. Create a project in Visual C++
in WIN32 console application

D. Lesson proper
Trainer use the LCD projector,
while the trainees use computer at
the same time to follow the step by
step procedure.

1. Open the computer


2. Open Microsoft Visual Studio application

Create a Visual C++ project


using WIN32 console application

3. Click File New then Project

4. Select Visual C++, Win32 Console Application,


enter Name and Location of you Project, then
Click OK

5. Click Next

6. Click, Empty project, then Finish.

7. Right click Source File folder Add - New Item

8.Select C++ File(.cpp), type Name, then Click


Add.

. Type this sample program to Editor Window.

Write a simple C++ program

/* This is HelloWorld program in C++ */


#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}

. Type this sample program to Editor


Window.
/* This is HelloWorld program in C++ */
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!";
return 0;
}

10. Click Debug at menu - Start Without


Debugging or (Ctrl+F5)

11. Learning Outcome - Hello World

We dont know sir.

What do you call the /*

Thank you!
Listen to the trainer
That is what we call block comment,
under our objective #3

Structure of C++ Program


Showing the power point
presentation.

E. Generalization
A console application is a computer
program designed to be used via a
text-only computer interface, such
as a text terminal, the command
line interface of some operating
systems (Unix, DOS, etc.) or the
text-based interface included with
most Graphical User Interface
(GUI) operating systems, such as
the Win32 console in Microsoft
Windows,
IV. Evaluation
Construct a program that display your NAME & ADDRESS using C++
V. Assignment
Construct a program that allows the users to enter 2 number and compute for the SUM.

Reference
TURBO C++

Prepared by:
Mr. Greg S. Mateo
Trainer

Anda mungkin juga menyukai