首页
登录
职称英语
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
28
管理
问题
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
随机试题
Thegovernmentbelievesthatlocalpeoplewillwelcomethedecision,______will
[img]2021m8x/ct_ve01003002m_ehbreadf_0713_210831[/img][br]Wheredotheguests
Afriendofmine,inresponsetoaconversationwewerehavingabouttheinj
甲创作一首歌曲《太阳河》,乙在个人演唱会上演唱该歌曲,丙现场直播乙的表演,引起轰
商业银行在外包合同中应当要求外包服务提供商承诺相关事项,不包括()。A.不
从动作是否连贯的角度来看,跑步属于__________;从参与的肌肉群的性质来看
下列关于海关管理体制的表述,正确的是( )A.国务院设立海关总署,统一管理全国
在商品经济条件下,利息归根结底是劳动者在社会再生产过程中创造的()的一部分。A:
下列关于各企业财务报表附注披露的相关会计处理,表述正确的有()。A.甲企业在附
劣气象条件、噪声、振动、电磁辐射等职业危害因素容易引起各种职业病下列物理因素,可
最新回复
(
0
)