What is the difference between an array and a record?

Array:A data structure that stores a list of values of the same data type. It is possible to input and output values or process an entire array using a For Next Loop. Each element has an index to specify its position. An array can be used to store data of the same data type.
So, arrays have locations and these are numbered. Every location in an array is of the same data type
Record: A data structure that stores bits of data of multiple data types in fields. It is possible to input or output data into the fields of an entity to create a record using recordsets. A record can be used to store a collection of data of different data types.
So, a records have fields and these are named. Every field in a record can be of different data types.

CD
Answered by Chris D. Computing tutor

56042 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Explain why it is important to check the email address with JavaScript and again when it reaches the server.


How can the idea of precondtioning as part of 'Thinking Ahead' benefit a programmer when writing code?


In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.


What is 'Virtual Memory', and how does it work?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning