Меню
Разработки
Разработки  /  Информатика  /  Уроки  /  8 класс  /  Cycle with postcondition (do.....whil). Your first program

Cycle with postcondition (do.....whil). Your first program

8.3.3.1 - use select statements and cycles in the integrated development environment of programs (C / C ++)
28.04.2020

Содержимое разработки

Short-term lesson plan

Краткосрочный план урока


School:

Day:



The class:

8

Attended:

Didn`t attend:



Topic

Cycle with postcondition (do.....whil). Your first program

Learning objectives

8.3.3.1 - use select statements and cycles in the integrated development environment of programs (C / C ++)

Lesson objectives

Execute and edit the finished program with a loop operator and with a postcondition

Thinking level

To know, to understand, to use.

Assessment criteria

Dials, compiles the program containing the specified operator

Corrects program code

Generates program code using specified operators.

Language goals

Language target

Knows and uses following terminology:

Compiler, IDE, Mathematical statement, Output.

Methods

«Brain storming», « Quizlet.com», “Work in pairs”

National morality

Industrialization and Economic Growth Based on Innovation

Interdisciplinary communication

Math, English, IT

Pre knowledge

The concept of a variable, program structure, program debugging, compilation, integrated programming environment, operator selected, input / output branch, loop operator with parameter, operator with precondition

Lesson plan

Lesson period

Activity

Resources



Start of the lesson

  1. min

























































1 min

1. Consolidation of the material covered /Закрепление пройденного материала: https://quizlet.com/_652ozt




Individual work at the computer /Индивидуальная работа. Игра на соответствие https://quizlet.com/371320841/match



2. Learning new material: independent work with text

Find answers to questions:

1. List three types of cycles.

2. What is characteristic of a cycle with a postcondition?

3. Explain the syntax of a loop with a postcondition?

4. Where does the loop condition check occur with a postcondition?

5. How many times is a loop with a postcondition performed?


2. Изучение нового материала: самостоятельная работа с текстом

Найти ответы на вопросы:

1. Перечислите три типа циклов.

2. Что характерно для цикла с постусловием?

3. Объясните синтаксис цикла с постусловием?

4. Где происходит проверка состояния цикла с постусловием?

5. Сколько раз выполняется цикл с постусловием?


Fizminutka



Quizlet.com
































independent work in pairs with text





















https://www.youtube.com/watch?v=6TAzTd2FKxM

Midsession

28 min

















Practical work.

Consolidation of the material studied/ Закрепление изученного материала

Practical work in pairs / Практическая работа в парах (По принципу водитель и навигатор)

Practice 1

What is the output of the following code?

Practice 2.

do оператор while (выражение);

Работает цикл следующим образом. В начале выполняется оператор, затем вычисляется значение выражения. Если оно истинно, оператор тела цикла выполняется еще раз.

Find errors and run the program / Найти ошибки и запустить программу

Example:

#include "stdafx.h"

#include

using namespace std

int main (



int x, y, i, pen; //описаваем нужные переменные

x=0 стартовое значение переменной

y=56; //определяем пенсионный возраст

do

{

cout

cini;

pen=y-i;

cout

x++; //изменение параметра цикла (аналогично x=x+1)

}

while (x

system "pause";

return 0

}

Check:

#include "stdafx.h"

#include

using namespace std;

int main ()

{

int x, y, i, pen; //описаваем нужные переменные

x=0; //стартовое значение переменной

y=56; //определяем пенсионный возраст

do

{

cout

cini;

pen=y-i;

cout

x++; //изменение параметра цикла (аналогично x=x+1)

}

while (x

system ("pause");

return 0;

}

Practice 3

Write a program: Search for the sum of numbers from 1 to 1000 using the do while loop. / Поиск суммы чисел от 1 до 1000, с применением цикла do while.






Work in C ++ program












































































Аdditional task

Homework

Concluding the lesson

2 min

1. Repeat the topic in the textbook

2. Grades per lesson


Reflection: Colorful stickers





Colorful stickers







Приложение



Рабочая карта урока

п/п

Задания

Оценка

Критерии

1

Individual work at the computer



2

Practice 1

What is the output of the following code?



3

Practice 2. Find errors and run the program



4

Practice 3 Write a program (Аdditional task)





-80%
Курсы дополнительного образования

Создание динамических веб-страниц с помощью PHP и MySQL

Продолжительность 72 часа
Документ: Cвидетельство о прохождении курса
4000 руб.
800 руб.
Подробнее
Скачать разработку
Сохранить у себя:
Cycle with postcondition (do.....whil). Your first program (614.08 KB)

Комментарии 0

Чтобы добавить комментарий зарегистрируйтесь или на сайт