AQA A Level · Computer Science 7517

Classification of algorithms: แบบฝึกหัด

ข้อปรนัย 5 ข้อ ตรวจให้ทันทีที่ตอบ และข้อเขียน 4 ข้อ พร้อมวิธีทำละเอียด ทั้งหมดจากเรื่อง Classification of algorithms

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 วินาที

อยากฝึกโจทย์แบบนี้เพิ่มไหม เริ่มฝึกหัวข้อนี้ได้เลย ตรวจให้ทันทีทุกข้อ

เริ่มฝึกเลย