User:Shridhar Paudel/Lesson Plan 3: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "Lesson Plan 3")
 
No edit summary
 
Line 1: Line 1:
Lesson Plan 3
[[Lesson Plan 3]]
{| class="wikitable"
|Subject: Programming in C
|Date: 2080/10/25
|-
|Class: BICTE
|Period: 2<sup>nd</sup>
|-
|Semester: 1<sup>st</sup>
|Time: 10 minutes
|-
|Topic: Looping in C using ''for''
|
|}
 
= Specific Objectives: =
At the end of this topic the students will be able to:
 
a)   Understand the syntax of ''for'' loop
 
b)   Use of ''for'' loop statement in suitable situation
 
= 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 give the concept of ''for'' loop statement with syntax:
 
Syntax:       ''for(initial value;condition;increment/decrement)''
 
''                   {''
 
''                   Block of statement;''
 
''                   }''        
 
c)    I will solve the following program and make students more clear.
 
Example: Write program in C that display the numbers from 1 to 20.
 
                  #include<stdio.h>
 
                  #include<conio.h>
 
                  void main()
 
                  {
 
                  int c;
 
                  for(c=1;c<=20;c++)
 
                  {
 
                  printf(“%d\n”,c);
 
                  }
 
                  getch();
 
                  }
 
= Evaluation: =
If you want to display the numbers from 1 to 10, what changes should be done?

Navigation menu