首页
登录
职称英语
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
18
管理
问题
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
随机试题
_____isnotaseriousdisadvantageinlife.A、Tobenotgood-lookingB、Nottobe
Changesinthewaypeoplelivebringaboutchangesinthejobsthattheydo.Mor
Anassumptionissomethingtakenforgranted.Everyonemakesassumptions--you
【B1】[br]【B6】[audioFiles]audio_eusm_j01_105(20099)[/audioFiles]qualifications你
Stamp-collecting,onceexclusivelythe【B1】______ofsmallboysandanall-con
生产、储存、经营易燃易爆危险品的场所不得与()设置在同一建筑物内,并应当与居住场
下列情形中,不属于国家出资企业应当进行资产评估的情形是( )。A.以非货币资产
对淹溺患者出现心脏呼吸骤停的现场急救时应最先实施A.通畅气道 B.除颤 C.
工作期间,若工作负责人必须长时间离开工作现场时,应由()变更工作负责人,
通常以只有膜型形式存在的免疫球蛋白有A.IgG B.IgD C.IgE D
最新回复
(
0
)