Download the educational robot performer program. Starting environment of the Robot. Key Features and Functions

Idol program

Performer Robot


Who is the Robot performer?

  • Imagine a checkered field (like a sheet from a notebook with a checkered pattern) on which there is a certain object, which we will call a Robot. Using special teams, we can control this Robot - move it around the cells, paint over the cells. And in most cases, our task will be to write a program for the Robot, in which it will paint certain cells.

Setting up the environment Idol for the performer Robot

  • The launched Idol program looks like this.

Starting situation Robot

  • Before starting the program execution, it is necessary to set the starting environment for the Robot executor. This means placing the Robot in the desired position, placing walls, painting the required cells, etc. This step is very important. If you ignore it, the program may not work correctly or even crash.

Press Edit environment



Performer Robot. Simple commands.

  • up
  • down
  • left
  • right
  • paint over

The result of executing these commands is clear from their names:

  • up - move the Robot up one cell
  • down - move the Robot one cell down
  • left - move the Robot one cell to the left
  • right - move the Robot one cell to the right
  • paint over - paint over the current cell (the cell in which the Robot is located).

Algorithm example

  • First you need to write the phrase:
  • use Robot

If you know how many cells need to be painted, then the solution algorithm will be as follows!


Task No. 1

  • Write a program to solve the following problem if you know how many cells need to be shaded

Cycles

  • 1. Loop with counter used when it is known in advance how many repetitions need to be done.

nc time

kts

Here we must specify the number of repetitions (number) and the commands that will be repeated. Commands that are repeated in a loop are called body of the cycle.



Task No. 2

  • Write a program to solve the following problem using a loop with a counter

  • 2. Loop with condition - while the condition is true, the loop is satisfied, if false, it is not satisfied
  • The Robot performer has several conditions

free on top

free from below

left free

free on the right

wall above

wall below

left wall

wall on the right

  • Particles you can use: NOT, AND, OR

Conditional loop structure

nts for now free on the right

right

paint over

kts



Task No. 3

  • Write a program to solve the following problem using a conditional loop:

Task No. 4

  • Write a program to solve the following problem using conditional loops:



Problem solving:

  • 2. The robot must be moved from the starting position to the final position, painting the walls


Task No. 5

  • There is a horizontal wall on an endless field. The length of the wall is unknown. The robot is located on top of the wall at its left end. The figure shows the location of the robot relative to the wall (the robot is designated by the letter “P”):

Answer to task No. 5

  • nc not yet (bottom free)

paint over

The beginning of the cycle (nc) and the condition (not yet (free from below)) are written on one line.



Design If

  • top free bottom free left free right free
  • These commands can be used in conjunction with a condition "If", having the following form:
  • If condition That
  • sequence of commands
  • For example, to move one cell to the right, if there is no wall on the right, and paint the cell, you can use the following algorithm:
  • if the right is free then
  • right
  • paint over

Task No. 7

The lengths of the walls are unknown.


Answer to task No. 7

until the top is free

paint over

right

while the top is free

right

while it's free on the right

paint over

right

not yet free on the right

paint over

down

while it's free on the right

down

not yet free on the right

paint over

down


Task No. 8

The lengths of the walls are unknown.

Each wall has exactly one passage, exact location the passage and its width are unknown.


Answer to task No. 8

while the top is free

until the top is free

paint over

while the top is free

until the top is free

paint over

until the bottom is free

paint over

while the bottom is free

until the bottom is free

paint over


Task No. 9

The lengths of the walls are unknown.

Each wall has exactly one passage, the exact location of the passage and its width are unknown.


Answer to task No. 9

while the bottom is free

until the bottom is free

paint over

while the bottom is free

until the bottom is free

paint over

until the top is free

paint over

while the top is free

until the top is free

paint over


Task No. 10

The lengths of the walls are unknown.

Each wall has exactly one passage, the exact location of the passage and its width are unknown.


Answer to task No. 10

while the left is free

while the left is free

paint over

while the left is free

while the left is free

paint over

not yet free on the right

paint over

while it's free on the right

not yet free on the right

paint over


Task No. 11

The lengths of the walls are unknown.

Each wall has exactly one passage, the exact location of the passage and its width are unknown.


Answer to task No. 11

until the top is free

until the top is free

paint over

while the bottom is free

until the top is free

paint over


Task No. 12

There is a staircase on the endless field. The staircase first goes down from right to left, then down from left to right. The height of each step is one square, the width is two squares. The robot is to the right of the top step of the stairs. The number of steps leading to the left and the number of steps leading to the right are unknown. The figure shows one of the possible ways to position the ladder and the Robot (the Robot is designated by the letter “P”).


