Oxford AQA International A-level · Computer Science (9645)

Records:練習問題

その場で採点される選択問題 5 問と、解説つきの記述問題 2 問。すべて「Records」からの出題です。

7 問13 無料・登録不要
問 1
1

A university student record system stores a student's ID number, current GPA, and enrollment status.
Which of the following is a key benefit of using a record to store this information?

問 2
1

A software engineer decides to use an array of records rather than three separate arrays to store the ID, Latitude, and Longitude of several GPS coordinates. What is the primary advantage of this record-based approach in terms of program design?

問 3
1

A weather station records the station name, current temperature, and time of reading.
What is a primary advantage of organizing this data as a record?

問 4
1

A programmer is writing a simulation for a car dealership. They define a structure to hold a vehicle's registration number, mileage, and service date.
Which of the following describes an advantage of using a record for this data?

問 5
1

An e-commerce platform needs to track customer orders, storing the order ID, total cost, and shipping status.
What is the primary advantage of defining these fields within a record?

問 6
3

Define a record data structure and explain how it allows for the storage of heterogeneous data types, unlike a standard one-dimensional array.

まず自分で答えを書いてから、解説と照らし合わせましょう。

問 7
5

A developer uses a record type SensorData to group 12 different real-time readings. This record is passed as a single parameter to a recursive processing subroutine.

Explain the technical impact on the stack frame and overall memory efficiency of passing this data as a single record by reference, compared to passing 12 individual \( \text{float} \) variables as separate parameters.

まず自分で答えを書いてから、解説と照らし合わせましょう。

※ thinkaのコンテンツはAIにより生成されているため、内容が正確でない場合があります。補助教材としてご使用いただき、公式の教材と合わせてご確認ください。

模範解答は見ました。次はあなたの答案を採点します。

このページは良い答案の形を示せますが、あなたの答案に何が足りないかは教えられません。thinka は実際の採点基準に沿って記述答案を約 15 秒で採点します。

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

練習を始める