首页
登录
职称英语
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
45
管理
问题
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/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
随机试题
There’saworldpapershortage.There’sanationalbottle【C1】______,andwe’
[originaltext](25)Didyouknowthat,besideslargerplaceslikeFranceand
风疹的临床表现是A.通常可根据临床表现作出诊断 B.风疹脑炎不多见、病死率不高
A.把医德观点和医德规范准则放在所处的历史时代去理解 B.把医学伦理学的一切理
均具有涩肠止泻功效的药物是()A.五味子、桑螵蛸 B.肉豆蔻、麻黄根
所谓天才,我理解就是不屈从外力,由着自己的天性行事。他总爱在主体的能动性中,最大
招标人和中标人应当自中标通知书发出之日起()内,按照招标文件和中标人的投标文件
甲、乙等16人参加乒乓球淘汰赛,每轮对所有未被淘汰选手进行抽签分组两两比赛,胜者
提出心理评估报告时,如果要对临床资料进行核实,一般使用()。A:心理测验法B:
在对滚动轴承、精密零件等装配件进行表面油脂清洗时,可采用的清洗方法有( )。A.
最新回复
(
0
)