Answer to task No. 12

We move down under the stairs from right to left until we reach the junction of the stairs:

nts the bottom is free for now

down

left

left

We move down to the end of the descending staircase, painting the necessary cells along the way:

nts not free on the left yet

paint over

right

paint over

right

down



Answer to task No. 13

nts the left is free for now

paint over

left

up

nts not free on the left yet

paint over

up


Task No. 14

On an infinite field there is a rectangle bounded by walls. The lengths of the sides of the rectangle are unknown. The robot is inside a rectangle. The figure shows one of the possible ways to position the walls and the Robot (the Robot is designated by the letter “P”).


Answer to task No. 14

while it's free on the right

right

while the top is free

up

paint over

nts the left is free for now

left

paint over



Answer to task No. 15

while it's free on the right

paint over

right

while the bottom is free

paint over

down

paint over

not yet (bottom free)

left

down

not yet (free on the right)

paint over

down

paint over

right

not yet (free on top)

paint over

right



Answer to task No. 16

not yet free on the right

paint over

down

paint over

right

until the top is free

paint over

right

while the top is free

up

while it's free on the right

paint over

right

not yet free on the right

paint over

down



Performer Robot

KuMir programming environment

Often in lessons and in task 20.1 the “Robot” performer is required to go down or up the stairs. You must understand that going up or down the stairs is carried out one cycle. As a rule, to check the performance of the algorithm, it is necessary to add steps on the ladder. The algorithm must be executed regardless of the number of stages, for example, both for two stages and for twenty.

TASK

In an infinite field, there is a horizontal wall that continues indefinitely to the left and ends with a staircase that goes down from left to right. The height of each step is two squares, the width is two squares. The robot is on a horizontal wall to go down the stairs. The figure shows one of the ways to position the ladder and the Robot (the Robot is indicated by the symbol ).

Write an algorithm for the Robot that paints all the cells located on the steps of the stairs. It is required to paint only the cells that satisfy this condition.

For example, for the above drawing, the Robot must color the cells:

The final location of the Robot can be arbitrary. The algorithm must solve the problem for an arbitrary field size and any number of steps. When executing the algorithm, the Robot should not be destroyed.

SOLUTION

We will solve this problem in the KuMir programming environment. Open the program and go to the Robot menu -> Edit environment

We are building a staircase. With the left mouse button we click on the walls of the cage. Move the diamond (robot) to the desired location by holding left button mice

Exit the editing mode of the Robot menu -> Edit environment. Next, write the command “use Robot” on the first line.

First, let's remember some commands for the Robot performer.

The assignment says that

The algorithm must solve the problem for an arbitrary field size and any number of steps

This means that the Robot must move using the While loop. We reason like this: there is a wall below the robot, which means it is not free from below. On the 4th line of the editor we write the command

nts is not free from below yet.

Inside the loop, you need to execute the commands sequentially:

To the right, down, paint to the right, to paint, to the left, to bottom, to paint, to the right, to paint

Fully ready-made program looks like that:

Use Robot alg start nc until the bottom is free right down paint right paint left down paint right paint kts end

To test the algorithm, let’s add a few more steps and check the result


So, the algorithm paints cells for any number of steps on the ladder.

Driver Robot is comprehensive solution for installation and update system drivers. The application has an extremely pleasant ergonomic interface and is extremely easy to use. The program allows you to radically simplify the selection and installation process necessary drivers for all system devices and periphery. Immediately after launch, the utility will analyze your system and detect all existing and connected equipment. Next, the program will determine the presence and current version drivers for each device. In order to install missing and update installed software, you only need to make a couple of mouse clicks. If desired, you can leave old version drivers for any device. To do this, simply uncheck it before starting the update. What’s remarkable is that while updating drivers, you don’t even have to work through installation wizards. Driver Robot will install everything software in the so-called quiet mode.

It is worth noting that the program installs onto your computer only licensed drivers downloaded from the developer’s official websites. The application also allows you to export drivers, grouping them into single file, from which they can easily recover after reinstalling the operating system.

Key Features and Functions

  • allows you to update drivers for sound card, graphics accelerator, printer, scanner, network devices, webcam, USB port and other devices;
  • allows you to export and restore drivers;
  • the update process is fully automated;
  • establishes exclusively official drivers, downloaded from official websites;
  • has a great modern interface.

Limitations of the free version

  • in the demo version you can only analyze the system; the function of downloading and installing new drivers is not available.

