Entrance Announcement
MICTE 2080
2080 Magh 07
User:Bishu Thapa/Real teaching 25: Difference between revisions
Jump to navigation
Jump to search
Bishu Thapa (talk | contribs) Created page with "<div style="column-count: 2; column-gap: 20px;"> '''Subject:''' Computer Science '''Period:''' Third '''Topic:''' Programing concept and Logics '''Teaching Item:''' jumping control structure and its different types with example '''Class:''' class 11 '''Unit:''' 1 '''Time:''' 45 minutes '''No. of Students:''' 24 </div> == Objectives == At the end of this lesson, students will be able to: # To Define jumping control structure in programing logic # To write a syn..." |
Bishu Thapa (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
'''Topic:''' Programing concept and Logics | '''Topic:''' Programing concept and Logics | ||
'''Teaching Item:''' | '''Teaching Item:''' Write and run program of arrays with example in C programing language | ||
'''Class:''' class 11 | '''Class:''' class 11 | ||
| Line 20: | Line 20: | ||
At the end of this lesson, students will be able to: | At the end of this lesson, students will be able to: | ||
# To | # To Write a program of single- and two-dimensional array. | ||
== Teaching Materials == | == Teaching Materials == | ||
| Line 32: | Line 31: | ||
* After entering to the classroom, I will motivate students by asking some questions related to this topic before starting lesson for their attention. | * After entering to the classroom, I will motivate students by asking some questions related to this topic before starting lesson for their attention. | ||
* I will discuss previous topic and discuss the today's Topic | * I will discuss previous topic and discuss the today's Topic | ||
* Then, I will | * Then, I will Write a program of single dimension array and run the program in Turboo C++ | ||
* Then | * // C Program to demonstrate array initialization #include <stdio.h> int main() { // array initialization using initialier list int arr[5] = { 10, 20, 30, 40, 50 }; // array initialization using initializer list without // specifying size int arr1[] = { 1, 2, 3, 4, 5 }; // array initialization using for loop float arr2[5]; for (int i = 0; i < 5; i++) { arr2[i] = (float)i * 2.1; } return 0; } | ||
*Then I will write a program of multidimensional array and I will run on the turbo C++ | |||
*// C Program to print the elements of a // Two-Dimensional array #include <stdio.h> int main(void) { // an array with 3 rows and 2 columns. int x[3][2] = { { 0, 1 }, { 2, 3 }, { 4, 5 } }; // output each array element's value for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { printf("Element at x[%i][%i]: ", i, j); printf("%d\n", x[i][j]); } } return (0); } | |||
* Moreover, I will also summarize the topic through discussion and Q/A Method while clarifying student’s confusion. | * Moreover, I will also summarize the topic through discussion and Q/A Method while clarifying student’s confusion. | ||
Revision as of 07:11, 15 May 2024
Subject: Computer Science
Period: Third
Topic: Programing concept and Logics
Teaching Item: Write and run program of arrays with example in C programing language
Class: class 11
Unit: 1
Time: 45 minutes
No. of Students: 24
Objectives
At the end of this lesson, students will be able to:
- To Write a program of single- and two-dimensional array.
Teaching Materials
- Daily materials
- Power point presentation slides ·
Teaching Learning Activities
- After entering to the classroom, I will motivate students by asking some questions related to this topic before starting lesson for their attention.
- I will discuss previous topic and discuss the today's Topic
- Then, I will Write a program of single dimension array and run the program in Turboo C++
- // C Program to demonstrate array initialization #include <stdio.h> int main() { // array initialization using initialier list int arr[5] = { 10, 20, 30, 40, 50 }; // array initialization using initializer list without // specifying size int arr1[] = { 1, 2, 3, 4, 5 }; // array initialization using for loop float arr2[5]; for (int i = 0; i < 5; i++) { arr2[i] = (float)i * 2.1; } return 0; }
- Then I will write a program of multidimensional array and I will run on the turbo C++
- // C Program to print the elements of a // Two-Dimensional array #include <stdio.h> int main(void) { // an array with 3 rows and 2 columns. int x[3][2] = { { 0, 1 }, { 2, 3 }, { 4, 5 } }; // output each array element's value for (int i = 0; i < 3; i++) { for (int j = 0; j < 2; j++) { printf("Element at x[%i][%i]: ", i, j); printf("%d\n", x[i][j]); } } return (0); }
- Moreover, I will also summarize the topic through discussion and Q/A Method while clarifying student’s confusion.
Assessment
- Write a syntax of Break, Contunue and Go to statement ?
Homework
- Draw a flochart of Break, Contunue and Go to statement