首页
登录
职称英语
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
44
管理
问题
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
随机试题
Listentopartofalectureinazoologyclass.Professor:Asyouknowfromthe
下列哪项不属于原发性三叉神经痛的典型临床表现A.间断性发作 B.左侧多于右侧
热风采暖系统是利用热风炉输出热风进行采暖的系统,其特点有()。A.适用于耗热
焊接T形截面构件中,腹板和翼缘相交处的纵向焊接残余应力为( )。A、压应力
叶圣陶先生曾说:“教材无非是个例子,凭这个例子要使学生能够举一反三,练成阅读和作
国外某研究机构针对网上购物行为进行调查,随机抽取2万名网络购物消费者,对其进行“
手厥阴心包经的原穴是( )。A.间使 B.劳宫 C.大陵 D.内关
据中国互联网络信息中心2008年7月发布的《中国互联网络发展状况统计报告》显不,
企业向客户转让商品的对价未达到"很可能收回"收入确认条件,在发出商品时,应借记的
利润表中“营业收入”项目,既反映企业销售产品和提供劳务等主要经营业务的实际收入额
最新回复
(
0
)