第1单元 人工智能概述 + Python语法基础

单元测试

1、单选题:
​人工智能中通常把(             )作为衡量机器是否具有智能的准则。‏
选项:
A: 图灵机
B: 图灵测试
C: 中文屋思想实验
D: 人类智能
答案: 【 图灵测试

2、单选题:
‏人工智能的目的是让机器能够(               ),以实现某些脑力劳动的机械化。‌
选项:
A: 具有智能
B: 和人一样工作
C: 完全代替人的大脑
D: 模拟、延伸和扩展人的智能
答案: 【 模拟、延伸和扩展人的智能

3、多选题:
‌人工智能研究的基本内容包括(                 )。‍
选项:
A: 知识表示
B: 机器感知
C: 机器思维
D: 机器学习
答案: 【 知识表示;
机器感知;
机器思维;
机器学习

4、多选题:
‎人工智能研究的三大学派包括(                 )。‌
选项:
A: 符号主义学派
B: 连接主义学派
C: 行为主义学派
D: 理论主义学派
答案: 【 符号主义学派;
连接主义学派;
行为主义学派

5、多选题:
‏按照认知科学的观点,智能是由中枢神经系统表现出来的一种综合能力,主要包括:(          )。​
选项:
A: 感知能力
B: 记忆和思维能力
C: 学习能力和自适应能力
D: 行为能力
答案: 【 感知能力;
记忆和思维能力;
学习能力和自适应能力;
行为能力

课后作业

1、判断题:

Q4 Conditional Probabilities

Select all of the following statements that are true for all joint distributions over X and Y.

‌选项:
A: 正确
B: 错误
答案: 【 错误

2、判断题:

(续上题)

‎选项:
A: 正确
B: 错误
答案: 【 正确

3、判断题:

(续上题)

‍选项:
A: 正确
B: 错误
答案: 【 错误

4、判断题:

(续上题)

‍选项:
A: 正确
B: 错误
答案: 【 错误

5、判断题:

‎(续上题)

‍选项:
A: 正确
B: 错误
答案: 【 正确

6、填空题:

Q1 Probabilistic Inference

Your box of cereal may be a contest winner! It's rattling, which 100% of winning boxes do. Of course 1% of all boxes rattle and only one box in a million is a winner. What is the probability that your box is a winner?

Note on answer formatting: Please specify your answer as a decimal probability (i.e. .05 rather than 5%). Do not include zeros before the decimal. To receive credit, your answer must match ours exactly.

‌答案: 【 0.0001

7、填空题:

Q2 Events

You are playing a solitaire game in which you are dealt three cards without replacement from a simplified deck of 10 cards (marked 1 through 10). You win if one of your cards is a 10 or if all of your cards are odd.

How many winning hands are there if different orders are different hands?

‌答案: 【 276

8、填空题:

​(续上题)


216+60=276

What is your chance of winning? (round your answer to 3 decimal places)

‏答案: 【 0.383

9、填空题:

Q3 Expectations

Someone rolls a fair six-sided die and you win points equal to the number shown.

What is the expected number of points after one roll?

‎答案: 【 3.5

10、填空题:

‌(续上题)

After 2 rolls?

​答案: 【 7

11、填空题:

‌(续上题)

After 100 rolls?

‏答案: 【 350

第2单元 知识表示 + Python语法进阶

单元测试

1、单选题:
‍王洋的父亲是教师,用谓词逻辑可以表示为Teacher(father(Wangyang))这里father(Wangyang)是(         )。‍
选项:
A: 常量
B: 变元
C: 函数
D: 一元谓词
答案: 【 函数

2、单选题:
‎产生式规则的基本形式是(                     )。‍
选项:
A: IF     P     THEN     Q
B: IF     P     AND     Q
C: IF     P     OR     Q
D: IF     P     NOT     Q
答案: 【 IF     P     THEN     Q

3、多选题:
‌知识表示的基本方法包括:(                   )。‎
选项:
A: 谓词逻辑表示法
B: 产生式表示法
C: 语义网络表示法
D: 框架表示法
答案: 【 谓词逻辑表示法;
产生式表示法;
语义网络表示法;
框架表示法

4、多选题:
‌语义网络的基本语义关系包括(                            )。‌
选项:
A: 实例关系(ISA)
B: 分类关系(AKO)
C: 成员关系(A-Member-of)
D: 属性关系(Have或者Can)
答案: 【 实例关系(ISA);
分类关系(AKO);
成员关系(A-Member-of);
属性关系(Have或者Can)

