皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【单选题】
Q10Hive Minds: Lost at NightIt is night and you control a single insect. You know the maze, but you do not know what square the insect will start in. You must pose a search problem whose solution is an all-purpose sequence of actions such that, after executing those actions, the insect is guaranteed to be on the exit square, regardless of initial position. The insect executes the actions mindlessly and does not know whether its moves succeed: if it uses an action which would move it in a blocked direction, it will stay where it is. For example, in the maze below, moving right twice guarantees that the insect will be at the exit regardless of its starting position.【图片】Q10.1Which of the following state representations could be used to solve this problem?【图片】
A.
A tuple (x,y) representing the position of the insect.
B.
A tuple (x,y) representing the position of the insect, plus a list of all squares visited by the insect.
C.
An integer t representing how many time steps have passed, plus an integer b representing how many times the insect's motion has been blocked by a wall.
D.
A list of boolean variables, one for each position in the maze, indicating whether the insect could be in that position.
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】下面语句的运行结果是: x = “foo” y = 2 print(x+y)
A.
foo
B.
foofoo
C.
foo2
D.
An exception is t hrown
【单选题】五色主病中,赤色多主
A.
脾虚、湿证
B.
热证
C.
寒证
D.
气滞、血瘀
E.
疼痛
【单选题】关于 标记的叙述,错误的是( )。
A.
使用标记可以控制页面布局
B.
使用标记可以设置表格的对齐方式
C.
标记的cellspacing属性可以使单元格更大
D.
标记的width属性值既可以是百分比,也可以是具体的数值。
【简答题】将56分别转换为二进制、八进制、十六进制数。
【单选题】下面语句的运行结果是: x= “foo” y = 2 print(x+y)
A.
foo
B.
foofoo
C.
foo2
D.
出错
【简答题】(5分)美丽的烟台,以红(苹果、樱桃之都)、金(黄金之都)、绿(生态之都)、紫(葡萄酒之都)、蓝(魅力港城)五种颜色来展现自身的个性魅力。 (1)苹果、樱桃等水果可以为人体提供 ,以预防坏血病。 (2)金的构成微粒是 。 (3)近几年来,我市空气质量状况基本达到优或良。优、良是指空气质量级别 (填“≥”或“≤”)Ⅱ级。 (4)葡萄树受到病菌的侵害时,常喷洒波尔多液。配制波尔多液时,不能用铁制容器,...
【简答题】将下列十进制数转换为二进制数、八进制数、十六进制数。 56= ( ) 2 = ( ) 8 = ( ) 16
【单选题】---What do you think of the movie? ----,____, the movie isn’t interesting enough, though lots of money has been spent on it.
A.
To be honest
B.
That’s to say
C.
Generally speaking
D.
I’m not sure
【简答题】将十进制数56转换为二进制数为__________B,八进制数为(___________)8,十六进制数为_____________H。
【判断题】( )药典规定正品洋金花的来源为白花曼陀罗的花。
A.
正确
B.
错误
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题