首页
登录
职称英语
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
47
管理
问题
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
随机试题
[originaltext]W:GoodmorningGrahamandwelcometotheshow.M:Goodmorning,
Whatisthebesttimetovisitthepark?______isthebesttime.[br][origina
Thepolicemanhavetheresponsibilitytowarthepublicthat______(遵守安全规则很重要).
Recentyearshavebroughtminority-ownedbusinessesintheUnitedStatesunpr
试说明如果一个策略组合为博弈中唯一的纳什均衡,则该策略组合不会在重复剔除严劣策略
D
有效边界上的点对应的证券组合称为有效组合。()
关于服用药品的特殊提示泪液、尿液可能出现橙红色的是A.服用头孢哌酮、甲硝唑后饮酒
下列各项中,不属于控制活动中实物控制的是()。A.对资产和记录采取适当的安全保护
下列关于等离子弧切割,叙述正确的是()。A.等离子弧切割是靠熔化来切割材料
最新回复
(
0
)