AQA A Level · Computer Science 7517

Data structures and abstract data types:練習問題

その場で採点される選択問題 5 問と、解説つきの記述問題 4 問。すべて「Data structures and abstract data types」からの出題です。

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 秒で採点します。

同じような問題をもっと解きたい?このトピックの新しい問題を、解きながら採点。

練習を始める