首页
登录
职称英语
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
51
管理
问题
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
随机试题
Manypeoplewerelate:someevencame______themeetingwasover.A、untilB、while
______iswrittenbySamuelRichardson.A、TheDunciadB、PastoralsC、TheHistoryof
Youngpeopleareredefiningforthemselves_____itmeanstobeamanorawoman.A
LICENSE:BUSINESS::A、contract:liabilityB、pledge:preacherC、oath:kinsmen
组织一项成倍节拍流水施工,各施工过程的流水节拍分别为t1=2天,t2=4天,t3
一般来讲,容易、简单、枯燥的学习对动机水平的要求比复杂、需要一定的创造性的学习对
工作态度考评的积极性,重点观察内容包括( )。A.是否经常主动地完成各种业务工
看近物时,双侧瞳孔缩小为 A.瞳孔对光反射B.互感性对光反射C.瞳孔调节反
下面是某求助者的SCL_90测验结果: ?单选:该求助者阳性项目均
销售第二类精神药品的零售企业违反储存、销售的规定,应由药品监督管理部门责令限期改
最新回复
(
0
)