首页
登录
职称英语
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
56
管理
问题
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
随机试题
ReadingforpleasureistheeasiestwaytobecomeabetterreaderinEnglish
Directions:Thispartistotestyourabilitytodopracticalwriting.Youarer
IntheUnitedStates,thefirstdaynurserywasopenedin1854.Nurserieswe
[originaltext]AbrahamLincolnwasborninalogcabininKentuckyonFebruar
每个人都知道,学习对一个人的成长是至关重要的。Asisknowntoall,learningisimportanttoone’sgrowi
上海公积金管理中心推出的“以房自助养老”协议约定:()岁以上的老年人,可以将自己
服用后宜多饮水的药物是A:健胃消食片 B:止咳糖浆 C:扑热息痛(对乙酰氨基
某单位向商店订购定价为100元的某商品80件,单位订货员向商店经理提出:“如果商
女性,45岁,活动后心悸气促15年,加重伴双下肢水肿3个月,近1周不能平卧。体查
下列关于城镇土地使用税的纳税义务发生时间,表述错误的是( )。 A.纳税人购
最新回复
(
0
)