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
Overflow and file reorganisation
- 3 things to know
- A2 Unit 4
Overview
Overflow, in a hashed file, open or linear probing method of handling overflow and use of a separate overflow area.
What you need to know
Answer each one before you reveal it.
Describe the open or linear probing method of handling overflow.
Give one disadvantage of linear probing.
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is overflow, in a hashed file?
Model answer
A record that cannot be placed at its hashed address because that address is already occupied.
- 2
Describe the open or linear probing method of handling overflow.
Model answer
The record is placed at the next free address after the one calculated, and a search follows the same sequence to find it again.
- 3
Give one disadvantage of linear probing.
Model answer
Occupied addresses form clusters, so a collision anywhere in a cluster lengthens the search for every key in it.
- 4
Describe the use of a separate overflow area.
Model answer
Colliding records are written to a reserved area, and the home address holds a pointer to the record placed there.
- 5
Describe chaining.
Model answer
Each address heads a linked list, and every record hashing there is added to that list.
- 6
Compare chaining with a separate overflow area.
Model answer
Both keep the home address findable, but chaining keeps each key's records together so a search follows only its own list, whereas a shared overflow area can require scanning records belonging to other addresses.
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.