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.

Answered by Chris D. Computing tutor

53763 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Why indentation is important in Python and what is the scope of a global variable?


Show how the decimal number -183 would be represented as an 8-bit two's complement arithmetic


Describe Round Robin Scheduling


In programming, some languages are compiled and others are interpreted. Define the difference between the two.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences