CCEA A-Level Software Systems Development CL4
Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures
Exception Handling and Managing Input and Output
Testing an Object Oriented Application
Graphical User Interface Objects and Events
Multiple Forms and Linking to Files
Designing, Testing and Evaluating an Event Driven Application
Reasons for Systems Development and Systems Methodologies
Managing Projects
Testing Strategies
Database Concepts and Entity Relationship Modelling
Normalisation and Structured Query Language
Project Management and the Systems Approach in Practice
Defining Requirements and Documenting the Design
Building a Desktop Solution with a Database
Testing and Evaluating the Solution
Database Concepts and Entity Relationship Modelling
The hierarchical model
- 3 things to know
- A2 Unit 1
Overview
Hierarchical database model, relationship does the hierarchical model represent naturally and data that suits a hierarchical structure.
What you need to know
Answer each one before you reveal it.
State two advantages of the hierarchical model.
State three disadvantages of the hierarchical model.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is the hierarchical database model?
Model answer
The hierarchical model organises records into a tree. Each record has exactly one parent, apart from a single root, and may have many children, and the links between them are stored physically as pointers.
- 2
What kind of relationship does the hierarchical model represent naturally?
Model answer
The hierarchical model represents a one-to-many relationship naturally, because a parent record may own many child records and each child belongs to exactly one parent.
- 3
Give an example of data that suits a hierarchical structure.
Model answer
A company's departments each containing many employees suits a hierarchy, as does a file system of folders within folders, or an XML document in which every element sits inside exactly one parent element.
- 4
How is data retrieved from a hierarchical database?
Model answer
Retrieval follows the stored pointers from the root downwards, so a program navigates the tree record by record. The path a program takes is written into the program itself.
- 5
State two advantages of the hierarchical model.
Model answer
Following a stored pointer is very fast, so retrieval along the intended path is efficient, and the structure enforces the parent-child rule automatically, which guarantees that no child exists without its parent.
- 6
State three disadvantages of the hierarchical model.
Model answer
A record cannot have two parents, so a many-to-many relationship cannot be represented without duplicating data; a query that does not follow the stored path is slow or impossible; and changing the structure means rewriting the programs that navigate it.
Other ways to work this
The same content, four other ways.
What is inside Levo
Six ways to work the same material.
Every question in Database Concepts and Entity Relationship Modelling, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.