Question: Write a java program to read a .dat file which contains characters in ASCII format??? (see link) and convert the ASCII characters to binary. Then

Write a java program to read a .dat file which contains characters in ASCII format??? (see link) and convert the ASCII characters to binary. Then output into a text file contaning rows of binary numbers so that it looks like a giant matrix.

Link for .dat file to be used: (http://s000.tinyupload.com/index.php?file_id=06460941248232777459).

The sample output should look like picture attached

EDIT: the data is in a .dat file. the format is either ANSI or ASCII. Data is for an image

Write a java program to read a .dat file which contains characters

q4output - Notepad File Edit Format View Help 4689998 899 5 799 9989 99 6 899 9889 99 7999 9899 99 8999 8899 9 8 9999 8999 9 8 99988999 8 8 99989999 8 8 9968999 8 8 8 99689998 8 8

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!