首页
登录
职称英语
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
40
管理
问题
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/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
随机试题
Althoughitisnaturaltotakeumbrageat(i)______remarks,Latoyaalwayswentt
《林教头风雪山神庙》中,向林冲通报东京来人情况的是()A.李小二 B.草料场
下列不属于信息系统文档规范化管理的是()。A.文档书写规范 B.图标编号
测量石料试样单轴抗压强度时连续均匀地加荷,加荷速度取每秒钟()。 A.(0
慢性胃炎的脾胃虚弱证和胃阴不足证中,相同的临床表现是A、胃脘嘈杂 B、口干咽燥
在现行多种价格的公开招标方式下,每个承销商的中标价格与财政部按市场情况和投标情况
对于已确立过风险等级的客户,证券公司应根据其风险程度设置相应的重新审核期限,实现
各种运输方式内外部的各个方面的构成和联系,就是( )。 A.运输系统
(2020年真题)下列各项中,关于企业无形资产摊销的表述不正确的是( )A.行
根据我国现行建筑安装工程费用项目组成的规定,下列人工费中能够计入分部分项工程费的
最新回复
(
0
)