首页
登录
职称英语
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
游客
2024-08-21
55
管理
问题
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://www.tihaiku.com/zcyy/3728766.html
相关试题推荐
Eachoftheninesquaresinthegridmarked1Ato3C,shouldincorporateallthe
CyclingthroughEuropewasconsideredtobeoneofJenny’sfantastictips.[br]
CyclingthroughEuropewasconsideredtobeoneofJenny’sfantastictips.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[br]
FiresthroughtheIndonesiancountrysideareduetoanaturalphenomenon.[origi
ThroughEnglishwewillbeabletocommunicate________partoftheworldwecome
Eachoftheninesquaresmarked1Ato3Cinthegridshouldincorporateallthe
Hadheworkedharder,he______theexam.A、musthavegotthroughB、wouldhavego
随机试题
Vikiisanicegirl.[br]VikicandoManythingsbecauseherparentshelpher.A、
IfyouliveinacityinNorthAmericaorEurope,youhaveprobablyneverth
以下可摘局部义齿部件中,不起传导力作用的是A.卡环体 B.卡臂尖 C.大、小
依据JTGF80/1-2004,标线实际位置与设计位置的横向允许偏差为()
用比例系数法进行异龄林林地评估时,比例系数的确定需要考虑的因素有()。A.
假设某投资者持有10000份基金A,T日该基金发布公告,拟以T+2日为除权日进行
具有行政主体资格并有权制定规章的是( )。A.国务院港澳事务办公室 B.省人大
某慢性特发性血小板减少性紫癜患者,经常出血不止,经泼尼松治疗6个月后症状无好转,
在国内市场上,银行间同业拆借利率(SHIBOR)从2007年1月4日开始正式运行
A.持续性腹痛 B.疼痛-排便-加重 C.进食-疼痛-缓解 D.疼痛-进食
最新回复
(
0
)