Logout

Adding To an Ordered Sequential File

The notes won't implement this algorithms. You can use what you learned in the last page of notes on generally working with files to do so yourself.

The only major point to make is that if you are to add to or delete from an ordered file without using RAM memory, you will have to make a new file with either the inserted record, or without the record you wish to delete.

So the general pseudocode for adding to a sequential file would be: