AQA A Level · Computer Science 7517

演算法的分類:练习题

5 道选择题即时批改,另有 4 道文字题附完整解题步骤,全部围绕「演算法的分類」。

9 道题目21 免费,无需注册
第 1 题
1

In the classification of algorithms, an algorithm is described as having a complexity of \(O(n^2)\). Which of the following best describes this order of complexity?

第 2 题
1

Which of the following statements regarding the Halting problem is correct?

第 3 题
1

An algorithm is used to solve a version of the Traveling Salesperson Problem. If the problem is classified as intractable, which of the following is most likely true regarding the classification of algorithms for this problem?

第 4 题
1

A specific problem has an algorithm that solves it in \(O(2^n)\) time. According to the classification of algorithmic problems, how would this problem be categorized if no polynomial-time solution exists?

第 5 题
1

Which of the following best describes the use of heuristics in the classification of algorithms?

第 6 题
2

In the context of the Classification of algorithms, explain why the Halting problem is significant for the theory of computation.

先自己写一遍答案,再对照解题步骤。

第 7 题
3

In the classification of algorithmic problems, a problem is found to have no known solution that runs in polynomial time, with the best-known solution being \(O(2^n)\). Define the specific term used to describe such a problem.

先自己写一遍答案,再对照解题步骤。

第 8 题
6

The Halting Problem is a classic example of a non-computable problem.

(a) Describe what the Halting Problem is.
(b) Explain the significance of the Halting Problem for the theory of computation and what it tells us about the limits of what computers can do.
(c) Why can't we simply run a program to see if it stops to solve the Halting Problem?

先自己写一遍答案,再对照解题步骤。

第 9 题
5

In the classification of algorithms, problems are categorized as tractable or intractable.

(a) Define what makes a problem 'intractable' in terms of its time complexity.
(b) If an algorithm has a complexity of \(O(2^n)\), classify the problem it solves and justify your answer.
(c) When an exact solution for an intractable problem is not feasible, what approach do programmers typically use to find a 'good enough' solution?

先自己写一遍答案,再对照解题步骤。

* thinka 提供的内容由 AI 生成,未必在任何情况下都完全准确或最新,请结合官方教材与教师指导使用。

你已看过标准答案。现在轮到你的答案被批改。

这一页能告诉你好答案是什么样子,却无法指出你的答案缺了什么。thinka 按真实评分标准批改你的文字答案,约 15 秒完成。

想多做几道同类题目?立即开始练习这个课题,边做边批改。

立即练习