program 4 = pgm4a_COP4338_c Professor: Michael Robinson e-mail : michael.robinson@fiu.edu Web Page : www.cs.fiu.edu/~mrobi002/teaching This program is worth 10 points ********************************************************************************* * Follow : http://users.cis.fiu.edu/~mrobi002/includes/PGM3_programmingRulesC * ********************************************************************************* 1 - Worth 5 points - External Sorting very large files using the wget command in terminal mode download the following file http://users.cis.fiu.edu/~mrobi002/downloads/HumanGenome/VenterGraig/VGuncompressed/hs_alt_HuRef_chr2.fa Using the external sort explained in class and in the paper located at: http://users.cis.fiu.edu/~mrobi002/C_Programming/ sort the previous file as follows: - Assume that your RAM will allow a maximum of 1,000,000 records at the time After the file is sorted find out: - How many records are in the original file - How many records are in the sorted file - How many duplicate records are in the sorted file - timestamp the entire process 2 - Worth 5 points Assume you are a computer. You have four one gig RAM chips and you detected the following errors in RAM: ---decimal-- RAM chip 0 contains error at location 6980173824 RAM chip 1 contains error at location 16335699885 RAM chip 2 contains error at location 32764719873 RAM chip 3 contains error at location 46118402748 - Inform the user that RAM has errors at the above locations, BUT display the addresses in Hexadecimal