WJEC A-Level Computer Science 601-5345-3
Hardware: Architecture, Memory and Storage
Networks and Data Transmission
Logic Gates and Boolean Algebra
Data Representation and Data Types
Data Structures
Organisation of Data: Files and Records
Database Systems
The Operating System
Algorithms and Programs
Principles of Programming
Systems Analysis
Software Engineering and Program Construction
Types of Software System
Practical Programming
Data Security and Integrity
Computing, Society and the Law
Advanced Data Structures and Logic
Recursion, Sorting and Searching
Programming Paradigms and Translators
System Design and Human-Computer Interaction
Software Engineering Tools and Professional Practice
Advanced Architecture and Assembly Language
Communication Networks and File Organisation
Number Representation and Floating Point
Databases and Distributed Systems
Operating System Management
Software Systems and Applications
Data Security, Cryptography and Attack
Communication Networks and File Organisation
Choosing an organisation and a route
- 3 things to know
- A2 Unit 4
Overview
Cost of maintaining an index, trade-off in choosing the size of a hashed address space and balanced conclusion about file organisation.
What you need to know
Answer each one before you reveal it.
Which organisation suits a file processed in full each run and never accessed singly?
Which organisation suits a file where single records are looked up at random and never listed in order?
Questions from this subtopic
Each one with the model answer underneath.
- 1
Why is there no single best file organisation?
Model answer
The right choice depends on the hit rate, whether records are needed in key order, and how often the file changes.
- 2
Which organisation suits a file processed in full each run and never accessed singly?
Model answer
Sequential, because it needs no index and reads at the medium's fastest rate.
- 3
Which organisation suits a file where single records are looked up at random and never listed in order?
Model answer
Hashed direct access, because it reaches any record in one access.
- 4
Which organisation suits a file needing both a monthly ordered report and instant single lookups?
Model answer
Indexed sequential, which supports both at the cost of maintaining the index.
- 5
What is the cost of maintaining an index?
Model answer
Every insertion and deletion must update the index as well as the file, so writes are slower.
- 6
Why does a heavily updated hashed file degrade faster than a heavily updated indexed one?
Model answer
Overflow is not tidied as it accumulates, whereas an index can be adjusted as records are added.
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 Communication Networks and File Organisation, 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.