首页
登录
职称英语
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
20
管理
问题
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/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
随机试题
Marycouldn’thavereceivedmyletter,______________(否则她上周就该回信了).or/otherwise
DueAttentionShouldBePaidtoInternetSafety1.很多网民的利益及隐私受到侵犯和威胁2.造成这种现象的原因是
相传在4000多年前的夏朝,即中国历史上第一个奴隶制王朝就开始有了历法(calendar),后人把当时中国古老的传统历法叫“夏历”。夏历是按月亮的运行周
ABD
依据《住宅设计规范》(GB50096-1999)(2003年版),住宅供电设计错
单位工程概算按其工作性质可分为单位建设工程概算和单位设备及安装工程概算两类,下列
在Windows操作系统中,用户A可以共享存储在计算机、网络和Web上的文件和文
严重心动过缓、支气管哮喘者禁用的药物是A.地高辛B.卡托普利C.哌唑嗪D.氨氯地
在对平衡计分卡进行数据处理时,定性数据的处理可采用()。A.访谈法 B.观察
A.人乳头瘤状病毒 B.森林脑炎病毒 C.巨细胞病毒 D.狂犬病病毒 E
最新回复
(
0
)