two sections on java inside the zip folder. section 1 due on february 7th. section 2 due on february 12. section 1 Analysis Explain your approach to reading individual bytes from a file Some of the...

1 answer below »
two sections on java inside the zip folder. section 1 due on february 7th. section 2 due on february 12.
section 1Analysis

  1. Explain your approach to reading individual bytes from a file

  2. Some of the data may be encrypted by adding 5 to a byte. If encrypted data has a value between zero (0) and four (4), what will the decrypted value be?


Design

  1. Usingdraw.io, or another drawing tool, design an algorithm for the required program and create a flow chart diagram to represent your algorithm

  2. List the methods you plan to implement your algorithm.

section 2:Create a GUI or text-based program that will read binary data and display. The data may be encrypted by adding 5 to each byte.Your program must

  1. Allow a user to select a file for input.

  2. Allow the user to select whether to decrypt the data.

  3. Read the data from the file.

  4. Display the numeric values of the data in 16-byte rows

  5. Display the same values a second time. For values greater than 31 and less than 127, display the Unicode (ASCII) character. For all other values display a period (.)

  6. If the user has selected to decrypt the data, then decrypt the data (subtract 5) and repeat steps 4 and 5.

  7. Display the total number of bytes in the file.

At runtime, a text-based program should match the format of the provided examples.Example 1 – Read and display a file without decryptionEnter a file to input:testfile1.datApply decryption? (Y/N):N204 167 064 075 119 111 197 041 069 255 170 187 160 176 079 153. .
@ K w o
.
) E. . . . .
O.021 069 255 160 043 036 050 119 033 240 239 238 224 208 128 129.
E
. .+ $ 2 w !
. . . . . . .[END OF FILE]32 bytes

Example 2 – Read and display a file applying decryptionEnter a file to input:testfile2.datApply decryption? (Y/N):YE = Encrypted valuesD = Decrypted values--------------------E:076 119 102 120 120 037 110 120 037 108 119 106 106 115 036 255 L w f x x % n x % l w j j s $
.D:071 114 097 115 115 032 105 115 032 103 114 101 101 110 031 250 G r a s s i s g r e e n. .E:132 127 037 032 050 027 018 016 023 020 025 028 134 249 197 200
. .

%.
2. . . . . . . . . . .D:127 122 032 027 045 022 013 011 018 015 020 023 129 244 192 195
.

z. .
-. . . . . . . .
...[END OF FILE]32 bytes

Resources

Notes

  • This assignment includes 3 data files,Ch17-01.dat, Ch17-02.dat, Ch17-03.dat. Run your program against each file.

  • Some or all the data in each file may be encrypted.

  • Your program should be able to handle a file of any size.

  • You must properly handle all exceptions.


Please submit the following:

  1. The project folder containing yourentireproject

  2. The program output

  3. List any interesting data you may find in any or all of the data files


Points will be given based on the following requirements:

  • Program Correctness

  • Readability / Code Organization

  • Documentation

  • Assignment Specifications

SeeCIS-2572 Assignment Grading Guidelinesfor details
Answered 3 days AfterFeb 07, 2022

Answer To: two sections on java inside the zip folder. section 1 due on february 7th. section 2 due on february...

Chirag answered on Feb 08 2022
121 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here