> ## 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.

# Answer key to test 2

> Book 2, answers for the teacher.

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

For the teacher. The pictures come from the simulator: the program on the board and what the robot draws. The link runs the same program.

### Task 1

Board: top row Forward 60, Right 120, Function × 2. Bottom row: Forward, Right. Forward without a number goes 60, Right without a number turns 120. A triangle with 60 mm sides, the drawing is 52 × 60 mm. The robot is at the start and faces up.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n060,crig.n120,cfun.r002\&fn=cfor,crig\&s=l1047402\&r=274-330-0\&run)

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-tri-board.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=449e0fb100161d70f4bfe7cfdbbc36d3)

Program on the board

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-tri-field.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=b8e5721235c944071552b4c82fb9212b)

What the robot draws

### Task 2

Before the call: at the start of a tooth, faces right. After the call: 40 mm lower than before the call, faces right. After the third call, the robot is 120 mm below the start and faces right. A comb with three teeth, 100 × 120 mm.

[Run in the simulator](https://simulator.primastem.com/#top=cfun.r003\&fn=cfor.n100,cbac.n100,crig,cfor.n040,clef\&s=l1047402\&r=250-240-90\&run)

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-comb-board.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=54b8c1f3a1ddf3202c8e9f7f50b49e21)

Program on the board

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-comb-field.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=f03cf75ad96e34701e2b7b889d154f73)

What the robot draws

### Task 3

Board: top row Forward 100, Left, Forward 100, Left, Forward 50. Start: the top-left corner of the frame, the robot faces down. Every Right became Left, and the start moved to the other corner.

[Run in the simulator](https://simulator.primastem.com/#top=cfor.n100,clef,cfor.n100,clef,cfor.n050\&s=l1047402\&r=250-250-180\&run)

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-jmirror-board.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=c309dbb1aab10d42e53191253820ba5c)

Program on the board

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-jmirror-field.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=366853c53cd66e4235da186c0a5881cd)

What the robot draws

### Task 4

The first wrong pair is 2: the board has Left, it needs Right. The error is the wrong side of the turn. The crossbar went 100 mm to the left, out of the frame, and the second post sticks out 20 mm above the frame. The fixed H ends on the right post, the robot faces up.

[Run in the simulator](https://simulator.primastem.com/#top=cfun,crig,cfor.n100,clef,cfun\&fn=cfor.n040,cbac.n100,cfor.n060\&s=l1047402\&r=250-290-0\&run)

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-hfixed-board.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=7593a69396849062b2dc604088f059e3)

Program on the board

![](https://mintcdn.com/primastem/oAzqmLMPmuYxZWeP/images/book-2/tests/test2-hfixed-field.svg?fit=max\&auto=format\&n=oAzqmLMPmuYxZWeP\&q=85\&s=f1f16ba2d97831dccbd0341d2f892ee3)

What the robot draws

### How to grade

Grade each task on three levels, as in the “The child can” table in [Appendix. Course map and materials](https://docs.primastem.com/en/book-2/appendix.md):

* **on their own**: solved it correctly without a hint;
* **with a hint**: solved it correctly after one question from the teacher;
* **with help**: solved it together with the teacher.

Accept a different program too, if it is correct. Check it in the simulator.


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