AQA A Level · Computer Science 7517

資料結構與抽象資料型別:练习题

5 道选择题即时批改,另有 4 道文字题附完整解题步骤,全部围绕「資料結構與抽象資料型別」。

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

Which of the following best defines the relationship between an Abstract Data Type (ADT) and a data structure according to the AQA specification?

第 2 题
1

A programmer is choosing between a static and a dynamic data structure. Which of the following is a specific disadvantage of using dynamic data structures?

第 3 题
1

A Dictionary ADT is used to store word frequencies from a document. Given the dictionary \( D = \{\text{'data'}: 5, \text{'structure'}: 2, \text{'type'}: 3\} \), what is the logical result of the operation Update(D, 'structure', 4)?

第 4 题
1

Which of the following is the most accurate definition of an Abstract Data Type (ADT) according to the AQA specification?

第 5 题
1

A programmer is considering using either a static or a dynamic data structure to manage a collection of data.

Which of the following is a characteristic advantage of dynamic data structures compared to static data structures?

第 6 题
2

A programmer needs to decide between using a static array or a dynamic linked list to implement a stack. What is a primary disadvantage of using a static data structure in terms of memory efficiency?

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

第 7 题
5

When implementing a Stack ADT using a static array and a pointer, explain how Data Abstraction is achieved for the end-user of the Stack.

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

第 8 题
2

In the context of Abstract Data Types (ADTs), what is the conceptual difference between a logical description of a queue and its implementation?

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

第 9 题
3

A programmer is choosing between using a static array or a dynamic linked list to implement a Stack.

a. Define what is meant by a dynamic data structure in terms of memory allocation. (1 point)
b. State one advantage of using a static array for this implementation. (1 point)
c. State one disadvantage of using a static array when the maximum number of items is unknown. (1 point)

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

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

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

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

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

立即练习