User:Shridhar Paudel/Lesson Plan 1

From ICTED-WIKI
Jump to navigation Jump to search
S.No. Lesson Plan Topic Submitted Date Reference
1 Lesson Plan 1 Basic Program in C 2080/10/23 Taught

Lesson Plan 1

Subject: Programming in C Date: 2080/10/23
Class: BICTE Period: 2nd
Semester: 1st Time: 10 minutes
Topic: Basic Program in C

Specific Objectives:

At the end of this topic the students will be able to:

a)   Understand some data types in C

b)   Follow the proper format/structure using simple program.

Teaching Materials:

Whiteboard, Marker, Computer

Teaching Learning Activities:

a)   At first, I will revise the topic which was taught last day within one minute.

b)   Then I will teach data types used in C like:

char – single character/string

int – integer value

float – decimal / integer value

c)    I will also teach simple program to make it clear.

Example: Write program in C that ask two numbers and display sum.

                   #include<stdio.h>

                   #include<conio.h>

                   void main()

                   {

                   int a,b,sum;

                   printf(“Enter any two numbers:”);

                   scanf(“%d %d”,&a,&b);

                   sum=a+b;

                   printf(“Sum = %d”,sum);

                   getch();

                   }

d)   I will also clear the doubt of the students if any.

Evaluation:

In the above discussed program, can we use the variables x,y in place of a,b to calculate sum?