首页
登录
职称英语
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
47
管理
问题
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
随机试题
The______nowseemstostandastheprimarybarriertoaneweraofstrongecon
[originaltext]W:Howwillyouspendyoursummervacation?M:AtfirstIthought
在下列事故中,属于市政公用工程施工项目安全生产最常见的职业伤害事故是()。
A.135kN-m B.45kN-m C.240kN-m D.80kN-m
患者女,41岁。第7、8胸椎结核病灶清除术后2年。近3个月来又出现盗汗低热、背痛
早产儿,孕33周分娩,出生时有青紫窒息,生后5小时出现呼吸困难与发绀,且进行性加
肾病患儿禁盐1个月,水肿不消,近3天加用利尿剂,1天来嗜睡,半日来惊厥2次,血压
胃癌最多发生于A.贲门部 B.胃小弯 C.胃窦部 D.胃大弯 E.胃后壁
指出“无论我们选教何种学科,都必须使学生理解该学科的基本结构”的教育家是()
下列不易出现高脂血症的疾病是A.糖尿病 B.肾病综合征 C.阻塞性黄疸 D
最新回复
(
0
)