首页
登录
职称英语
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
游客
2023-10-20
76
管理
问题
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度,前移四个格就可以出去了,但每前移一格都不包括机器人所站的那一格。
转载请注明原文地址:http://tihaiku.com/zcyy/3114196.html
相关试题推荐
________thatthepilotcouldn’tflythroughit.A、ThestormsoseverewasB、Sose
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
Notlongago,amysteriousChristmascarddroppedthroughourmailslot.The
Thedesegregationwasachievedthroughanumberofstruggles,________havebeenm
Onglancingthroughyourmorningpaperyounoticethatfourpagesaremissing.O
Eachoftheninesquaresinthegridmarked1Ato3C,shouldincorporateallthe
ThroughEnglishwewillbeabletocommunicate______partoftheworldwecomefr
Balbirwantstoguidearobotalongthewhitesquaresthroughthismaze.Therob
随机试题
Whyisthespeakercalling?[br][originaltext]Hi,Serra.ThisisVickyfrompu
ImmediatelyaftertheCivilWar,however,thedietbegan【C1】______.Railt
Dieting,accordingtoanoldjoke,maynotactuallymakeyoulivelonger,bu
开式或预作用细水雾灭火系统应急机械启动步骤:手动关闭联动设备并切断电源;启动细水
企业信息资源集成管理的核心是对企业()的集成。A.业务流 B.内部信息流 C
十九大报告中指出,统筹(),增强()意识,做到居安思危,是我们党治国
根据《营业性演出管理条例》规定,营业性演出不得有下列情形()。A.扰乱社会
北方某商业工程,建筑面积8000m2,施工单位为某施工总承包单位。框架结构,条形
A.实热证B.虚热证C.实寒证D.虚寒证E.寒热错杂阴偏衰引起的证候是
全冠粘固后出现龈缘炎,可能的原因除外A.全冠的轴壁凸度不良 B.冠边缘过长
最新回复
(
0
)