Long term plan unit: |
School: |
|||||||||||||||||||||||||||||
Data: |
Teacher’s name: |
|||||||||||||||||||||||||||||
Class: |
The number of attendees: |
absentees: |
||||||||||||||||||||||||||||
Lesson theme |
User functions and procedures |
|||||||||||||||||||||||||||||
Learning objectives that are achieved in this lesson (Subject Programme ref) |
write code in programming language using functions and procedures |
|||||||||||||||||||||||||||||
Lesson objectives |
programming using functions and procedures |
|||||||||||||||||||||||||||||
Evaluation criteria |
Knowledge
· Know what is function · Know what is procedure Understanding · Describes the difference between function and procedure
Application · Write code using functions · Write code using procedures
Analysis · Analyze function code
|
|||||||||||||||||||||||||||||
Language objectives
|
Student is able to describe the difference between function and procedure, making clear the way they are used. For instance, procedure is void, while the function has a return type. Also, student can justify the purpose of function and procedure Vocabulary and terminology specific to the subject: Void, IntelliSense, procedure, function, bracket, return value Useful expressions for dialogs and letters: Well, there are cases when we use returning … . For example, the IntelliSense is of considerable support when … . Obviously, the functions and procedures are used to make … .
|
|||||||||||||||||||||||||||||
Cultivating values
|
collaboration, mutual respect, academic honesty, perseverance, responsibility, lifelong learning |
|||||||||||||||||||||||||||||
Cross curricular links |
English, Math |
|||||||||||||||||||||||||||||
Prior knowledge
|
Programming basics |
|||||||||||||||||||||||||||||
During the classes |
||||||||||||||||||||||||||||||
Planned stages of the lesson |
Planned activities in the classroom |
Resources |
||||||||||||||||||||||||||||
Beginning 5 min
|
1. Greetings 2. Starter (C) solve a rebus with the word “Procedure” 3. Announcement of topic and LO Students asked to think about Evaluation Criteria(EC) for LO to work it out (official EC is supplied) 3. Vocabulary 4. Useful expressions for dialogs
|
Slides 1-4 |
||||||||||||||||||||||||||||
Middle
10 min
10 min
10 min
3 min |
Action: explanation of theory Purpose: introduction to C# and functions Description:
Task 1 Action: write a program Purpose: to get implicitly familiar with procedures Description:
Evaluation:
Differentiation: The students who finish earlier have to append the code for missed data types’ examples. Feedback: Teacher makes comments or correction when necessary
Task 2 Action: analyze a program Purpose: to get familiar with functions Description:
Evaluation:
Differentiation: The students who finish earlier are involved by teacher to support students who need that Feedback: Teacher makes comments or correction when necessary
Summary Questions: What was used in Tasks 1 and 2: procedure or function? What is the difference between procedure and function? After students answers Teacher presents the information about difference between procedure and function on slide |
Slides 5-9
Slide 10 Appendix 1 Handout 1
Slide 11-13 Appendix 1 Handout 2
Slide 14-15
|
||||||||||||||||||||||||||||
End 2 min |
Learners reflect at the end of the lesson: - what I learned; - what remained incomprehensible; - where I should work more. |
Slide 16 |
||||||||||||||||||||||||||||
Differentiation - how do you plan to provide more support? What tasks do you plan to put before more able learners? |
Evaluation - how do you plan to check the level of mastering the material by learners? |
Health
and safety practices |
||||||||||||||||||||||||||||
Дифференциация может быть выражена в подборе заданий, в ожидаемом результате от конкретного ученика, в оказании индивидуальной поддержки учащемуся, в подборе учебного материала и ресурсов с учетом индивидуальных способностей учащихся (Теория множественного интеллекта по Гарднеру). Дифференциация может быть использована на любом этапе урока с учетом рационального использования времени. |
Use this section to record the methods that you will use to assess what students have learned during the lesson. |
Health-saving technologies. Used body and physical exercises. Points applied from the Safety Rules in this lesson. |
||||||||||||||||||||||||||||
Reflection on the lesson
Were the goals of lesson/ learning objectives realistic? Have all the students reached the LO? If not, why? Is the differentiation done correctly in the lesson? Were the time stages of the lesson sustained? What were the deviations from the lesson plan and why? |
Use this section to reflect on the lesson. Answer the most important questions about your lesson from the left column. |
|||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
Overall assessment
What two aspects of the lesson went well (think about both teaching and learning)? 1:
2:
What could help improve the lesson (think about both teaching and learning)? 1:
2:
What I found during the lesson related to the class or the achievements / difficulties of individual students, what should I look for in subsequent lessons? |
||||||||||||||||||||||||||||||
Appendix 1
(handout 1)
Task 1. Create a C# console application. Copy the code to it. Replace the comments by expected code. Run the program.
namespace ConsoleApplication1
{
class Program
{
static void Write()
{
Console.WriteLine("Text come from procedure:");
string s = "I’m a string!";
Console.WriteLine(s);
char c = 'e';
// output c
int x = 3;
// output x
float y = 4.5f;
// output y
short z = 5;
// output z
var result = x * y / z;
Console.WriteLine("The result is {0}", result);
}
static void Main(string[] args)
{
// Call here the procedure
Console.ReadKey();
}
}
}
Questions:
1. what is the type of variable result that was declared by var keyword ?
answer:_____________________________________________
2. what is the purpose of var keyword ?
answer:________________________________________________________________________________________________________________________________________
Handout 2
Task 2. Deduce and write down the statement of problem.
public static void replacesign (int[]
numbers, int number)
{
for (int i=0; i<numbers.Length; i++) {
if (numbers[i] == number) {
numbers[i] = -numbers[i];
}
}
}
static void Main()
{
int[] numbers = {12, 5, 7, 83, 5, 8, 5};
replacesign (numbers, 5);
for(int i=0; i<numbers.Length; i++)
{
Console.WriteLine(numbers[i]);
}
}
Program does this: ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
Links:
1. https://csharp.net-tutorials.com/basics/functions/
2. https://docs.microsoft.com/ru-ru/dotnet/csharp/language-reference/keywords/value-types
3. https://poisk-ru.ru/s30898t9.html
Скачано с www.znanio.ru
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.