How to install the idol program on a computer. Installing the idol environment

How to install the idol program on a computer.  Installing the idol environment
How to install the idol program on a computer. Installing the idol environment

Artist Robot

Programming environment KuMir

Often in the lessons and in task 20.1, the “Robot” performer is required to go down or up the stairs. It must be understood that the descent or ascent of 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 stairs. The algorithm must be executed regardless of the number of steps, for example, both for two steps and for twenty.

TASK

The infinite field has a horizontal wall that continues indefinitely to the left and ends with a staircase that descends from left to right. The height of each step is two cells, the width is two cells. The robot is on a horizontal wall for descending stairs. The figure shows one of the ways to position the stairs 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 over only the cells that satisfy this condition.

For example, for the above drawing, the Robot must fill in 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 collapse.

SOLUTION

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

We are building a ladder. With the left mouse button, click on the walls of the cell. Rhombus (robot) move to the right place by holding the left mouse button

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

First, let's recall some commands for the Robot executor.

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 with the Bye Loop. We argue 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

nc until the bottom is free.

Inside the loop, you must sequentially execute the commands:

Right Down Shade Right Shade Left Down Shade Right Shade

Fully finished program looks like that:

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

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


So, the algorithm paints the cells for any number of stairs.

KuMir is a program for high school programmers created by NIISI RAS. This software allows you to teach programming to schoolchildren in secondary schools and test skills in practical classes.

Kumir stands for "Set of Educational Worlds". The program was created to teach the basics of programming. Kumir received wide application in computer science lessons for high school students of secondary schools.

The program consists of several components. The Standard component is built with the usual set of tasks and training courses. The second "StandardPro" is expanded with additional lessons. Kumir has a course of practical work for high school students and teachers.

Purpose

Workshops with lessons on programming languages ​​are popular in computer science classes. The program on the basics of programming is equipped with a school language of algorithms. This language is analogous to the syntax that works in old programming languages ​​like Pascal or Basic.

The program code is indicated in Cyrillic, which gives a simple perception of information. Students understand the logical operations and algorithms of the language more easily. KuMir has algorithms for "compiling" and "interpreting". The developers of this program call them "Robot" and "Drafter".

The tasks of the program are divided into theoretical and practical parts. In some lessons, you can view the answer in a "visual view". The visual shell allows you to visually look at the changes that have occurred with the program code. All lessons and practical work created according to the structure with separate courses. Performing very large work, the program stores unfinished programs in the KUM format. Running these jobs on the Windows operating system is not available. Use special programs to compile to run the created projects in KUM format.

The creators of the program divided a large project into several stages. KuMir has a function that monitors the correct input of the code and the correctness of the values. A special assistant shows the data of logical expressions and information after entering assignment operations in a separate panel.

The tutorial is available to download and use free of charge. The number of installations is unlimited. KuMir can be used on any educational computer. Software installed on computers operating system Windows and on UNIX systems.

The most important

  • KuMir is suitable for teaching high school students in secondary schools;
  • its own syntax base, which is created in Cyrillic;
  • division of workshops into their own courses;
  • contains practical work for teachers;
  • the program runs on the free GNU 2.0 license;
  • a simple shell with the Russian language.

Kumir (KuMir) is an educational complex designed to teach programming to middle and high school students. Its full name, the Learning Worlds Bundle, is due to its modularity and extensibility.

The development of KuMir began in the spring of 1985 with the creation of a school algorithmic language. At that time, there were few computers, and the first schoolchildren who studied using this method wrote their programs in ordinary notebooks.

The modern Russian version of Kumir appeared only by 1995 and immediately became the main method for teaching programming. Subsequently, the educational complex was finalized and improved, and in the near future it is planned that it will be used in the USE.

The application is distributed under the GNU 2.0 license, which allows you to use the Learning Worlds Kit for any purpose, including commercial.

Possibilities

It is difficult to list all the advantages of this program, especially since it has practically no analogues available. However, the following are worth highlighting:

  • simple programming language based on Algol, easy to learn;
  • Russian vocabulary of the built-in algorithmic language;
  • support not only Windows, but also Linux;
  • fast program debugging;
  • built-in executors Draftsman and Robot;
  • creation of additional performers;
  • checking the created algorithm on the fly, which allows you to immediately see your mistakes.


Advantages and disadvantages

This application has its pros and cons, like many other training complexes. Let's look at them in detail.

  • visualization of the process of creating an algorithm;
  • a simple learning system that develops and consolidates useful programming skills;
  • object-oriented approach;
  • many built-in algorithmic structures that can be quickly added to the program being created;
  • advanced error control, including detection of: erroneous array index, undefined variables, numerical overflow.

The program also has certain disadvantages, most of which are related to the limited scope of its application.

  • you cannot call a function and not process the result returned by it: you have to use an unnecessary variable;
  • there are not too many examples, and the help does not answer some questions;
  • you cannot format the output of data, especially numeric ones;
  • the speed of the interpreter leaves much to be desired;
  • the built-in programming language is practically no longer needed anywhere and is not popular.

