Lab 2 â Create Relative/Binary File from Sequential File â 50 Points Due: September 12, 2014 by 11:55PM via Sakai Write a complete program using the provided stubs to change the given sequential file into a relative/binary file and also create the two indexes for accessing the data. The provided stubs are: 1) Create primary key array (to be written as a sequential file) 2) Create secondary key array (to be written as a sequential file) 3) Class for relative/binary file and fields The initial primary index will have two fields, one for the key and one for the tag field from the binary file, while the initial secondary index will have two fields, one for the key and an array for the tag fields (for possible duplicates). The secondary key will have at most 10 duplicates or array[11] (we will use the zeroth row for storing the number of possible duplicates).
No comments:
Post a Comment