Question: CIT239 Java Programming Lab 17a Hex Dump Due Date You must demonstrate the solution for this lab exercise to the instructor by Sunday, April 23,2017,

 CIT239 Java Programming Lab 17a Hex Dump Due Date You must

demonstrate the solution for this lab exercise to the instructor by Sunday,

CIT239 Java Programming Lab 17a Hex Dump Due Date You must demonstrate the solution for this lab exercise to the instructor by Sunday, April 23,2017, in order to receive credit for this work. Converting Binary Data to "Hexadecimal Text" In this lab exercise, you will write a text-based application which will input a binary file and output a plain text file displaying the hexadecimal values of each byte from the input file. Input File Format Binary (even if the actual input file is a "txt" format). output File Format Plain text. The input data is converted to an ASCII representation of the binary input. This should not be UTF-8 format. While a tool such as this is useful for viewing real binary files, it can also be interesting to view a TEXT file using a binary file viewer. For example, the alphabet.txt file displayed below, results in the alphabet DUMP .txt file alphabet. txt abcdef ghij klmnopgrst ABCDEFGHIJ KLMNOPORST UVWXYZ alphabet DUMP.txt 0000 (0000) 61 62 63 64 65 66 67 68 0008 (0008 69 6A 0D OA 6B 6C 6D 6E 0016 (0010 6F 70 71 72 73 74 0D 0A 0024 0018 75 76 77 78 79 7A OD OA z Vr An. 0032 (0020) 41 42 43 44 45 46 4 7 48 0040 (0028 49 4A 0D 0A 4B 4C 4 D 4E 0048 (0030 4F 50 51 52 53 54 0D 0A T Nr An 0056 (0038 55 56 57 58 59 5A 0D OA An Column Definitions of the output File The output file for this program is a plain text representation of the binary input file. Each line of the output text includes: The file offset, in decimal. (This is the 4-digit value at the leftmost end of the line The file offset in hexadecimal. (This is the 4-digit value within the parentheses.) The translation of 8 binary bytes to hexadecimal text. (Each binary byte is represented by two hex digits, followed by a space.) e The display of those same 8 bytes as "displayable text if possible (separated by three spaces. CIT239 SU Lab17a HexDump 20170409.docx. 4/8/2017 8:33 PM

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!