首页
登录
职称英语
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
6
管理
问题
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
随机试题
Accordingtothenews,theplanecrashed______[br][originaltext]ABoeing727
WindEnergyWindenergydevelopmenthasbeenthr
HowtoBuildYourVocabularyEffectivelyVocabularyist
南宋郑樵编撰的《通志》,是以人物为中心的纪传体通史,其中该书的精华是()。A.
甲和乙合作完成了歌曲《星海》,乙在甲无正当理由不同意的情况下允许丙公司录制并拍摄
关于钢结构防震缝与钢筋混凝土防震缝宽度,下列哪项正确:()A.钢结构防震缝比
以下关于脉象主病的叙述错误的是A.紧脉主寒、痛、宿食。B.缓脉主湿病、脾胃气虚。
3、《安规》规定,单人操作、检修人员在倒闸操作过程中(???)。 A.可以
男,30岁。冠折,断面齐龈,咬合紧。X线片示根管治疗完善。适宜的桩核修复方式为(
下列税费中,不足人民币50元免于征收的是()。 A.关税B.进口环节增值税
最新回复
(
0
)