首页
登录
职称英语
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
30
管理
问题
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
随机试题
证券公司、证券投资咨询机构应当严格执行发布证券研究报告与其他证券业务之间的(
审计人员从总体规模为1000个、账面价值为300000元的存货项目中选取200个
疫情期间,某民办学校王老师没有报备批准就自行前往疫情严重的国家旅游,造成严重后果
在通过其他途径都不能获得满意的救济时,可以通过( )渠道获得充分的补救。A.校
通过追踪研究,咨询结果可能()。 (A)显著,求助者的问题顺利地解决
A.HCO↓,pH↓,PCO正常 B.HCO↑,pH↑,PCO正常 C.HC
未经机械加工,密度大于0.8克/立方厘米,厚度小于或等于5毫米的中密度纤维板A.
承包经营的承包期一般为( )年。A.1~3 B.3~5 C.1~5 D
供配电系统的设计中供电系统应简单可靠,同一电压供电系统的配电级数不宜多于()。
下列符合一般工程项目施工组织设计编制流程的是( )。A.分析研究设计图纸.合同等
最新回复
(
0
)