首页
登录
职称英语
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
14
管理
问题
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]Therobottakeoveroftheworldmaynotbeasdramaticaswe
Wheredidthestormsfirststrike?[originaltext]About100peoplearenow
Itiscommonlyheldthatdrinkingmoderateamountsofalcoholcanreduceth
[originaltext]Coffeeisoneoftheworld’smostwidely-enjoyedbeverages.F
肝-颈静脉反流征阳性见于()A.右心功能不全 B.肝硬化 C.肝炎
简述绩效考评的程序。
人们可以通过自己所属的社会群体认识自己,这说的是()。单选A.主我 B.客
(2021年真题)下列各项中,属于回购股票的动机的有()。A.改变公司的资本结
总监理工程师组织监理人员熟悉工程设计文件是项目监理机构实施( )的一项重要工作
施工单位在电缆保护区实施爆破作业时,制定爆破施工方案应( )。A.邀请地方建设管
最新回复
(
0
)