首页
登录
职称英语
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
38
管理
问题
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/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
随机试题
Whenitcomestoshopping,thestoreshereintheUnitedStatesareoftenov
[originaltext]W:Bob,willyoutellmesomethingaboutthenewintelligenthous
股票期权赠予计划的内容不包括()。A.股票期权的赠予方式 B.行权 C.股
拆除建筑物,一般自上而下顺序进行,也可数层同时拆除。
A.维生素B B.维生素B C.维生素B D.泛酸 E.维生素PPTPP
A.青蒿鳖甲汤 B.茵陈蒿汤 C.蒿芩清胆汤 D.温胆汤 E.半夏泻心汤
P波消失,代之以间距、振幅不等的畸形波,频率360次/分,QRS波正常,律绝对不
1岁小儿在接触水痘后,立即给予丙种球蛋白肌内注射的目的是A.可防止发病 B.阻
根据劳动合同法律制度的规定,下列关于试用期约定的表述中,正确的有()。A.非全
男性,36岁,近5月于剧烈活动时发生黑朦及短暂意识丧失。查体:胸骨左缘3、4肋间
最新回复
(
0
)