Skip to main content

News

Programming problems for the school stage of the "Robo-Coding" olympiad among 5th–8th grade students in the Agency for Specialized Educational Institutions system

Published:

Programming problems for the school stage of the "Robo-Coding" olympiad held among 5th–8th grade students in the system of the Agency for Specialized Educational Institutions

PROBLEMS

Problem 1: Difference of even and odd numbers

Statement: Among the numbers from 1 to N, subtract the sum of all odd numbers from the sum of all even numbers. N is entered as a positive integer.

Problem 2: Sorting letters

Statement: Arrange the letters in the given word in alphabetical order.

Problem 3: Robot turning movement

Statement: The robot starts moving from the starting point (0, 0). With each command, the robot takes one step left, right, up or down ('L', 'R', 'U', 'D'). Based on the given sequence of commands, determine the robot's final coordinates.

Problem 4: Number with the maximum number of divisors

Statement: Among the numbers from 1 to N, find the number with the most divisors.

Problem 5: Creating a username

Statement: A username must be created from the given first name and surname. The first letter of the first name and the full surname are used, but all letters must be lowercase (for example, "Ali Valiyev" -> "avaliyev").

Programming problems for the school stage of the "Robo-Coding" olympiad among 5th–8th grade students in the Agency for Specialized Educational Institutions system | Erkin Vohidov Creative School