Entrance Announcement
MICTE 2080
2080 Magh 07
User:Shridhar Paudel: Difference between revisions
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
'''Lesson Plan 1''' | |||
Subject: Programming in C Date: 2080/10/23 | |||
Class: BICTE Period: 2nd | |||
Semester: 1<sup>st</sup> Time: 10 min. | |||
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? | |||
[[Category: MICTE]] | [[Category: MICTE]] |
Revision as of 06:57, 6 February 2024
Lesson Plan 1
Subject: Programming in C Date: 2080/10/23
Class: BICTE Period: 2nd
Semester: 1st Time: 10 min.
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?