Some of these shortcomings are planned to be eliminated in the next version of KuMir, which has already been developed and is under testing.

How to use

After starting the program, a draft of the future algorithm will appear in the built-in editor (by default, the executor is Robot). If necessary, it can be changed to the Draftsman.

Let's calculate the area of ​​a square, for this we need to enter the following code:

alg square area

Item length, area

Input length

Area:= length * length

The output "The area of ​​the square is", the area

Many other school problems can be solved in a similar way.

The application menu is in Russian, and when you enter the algorithm, all errors are immediately visible, which allows anyone to quickly learn programming.

Video

Write your first algorithm and learn basic commands The following tutorial will help.

Download

On our site you can download Kumir along with all the necessary performers for comfortable work in the program.

Language Russian
OS Windows 7, 8.1, 10

KuMir is a training program for schoolchildren who decide to start studying the programming system. It has its own programming language. The program was developed by specialists from NIISI RAS to help teachers in the subject of "Informatics" in order to simplify the educational process and make it more interactive. On this site you can download Kumir for free.

What is this scientific product?

KuMir is deciphered - a set of educational worlds. Indeed, the program contains different variants programming from mathematical and logical operations, to drawing and interactive process control with a full-fledged I / O system.

Installation is simple. On this moment only version for Windows 7 (Windows 7) is available. But in the future it is planned to develop the program for other platforms. But for ordinary students, this is what you need. Information about latest version You wish to receive With official site.

This complex uses its own language for programming. By the way, the programming language used to work in this program is also called Kumir. The language itself is conditionally divided into several groups, divided by their functional component:

  • algorithmic language commands;
  • Robot commands;
  • draftsman commands.

A programming language can work with several types of values:

  • whole;
  • real;
  • brain teaser;
  • symbolic;
  • lettered.

As you can see given language offers a wide range of programming options. It's fairly easy to learn for beginners, but can be a bit difficult to learn if you already know a programming language, because the syntax is quite childish and takes some getting used to.

The programming language also contains all the basic mathematical and algebraic functions. This will allow you to combine the study of both the basics of programming and such subjects as mathematics, algebra, geometry, physics.

System disadvantages:

  • insufficient speed of command execution;
  • no classic graphics;
  • this language is not used anywhere else (although it is an analogue of Pascal and one can develop further along this path).

Main advantages:

  • all commands in Russian;
  • there is error diagnostics;
  • free and licensed software;
  • convenient provision of debugging information;
  • the ability to build task blanks;
  • the ability to create program templates.

Features of working with this product and programming language

The programming language is used with Russian vocabulary and clear structure. This makes it possible even for a student who has never done programming before to start writing simple but interesting programs in just a couple of lessons. But this does not negate the fact that Kumir allows you to create quite complex programs for your level.

Automatic checking when editing a program is also a big plus for the system. If errors are found, an informational message will be displayed. The work of the program is displayed either in the form of text on the screen, or allows you to use virtual executors - devices that can perform a certain set of actions embedded in the program.

Main

And this, of course, for which it was created this program. This is so that you can take the exam in computer science. It is problematic nowadays to certify foreign products and therefore our own product was created. And since you have come here, it means that you are preparing for the exam and then you definitely need to download the idol right now using the link provided below.

Download the Kumir environment for home installation: http://lpm.org.ru/kumir2/files[..]dows-32bit-setup.exe


Download an archive with a course of tasks to complete at home:. The archive is regularly updated!

Installation Kumir

2. Run the downloaded exe file. You may need to run the file with administrator rights ( Context menu- Run as administrator):


3. As a rule, you can answer all questions during installation in a standard way.

Course device

1. The course with assignments consists of the kumir directory, which contains the robot.kurs.xml file with the course description, the nested robot subdirectory with examples starting conditions robot and program templates. All these files are packed into one zip archive, posted at . This archive is regularly updated as new assignments become available.


2. Your personal solutions and the results of their verification are stored in the robot.work.xml file, which is located in your home directory. So to get home exact copy course and completed assignments, you need to download the zip-archive with the course, unpack it at home, and also get a copy of the robot.work.xml file by sending it to yourself e-mail or transfer to USB Flash.

Work at home

1. Run Kumir, open the course window (menu "Tools - Practicum"). Click the "Download course" button and select the robot.work.xml file (the file with your solutions).


After opening the robot.work.xml file, you will see an error message - Kumir cannot find course assignments contained in the robot.kurs.xml file (because this file is located in a different directory).



Specify the path to the robot.kurs.xml file.


After that, you can perform tasks:

Transferring completed assignments from home to school

Email the robot.work.xml file or transfer it to a USB Flash. When opening this file at school, you will see the same error message, point to the /home/pub/tasks/kumir/robot.kurs.xml course file.