Records (Edexcel GCSE Computer Science): Flashcards

📚Flashcards
Records
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

14 cards from this deck

Show

Define record (data structure)

Data structure grouping related pieces of information

What are fields?

Individual pieces of information within a record

Can fields have different data types?

Yes - numbers, text, decimals, etc.

How many dimensions does a single record have?

One dimension (only need one index to access fields)

Indexing starts from which number?

0 (not 1)

Define array of records

Collection of multiple records (nested structure)

How many dimensions does an array of records have?

Two dimensions (need two indices to access data)

Two-dimensional indexing explained

First index = record, second index = field

Rows in record table represent

One complete record

Columns in record table represent

One field across all records

Are column headers stored in memory?

No, just labels to help understand data

Syntax to access single record field

record[position]

Syntax to access collection field

collection[record][field]

Real-world record uses (examples)

Student databases, shopping, banking, medical records

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.