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

# テスト1

> ブック2、第4章のあと。20分、ロボットなし。

印刷用：[PDF, A4](https://github.com/primastem/mintlify-docs/raw/main/jp/book-2/files/test-1.pdf)

第4章のあと。20分、ロボットなし。シートの1マスは1 cm。

名前 \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ グループ \_\_\_\_\_\_ クラス \_\_\_\_\_\_ 日付 \_\_\_\_\_\_\_\_\_\_

### 問題1. 図形を予測する

コントローラー:上段 前進100、右、前進50、右、前進100。スタート：枠の左下の角、ロボットは上を向く。ロボットが描く図形をシートに描き、ゴールを矢印で示してください。

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

コントローラー上のプログラム

![12 × 12マスの枠とスタートのあるシート](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-task1-blank.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=61a46f0a77faeaf35b723a1ae39f9a6b)

ここに描く

### 問題2. 図形からプログラムを書く

ロボットは枠の中に文字Tを描きました。スタート：下の中央の緑の点、ロボットは上を向く。空のコントローラーにプログラムを書いてください。各ペアは、上にコマンド、その下に数を書きます。

![枠の中の文字T](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/test1-task2-T.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=e84495f9b5232a24b2fddaf47ea3c97c)

ロボットが描いた図形

![空のコントローラー：上段6ペア、下段5ペア](https://mintcdn.com/primastem/qh_Y4RsDSx4JyXs-/images/book-1/attachment4-empty-board.svg?fit=max\&auto=format\&n=qh_Y4RsDSx4JyXs-\&q=85\&s=c18ba079e087ea9ea63f9a6bba536a5a)

プログラムを書く

### 問題3. 最初のまちがったペアを見つける

描きたかったのは文字J。コントローラー:上段 前進100、右、前進100、左、前進50。スタート：文字の右上の角、ロボットは下を向く。ロボットは別の図形を描きました。最初のまちがったペアはどれですか。代わりに何を置きますか。

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

コントローラー上のプログラム

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

描きたかった図形

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

ロボットが描いた図形

![答えを書く行](https://mintcdn.com/primastem/xwp0do405f3AQ7Hp/images/book-2/tests/lines-2.svg?fit=max\&auto=format\&n=xwp0do405f3AQ7Hp\&q=85\&s=6c85f64bbdbdf59c3a0a48e2c6b9a67b)

### 問題4. 関数にまとめる

六角形が長く書かれています。前進50、右60を6回で、12ペアです。コントローラーの上段は6ペアしかなく、プログラムが入りません。短く書いてください。空のコントローラーにチップを書き入れます。各ペアは、上にコマンド、その下に数です。コントローラーの下段は関数です。

![空のコントローラー：上段6ペア、下段5ペア](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.