Review Questions
H.1 Define a flat file. Give an example (other than one in this text) of a flat file and an exam-ple of a file that is not flat.
H.2 Show how sequential lists can be used to maintain the file in Review Question H.1 in two different orders simultaneously.
H.3 Show how linked lists can be used to maintain the file in Review Question H.3 in two dif-ferent orders simultaneously.
H.4 Show how inverted lists can be used to maintain the file in Review Question H.1 in two different orders simultaneously.
H.5 Define the term tree. Offer an example tree structure.
H.6 Give an occurrence of the tree in Review Question H.5.
H.7 Represent the occurrence in Review Question H.6 using linked lists.
H.8 Represent the occurrence in Review Question H.6 using indexes.
H.9 Define a simple network and give an example structure.
H.10 Give an occurrence of the simple network in Review Question H.9.
H.11 Represent the occurrence in Review Question H.10 using linked lists.
H.12 Represent the occurrence in Review Question H.10 using indexes.
H.13 Define complex network. Offer an example of a complex network structure.
H.14 Give an occurrence of the complex network in Review Question H.13.
H.15 Decompose the complex network in Review Question H.14 into a simple network and represent an occurrence of it using indexes.
H.16 Explain the difference between primary and secondary keys.
H.17 Explain the difference between unique and nonunique keys.
H.18 Define a file containing a unique secondary key. Represent an occurrence of that file us-ing an index on the secondary key.
H.19 Define a nonunique secondary key for the file in Review Question H.18. Represent an occurrence of that file using a linked list on the secondary key.
H.20 Perform the same task as in Review Question H.19, but use an index to represent the secondary key.