5、判断题:
​一个命题不能同时既为真又为假,但可以在一种条件下为真,在另一种条件为假。‍
选项:
A: 正确
B: 错误
答案: 【 正确

6、判断题:
‌一个产生式系统由规则库、推理机、综合数据库三部分组成。‏
选项:
A: 正确
B: 错误
答案: 【 正确

课后作业

1、单选题:
Q7 HashingQ7.1 

Which critical operation is generally faster in a hash table than in a linked list?

​选项:
A: inserting an element into the data structure
B: testing for the membership of an element in the data structure
C: (无)
D: (无)
答案: 【 testing for the membership of an element in the data structure

2、单选题:

‎Q7.2

‎On average, how fast is this operation in a hash table?

‏选项:
A:
B:
C:
D:
答案: 【 

3、单选题:
Q7.3 

On average, how fast is this operation in a linked list?

‎选项:
A:
B:
C:
D:
答案: 【 

4、判断题:

Q6 Logarithms

Select all of the the following statements that are true.

​选项:
A: 正确
B: 错误
答案: 【 错误

5、判断题:

‎(续上题)

‍选项:
A: 正确
B: 错误
答案: 【 正确

6、判断题:

(续上题)

‌选项:
A: 正确
B: 错误
答案: 【 错误

7、判断题:

‎(续上题)

​选项:
A: 正确
B: 错误
答案: 【 错误

8、判断题:

‌(续上题)

‍选项:
A: 正确
B: 错误
答案: 【 正确

9、判断题:

(续上题)

‎选项:
A: 正确
B: 错误
答案: 【 错误

10、填空题:
Q5 Linear Equations

You know that

    

and

    

What is x?

‌答案: 【 4

11、填空题:

‎(续上题)

What is y?

‏答案: 【 3

第3单元 产生式推理 + 搜索算法的Python实现

单元测试

1、单选题:
‌下列关于演绎推理与归纳推理的区别,描述错误的是(              )。‍
选项:
A: 演绎推理是在已知领域内的一般性知识的前提下,通过演绎求解一个具体问题或者证明一个结论的正确性。
B: 演绎推理所得出的结论实际上早已蕴含在一般性知识的前提中,只不过是将已有事实揭露出来,因此它不能增殖新知识。
C: 归纳推理所推出的结论是没有包含在前提内容中的。
D: 归纳推理由个别事物或现象推出一般性知识的过程,不能增殖新知识。
答案: 【 归纳推理由个别事物或现象推出一般性知识的过程,不能增殖新知识。

2、多选题:
‌一个产生式系统由(          )三部分组成。‌
选项:
A: 规则库
B: 控制系统
C: 框架系统
D: 综合数据库
答案: 【 规则库;
控制系统;
综合数据库

3、多选题:
​按照推理的控制方向,产生式推理可分为(          )。‍
选项:
A: 正向推理
B: 逆向推理
C: 混合推理
D: 有向推理
答案: 【 正向推理;
逆向推理;
混合推理

4、判断题:
‌产生式的正向推理比较直观,但其推理无明确的目标,求解问题时可能会执行许多与解无关的操作,导致推理效率较低。‌
选项:
A: 正确
B: 错误
答案: 【 正确

5、判断题:
‏产生式的逆向推理过程的目标明确,但是当用户对解的情况认识不清,选择假设目标不好时,会影响系统效率。​
选项:
A: 正确
B: 错误
答案: 【 正确

课后作业

1、单选题:
Q6 Hive Minds: Lonely BugIntroduction

The next five questions share a common setup. You control one or more insects in a rectangular maze-like environment with dimensions M M times N N , as shown in the figure below.

At each time step, an insect can either (a) move into an adjacent square if that square is currently free, or (b) stay in its current location. Squares may be blocked by walls, but the map is known. Optimality is always in terms of time steps; all actions have cost 1 regardless of the number of insects moving or where they move.

For each of the five questions, you should answer for a general instance of the problem, not simply for the example maps shown.

‍Problems

For this problem, you control a single insect as shown in the maze above, which must reach a designated target location X, also known as the hive. There are no other insects moving around.

Q6.1 

Which of the following is a minimal correct state space representation?

‍选项:
A: An integer (d) encoding the Manhattan distance to the hive.
B: A tuple ((x, y)) encoding the (x) and (y) coordinates of the insect.
C: A tuple ((x, y, d)) encoding the insect's (x) and (y) coordinates as well as the Manhattan distance to the hive.
D: This cannot be represented as a search problem.
答案:

剩余75%内容付费后可查看

发表评论

电子邮件地址不会被公开。 必填项已用*标注