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

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

เริ่มฝึกเลย