Explore

Data Structures Flashcards
OCR GCSE J277 Computer Science specification
Ready to master these flashcards?
Sign in to study with spaced repetition and track your progress.
Sign In to Track ProgressTerms in this set (10)
Data structure
A way of organising and storing data to enable efficient access and modification.
Array
A fixed-length indexed list used to store multiple values of the same data type.
1D array
A one-dimensional array that stores a list of values in a single row.
2D array
A two-dimensional array that stores data in a table format with rows and columns.
Record
A data structure that groups related fields together, each with its own data type.
Field
An individual piece of data within a record, such as a name or age.
Use of 2D arrays
Used to emulate tables of records and fields, such as a database table.
Advantages of arrays
Efficient for storing and accessing multiple values of the same type using an index.
Advantages of records
Allows grouping of related data with different data types, making it easier to manage complex data.
Index in arrays
A numerical position used to access a specific element in an array.

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Start Learning