首页
登录
职称英语
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
102
管理
问题
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/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
随机试题
[originaltext]Whencanyoucome?[/originaltext]A、Icantellyouthisafternoon.
片剂中崩解剂加入方法可影响崩解速度A外加法>内外加法>内加法 B内加法>外加法
表示传统师德非常重视严于律己、身体力行、为人表率的模范作用的先哲名言是()。
世行、亚行咨询服务的合同类型包括()。A、分项合同B、以质量为基础合同C、总
指导商品房定价的基本思路是()。A:过程定价策略 B:稳定定价策略 C:心理
(2019年真题)关于箱涵顶进施工的说法,正确的有()。A.箱涵顶进施工适用于带
患者女,62岁。剑突下持续性胀痛10余小时,恶心、呕吐,伴有寒战、发热,过去有类
履约担保是指招标人在招标文件中规定的要求中标的投标人提交的()的担保。A.
在工程网络计划中,关键工作是指()的工作。A.单代号网络计划中与紧后工作之间时间
加强施工定额管理和施工任务单管理,控制活劳动和物化劳动的消耗,属于施工成本管理的
最新回复
(
0
)