The system can be used to solve problems on the topics “Executor and his commands”, “Procedures”, “Functions”, “Cycles”, “ Conditional statements", "Variables", "Arithmetic Expressions", "Logical Operations and Logical Variables", "Global Variables", "Input and Output Operators", " Character strings", "Arrays", "Matrixes", etc.

Programming language in the environment Performers fully Russified, programs are typed and edited using a built-in editor with syntax highlighting.

Basic designs supported C language.

Error messages when broadcast and executed, they are displayed in Russian.

There is a built-in debugger with the ability to execute programs in step by step mode with tracing of procedures and functions. The values ​​of variables can be controlled during program execution in step-by-step mode.

The actions of the performers are displayed on the screen, used animation.

A check is performed for the Robot performer correctness of the decision tasks after the program ends.


How to install the program?

To the learning environment archive Performers The following files are included:

robot.exe main program
robot.chm file help system(compressed hypertext)
readme.txt environment description Performers and installation features
license.txt license agreement
MAZE subdirectory with labyrinths for the performer Robot
MAZE2 another set of tasks for the performer Robot
PROGRAM/ROBOT subdirectory with solutions to problems for the performer Robot
PROGRAM/DRAWER Draftsman
PROGRAM/TURTLE subdirectory with example programs for the performer Turtle
PROGRAM/KURS subdirectory with sample programs for an artist-independent programming course
PROGRAM/FRACTALS subdirectory with examples of programs for constructing fractals

After unpacking the archive, the program is located in in working condition and does not require any additional installations.

System requirements

The program runs on 32-bit operating systems of the line Windows: Windows 95, Windows 98,Windows NT, Windows 2000, Windows XP and compatible with them. Works for everyone modern computers, takes about 1 MB on your hard drive.

IN operating system Linux you can run the program in the environment Wine. Additionally, you need to copy the font files from the Windows\Fonts folder (from the computer on which you installed Windows) to the /home/user/.wine/drive_c/windows/Fonts/ folder on the computer with Linux.

After unpacking the archive, the program is immediately in working order and does not require any additional settings.

For in English, which ensures the replacement of all keywords language, interface elements and system messages into English. Please note that when updating the program version, you must also update and a localization file.

News now also in the Telegram channel

March 15, 2019
Training program posted PasLaz V.A. Pasevich Lazarus environment.

December 23, 2018
Developments posted V.A. Pasevich(Robot, Turtle).

September 11, 2018
Now you can copy the contents of the console window to the clipboard.

November 20, 2016
A new version: It is now possible to call the main program recursively.

License

Learning environment Performers And methodological developments are distributed according to the principle “As is” - “As Is”. This means that you use them at your own risk and the author does not bear any responsibility for damage caused to you personally and to your computer as a result of using the programs and techniques obtained on this site.

  1. 1) publication of materials in any form, including posting of materials on other Web sites;
  2. 2) distribution of incomplete or altered materials;
  3. 3) inclusion of materials in collections on any media;
  4. 4) obtaining commercial benefits from the sale or other use of materials.

Downloading materials means you accept the terms of this license agreement.

Download materials from other authors

All materials are posted in public access with the consent of the authors.

Tutorial PasLaz V.A. Pasevich, designed to transition from executor programming to programming in the Lazarus environment. 15.03.2019
Tasks for performers Robot and Turtle. Author - V.A. Pasevich, Honored Teacher of the Russian Federation. (2,784 KB)
Algorithmics course (7th grade): performers Robot, Draftsman and Turtle. Author - L.A. Kayushkina, MBOU Secondary School No. 11, Ishimbaya, Republic of Bashkortostan (472 Kb)
Work program “Algorithmics” (5th grade, Federal State Educational Standard): performers Robot, Draftsman and Turtle. Author - N.E. Leko, secondary school No. 9, Tikhvin (220 Kb)
Development of lessons for the performer Robot. Author - S.V. Chaichenkov, MBOU Grushevskaya secondary school, Aksai district, Rostov region. (2 454 Kb)
Curriculum: performers Robot, Draftsman and Turtle. Author - N.E. Leko, secondary school No. 9, Tikhvin (200 Kb)
Author - G.A. Gavryukova, Municipal Educational Institution Secondary School No. 68, Ryazan ( ZIP archive, 3 380 Kb)Robot
PROGRAM/DRAWER Draftsman
PROGRAM/TURTLE subdirectory with example programs for the performer Turtle
PROGRAM/KURS subdirectory with sample programs for an artist-independent programming course
PROGRAM/FRACTALS subdirectory with examples of programs for constructing fractals
PROGRAM/PASEVICH subdirectory with developments by V.A. Pasevich (Robot, Turtle)

After unpacking the archive, the program is in working condition and does not require any additional installations.