Задача 6 пример 1 из проекта демоверсии по информатике ЕГЭ 2024
В этом видео ролике представлен разбор шестого задания демо-версии ЕГЭ по информатике 2024 в Python.
00:00 Условие
01:11 Решение
04:30 Ответ
Условие задачи: “Исполнитель Черепаха действует на плоскости с декартовой системой координат. В начальный момент Черепаха находится в начале координат, её голова направлена вдоль положительного направления оси ординат, хвост опущен. При опущенном хвосте Черепаха оставляет на поле след в виде линии. В каждый конкретный момент известно положение исполнителя и направление его движения.
У исполнителя существует две команды:
Вперёд n (где n – целое число), вызывающая передвижение ерепахи
на n единиц в том направлении, куда указывает её голова, и Направо
m(где m – целое число), вызывающая изменение направления движения на m градусов по часовой стрелке. Запись Повтори
k [Команда1 Команда2 … КомандаS] означает, что последовательность из S команд повторится k раз.
Черепахе был дан для исполнения следующий алгоритм:
Повтори 7 [Вперёд 10 Направо 120].
Определите, сколько точек с целочисленными координатами будут
находиться внутри области, которая ограничена линией, заданной этим алгоритмом. Точки на линии учитывать не следует.“
Если Вам понравился разбор, Вы можете поставить лайк, подписаться на канал или отправить любую сумму на развитие канала (ссылки на донаты в описании канала).
Ссылка на решение 6 задания (пример 2):
Este videoclipe apresenta uma análise da sexta tarefa da versão demo do Exame Estadual Unificado de Informática 2024.
Condição do problema: “O performer Tartaruga atua em um plano com sistema de coordenadas cartesianas. No momento inicial, a Tartaruga está na origem das coordenadas, sua cabeça está direcionada no sentido positivo do eixo y, a cauda está abaixada. Com a cauda abaixada, a Tartaruga deixa um rastro em forma de linha no campo. Em cada momento específico, são conhecidas a posição do intérprete e a direção de seu movimento.
O executor possui dois comandos:
Encaminhar n (onde n é um número inteiro) fazendo com que a tartaruga se mova n unidades na direção em que sua cabeça está apontando e para a direita m (onde m é um número inteiro) fazendo com que a direção do movimento mude m graus no sentido horário. Gravar repetição
k [Command1 Command2 ... CommandS] significa que a sequência de comandos S será repetida k vezes.
A tartaruga recebeu o seguinte algoritmo para executar:
Repita 7 [Avançar 10 para a direita 120].
Determine quantos pontos com coordenadas inteiras serão
estar dentro da área delimitada pela linha dada por este algoritmo. Os pontos na linha não devem ser levados em consideração.“
Se gostou da vídeo, pode curtir, se inscrever no canal ou enviar qualquer quantia para o desenvolvimento do canal (links para doações na descrição do canal).
This video clip presents an analysis of the sixth task of the demo version of the Examination in Informatics 2024.
Condition of the problem: “The performer Turtle acts on a plane with a Cartesian coordinate system. At the initial moment, the Turtle is at the origin of coordinates, its head is directed along the positive direction of the y-axis, the tail is lowered. With the tail lowered, the Turtle leaves a trail in the form of a line on the field. At each specific moment, the position of the performer and the direction of his movement are known.
The executor has two commands:
Forward n (where n is an integer) causing the turtle to move
n units in the direction her head is pointing, and to the right
m(where m is an integer) causing the direction of motion to change by m degrees clockwise. Record Repeat
k [Command1 Command2 ... CommandS] means that the sequence of S commands will be repeated k times.
The turtle was given the following algorithm to execute:
Repeat 7 [Forward 10 Right 120].
Determine how many points with integer coordinates will be
be inside the area that is bounded by the line given by this algorithm. Points on the line should not be taken into account.“
If you liked the review, you can like, subscribe to the channel or send any amount for the development of the channel (links to donations in the channel description).
#информатикаегэ #информатика #informatica #ciência_da_computação #informática #задача_6_в_ЕГЭ_поинформатике #ЕГЭ_информатика #ЕГЭ2024
1 view
627
216
3 months ago 00:10:58 1
Как влияют гаджеты на детей – «ПОЖИРАТЕЛИ МОЗГА» Мультфильм про строение мозга и развитие ребенка
3 months ago 00:09:21 1
УПРАЖНЕНИЯ БАРРЕ НА ВСЕ ТЕЛО ДЛЯ НАЧИНАЮЩИХ
3 months ago 02:00:45 1
Алексей Арестович: «Я нашёл своих. В зеркале» // «Скажи Гордеевой»
3 months ago 01:30:18 1
ЗОДИАК И ЕГО ДРЕВНОСТЬ (Е.П. Блаватская, “ТАЙНАЯ ДОКТРИНА“, Том 1 - Космогенезис, часть 3, отдел 16)
3 months ago 00:00:15 1
Форма накадэ “машинка“ Задачка номер 6 /Игра Го
3 months ago 01:04:53 1
Знание Своих прав позволяют РЕКИТЁРОВ ЖКХ поставить на место!
3 months ago 00:04:39 1
Sabaton The Attack of the Dead Men (Атака мертвецов)Cover на русском RADIO TAPOK
3 months ago 01:16:14 1
Запрещенные и замалчиваемые знания. Неволина Н.А.
3 months ago 00:14:40 1
КУМИР НЕ НУЖЕН, когда есть PYTHON | Алгоритм 6 задания на ЕГЭ 2024
3 months ago 00:08:50 1
НЕ ВЕРЬ НИЧЕМУ!“Как Остановить ВСЕ Мысли и ВЗЯТЬ Просветление За«РОГА»?Сатсанг с Ангеладжи Гуру 2024
3 months ago 00:32:08 1
Заявление о преступлении судьи Хутыз С И и мошенников!
3 months ago 00:27:15 2
Кто делает Фильтра для грузовиков и спецтехники и другие новинки СТТ Экспо
3 months ago 00:31:51 1
Тренировка на все тело дома. Упражнения на пресс, ягодицы, ноги, руки и спину | PopSport
3 months ago 00:34:35 1
Прославление в церкви “Миссия “Свет Христа“ -
3 months ago 00:10:44 1
10 ЛУЧШИХ УПРАЖНЕНИЙ ПРИ ВАЛЬГУСЕ ДЛЯ ДЕТЕЙ
3 months ago 00:05:57 1
На какие активы мы имеем право по изъятому паспорту СССР