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

記錄:練習題

5 條多項選擇題即時批改,另有 2 條文字題附完整解題步驟,全部圍繞「記錄」。

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 秒完成。

想多做幾條同類題目?立即開始練習呢個課題,即做即批改。

立即練習