首页
登录
职称英语
Balbir wants to guide a robot along the white squares through this maze.The rob
Balbir wants to guide a robot along the white squares through this maze.The rob
游客
2024-08-21
23
管理
问题
Balbir wants to guide a robot along the white squares through this maze.
The robot starts on the square marked " Entrance" , and must finish on the square marked
"Exit".
It can only move FORWARD, TURN RIGHT 90° and TURN LEFT 90°.
Which instructions will guide the robot through the maze?
选项
A、FORWARD 4, TURN LEFT 90°, FORWARD 2, TURN RIGHT 90 , FORWARD 3, TURN RIGHT 90 , FORWARD 5.
B、FORWARD 3, TURN RIGHT 90 , FORWARD 1, TURN RIGHT 90 , FORWARD 3, TURN LEFT 90 , FORWARD 3.
C、FORWARD 3, TURN LEFT 90 , FORWARD 1, TURN RIGHT 90 , FORWARD 2, TURN RIGHT 90 , FORWARD 4.
D、FORWARD 3, TURN RIGHT 90 , FORWARD 1, TURN LEFT 90 , FORWARD 2, TURN LEFT 90 , FORWARD 4.
答案
C
解析
前移三个格,左转90度,再前移一个格,右转90度,再前移两个格,右转90度,前移四个格就可以出去了,但每前移一格都不包括机器人所站的那一格。
转载请注明原文地址:https://tihaiku.com/zcyy/3728766.html
相关试题推荐
Eachoftheninesquaresinthegridmarked1Ato3C,shouldincorporateallthe
CyclingthroughEuropewasconsideredtobeoneofJenny’sfantastictips.[br]
CyclingthroughEuropewasconsideredtobeoneofJenny’sfantastictips.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[origi
ThroughEnglishwewillbeabletocommunicate________partoftheworldwecome
Eachoftheninesquaresmarked1Ato3Cinthegridshouldincorporateallthe
Hadheworkedharder,he______theexam.A、musthavegotthroughB、wouldhavego
随机试题
Childrenwhosemindswandermighthavesharperbrains,researchsuggests.A
WhatcanbeinferredaboutUkraine?[originaltext]OfficialsinRussiasayi
覆灭collapse
下列哪项不属于预算的基本方法()A.弹性预算 B.项目预算 C.零基预算
嵌入多媒体文件的HTML代码正确的是( )。A.<embedurl=""><
A.囊性水瘤 B.蔓状血管瘤 C.毛细血管瘤 D.海绵型淋巴管瘤 E.海
【教学过程】 环节一:导入新课 教师展示列宁的画像,并提出问题,图中的这个人是谁?他开创的人类新纪元是什么? 学生回答后,教师顺势过渡到新课学习:就
关于中药毒理试验说法错误的是()。A.受试药物应与推荐临床试验的药物一致B.中
甲型肝炎可以用下列哪一种缩写来表示()A.HAVB.HBVC.HCVD.HDV
某国在电信市场开放前仅有一家全国性电话运营商A。市场开放后,新成立了一家全国性电
最新回复
(
0
)