首页
登录
职称英语
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
43
管理
问题
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://www.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
随机试题
Accordingtomanyanalysts,labor-managementrelationsintheUnitedStatesare
(1)MoreAmericansarecohabiting—livingtogetheroutofwedlock—thanever.S
Forthispart,youareallowed30minutestowriteALettertoaRoommate.Suppo
血钙水平低于多少可引起手足搐搦A.0.9mmol/L B.1.1mmol/L
A.女型骨盆 B.男型骨盆 C.扁平型骨盆 D.类人猿型骨盆 E.均小骨
关于急性上呼吸道感染,下列不正确的是A.是鼻腔、咽或喉部急性炎症的概称 B.常
某公司拟在中小板上市,持续督导期间发行人应及时通知或者咨询保荐机构的情形有()
下列各项中,属于商业信用筹资的形式有:A、应付账款 B、长期应付款 C、应付
当怀疑患者有心跳呼吸骤停时,为迅速确诊,首先应A、听心跳 B、触颈、股动脉搏动
反映活动的外部特征和外部联系的知识称为()。 A.感性知识B.理性知识C
最新回复
(
0
)