0% found this document useful (0 votes)
29 views

Detailed Lesson Plan in Introduction To Programming C

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)
29 views

Detailed Lesson Plan in Introduction To Programming C

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/ 5

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
1:1 computer
Computer Laboratory

IV. Procedures:

TEACHER’S ACTIVITY STUDENT’S ACTIVITY

A. Preparation
 Prayer  The student will stand and pray
Please can we all stand for a
prayer, May I ask angel to lead the
prayer.

 Greetings  Good morning sir


Good morning class!  Fine sir
How is your day!

 Checking of attendance  Yes sir


Please acknowledge by raising
your hand if I call your name

 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.
Write a simple C++ program . Type this sample program to Editor Window.

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


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

10. Click Debug at menu - Start Without


Debugging or (Ctrl+F5)

11. Learning Outcome - Hello World

What do you call the /* We don’t know sir.

Thank you!

That is what we call block comment,


under our objective #3

Structure of C++ Program

Showing the power point Listen to the trainer


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

You might also like