首页
登录
职称英语
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
17
管理
问题
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
随机试题
某投资者在上一交易日的可用资金余额为60万元,上一交易日的保证金占用额为22.51万元。当日保证金占用额16.5万元,当日平仓盈亏为5万元,当日持仓盈亏为2万元
It'snotdifficulttosettargetsforst
默顿提出的科学家的四条社会规范中不包括()A.普遍主义 B.公有主义 C.
电缆引入建筑时,所穿保护管应超出建筑物散水()。A.80mm B.90mm
在视交叉处,来自两眼视网膜的哪侧纤维交叉到对侧A.下方 B.颞侧 C.上方
一般而言,按预期收益率从低到高顺序排列正确的是( )。A.国债,企业债券,股票
患者,女,25岁,反复喘息10余年,常在春季发病,2天前因闻油烟后出现喘息、咳嗽
基础心理学是研究()。 (A)正常成人心理现象的心理学基础学科 (B
银行承兑汇票的承兑银行,应当按照票面金额向出票人收取()的手续费。A:千分之一
既能用于支气管哮喘,又能用于心源性哮喘的药物是() A.肾上腺素 B.吗啡
最新回复
(
0
)