Задача 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
Back to Top