Structured data types (Edexcel GCSE Computer Science): Flashcards

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

Practise the cards

12 cards from this deck

Show

Data structure definition

Organized way of storing multiple pieces of information together

Two types of data structure dimensions

One-dimensional (single row) & two-dimensional (table/grid)

Array data type requirement

All elements must be the same data type

Term: arrays are this (same data type)

Homogeneous

What are indices?

Position numbers used to access array elements

Array indexing starts at which number?

0

Record data type requirement

Elements can be different data types

Key difference: arrays vs records

Arrays: same data type. Records: different data types

Golden rule for accessing data structures

One index per dimension

Indices needed for 2D structure access

Two indices

How arrays & records implemented in Python

Both use lists

1D structure analogy

Single row of items (like a row of books)

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

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