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

54489 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Describe what is meant by a modular design and state on advantage of a modular design.


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


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


Give two types of management of either hardware or other resources that are performed by an operating system.


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