首页
登录
职称英语
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
36
管理
问题
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
随机试题
[originaltext]Jack:Thelecturewasinteresting.Ireallyenjoyedit.Sally:Ye
ReadingtheWorldin196BooksA)WriterAnnMorgansetherse
(1)ResearcherswhopickedupandanalyzedwildchimpdroppingssaidonThursd
WhytheSuper-RichAren’tLeavingMuchofTheirFortunestoTheirKidsA
大便槽起端设置自动控制高位水箱或采用()A.自动冲洗 B.定时冲洗 C.手动
间接离子选择电极法测定血清电解质时,出现假性偏低的情况多见于A.健康人群B.多发
324.“控制总量、优化结构、()、发挥作用”,这是我们党现阶段以及今后一个时
甲和乙同住在一幢楼,他们同时出发骑车去图书馆,又同时到达图书馆,但途中甲休息的时
邓小平曾指出:“关于民主,我们大陆讲社会主义民主,和资产阶级民主的概不同。西方的
甲公司当前信用条件为N/30,为进一步扩大销售减少存货积压,公司销售部门拟将信用
最新回复
(
0
)