> ## Documentation Index
> Fetch the complete documentation index at: https://docs.primastem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test 1

> Book 2, after chapter 4. 20 minutes, no robot.

For printing: [PDF, A4](https://github.com/primastem/mintlify-docs/raw/main/en/book-2/files/test-1.pdf)

After chapter 4. 20 minutes, no robot. The grid sheet has 1 cm cells.

Name \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Group \_\_\_\_\_\_ Class \_\_\_\_\_\_ Date \_\_\_\_\_\_\_\_\_\_

### Task 1. Predict the drawing

Board: top row Forward 100, Right, Forward 50, Right, Forward 100. Start: the bottom-left corner of the frame, the robot faces up. Draw on the sheet what comes out and mark the finish with an arrow.

![](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-arch-board.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=13a9889ca6fc2f7626982ae20dcdc2cf)

Program on the board

![Grid sheet of 12 × 12 cells with a frame and a start](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-task1-blank.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=61a46f0a77faeaf35b723a1ae39f9a6b)

Draw here

### Task 2. Write the program for the drawing

The robot drew the letter T in the frame. Start: the green dot in the middle of the bottom edge, the robot faces up. Write the program on the empty board: in each pair, the command goes on top and the number below it.

![Letter T in a frame](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-task2-T.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=e84495f9b5232a24b2fddaf47ea3c97c)

What the robot drew

![Empty board: top row 6 pairs, bottom row 5 pairs](https://mintcdn.com/primastem/qh_Y4RsDSx4JyXs-/images/book-1/attachment4-empty-board.svg?fit=max\&auto=format\&n=qh_Y4RsDSx4JyXs-\&q=85\&s=c18ba079e087ea9ea63f9a6bba536a5a)

Write the program

### Task 3. Find the first wrong pair

We wanted the letter J. Board: top row Forward 100, Right, Forward 100, Left, Forward 50. Start: the top-right corner of the letter, the robot faces down. The robot drew something else. Which pair is the first wrong one? What do you put in its place?

![](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-jwrong-board.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=766fa03d9a4932c58dd42de2aa6fb03e)

Program on the board

![](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-jfixed-field.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=e3396561f3e6b10ae52a7bbfc87a4b80)

What we wanted

![](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-jwrong-field.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=76287264d2259650bb357459696ecb14)

What the robot drew

![Lines for the answer](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/lines-2.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=6c85f64bbdbdf59c3a0a48e2c6b9a67b)

### Task 4. Fold it into a function

The hexagon is written the long way: Forward 50, Right 60 six times, that is 12 pairs. The top row of the board has only 6 pairs, so the program does not fit. Write it shorter: write the tokens on the empty board. In each pair, the command goes on top and the number below it. The bottom row of the board is the function.

![Empty board: top row 6 pairs, bottom row 5 pairs](https://mintcdn.com/primastem/qh_Y4RsDSx4JyXs-/images/book-1/attachment4-empty-board.svg?fit=max\&auto=format\&n=qh_Y4RsDSx4JyXs-\&q=85\&s=c18ba079e087ea9ea63f9a6bba536a5a)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.