首页
登录
职称英语
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
游客
2023-10-20
106
管理
问题
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度,前移四个格就可以出去了,但每前移一格都不包括机器人所站的那一格。
转载请注明原文地址:http://tihaiku.com/zcyy/3114196.html
相关试题推荐
________thatthepilotcouldn’tflythroughit.A、ThestormsoseverewasB、Sose
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
(1)Simplywalkingthroughanunfamiliarneighborhoodcanmakeyoufeelmore
Notlongago,amysteriousChristmascarddroppedthroughourmailslot.The
Thedesegregationwasachievedthroughanumberofstruggles,________havebeenm
Onglancingthroughyourmorningpaperyounoticethatfourpagesaremissing.O
Eachoftheninesquaresinthegridmarked1Ato3C,shouldincorporateallthe
ThroughEnglishwewillbeabletocommunicate______partoftheworldwecomefr
Balbirwantstoguidearobotalongthewhitesquaresthroughthismaze.Therob
随机试题
AnOhioStateUniversitystudyhaslinkedbehaviorinyoungchildren【1】thet
诸葛亮是三国时期(theThreeKingdomsPeriod)杰出的军事家和政治家。他帮助刘备打了一系列的战争,联合盟友,不断扩张刘备的领地、增
学生王某初中时,学习成绩中等,可进入高一后课程难度加大,她的成绩变得越来越差,上
关于性腺的发生,以下描述不正确的是A.人胚第3~4周,出现原始生殖细胞 B.人
三、2016年1-7月,同城、异地、国际/港澳台快递业务量分别占全部快递业务量的
A.小儿疳积 B.阴道滴虫 C.食积气滞 D.痢疾带下 E.气滞胁痛使君
根据《民事诉讼法》,合同当事人可以在书面合同中协议选择的( )人民法院管辖。
前列腺术后尿道置入的气囊导尿管的作用是A.导尿 B.防止血块堵塞 C.防止疼
前列腺增生症状最先出现的是A、膀胱刺激症状 B、血尿 C、尿频 D、脱肛
某商品房交易估价,评估人员采用市场比较法估价,收集了四个近期交易成交的实例资料如
最新回复
(
0
)