首页
登录
职称英语
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
54
管理
问题
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
随机试题
[img]ct_epem_epelisv_00781(20097)[/img][br][originaltext]It’ssunnytoday.[/
Shewasonceayoungcountrywifewithchickensinthebackyardandaviewof__
南京大学的白云教授刚才来电话找Susan,说明天上午9点钟来找她商量要事。请Susan在办公室等他。如果Susan认为时间不便,请给白教授回个电话。Susan
"Congratulations,Mr.Cooper,it’sagirl."Fatherhoodisgoingtohave
[originaltext]M:It’sasimplequestionatthecenterofalmostanydiscussion
利用报文摘要算法生成报文摘要的目的是( )。A.验证通信对方的身份,防止假冒
以下选项中,没有体现量变引起质变的哲学道理的有:A.读万卷书,行万里路 B.绳
职业中毒的诊断原则包括( )。A.职业史、劳动卫生条件调查、症状和体征、实验室
2021年某企业转让一栋六成新的旧仓库,取得不含税转让收入2000万元,可
根据物权法律制度的规定,下列各项中,属于动产的是()。A.房屋 B.林木
最新回复
(
0
)