Describe the contents of the file

Assignment Help Basic Computer Science
Reference no: EM132494172

Let's see how files are stored on a computer. Windows users should go to https://www.hexworkshop.com/ and download the latest demo version of Hex Workshop. Mac and Linux users should go to https://www.sweetscape.com/010editor/ and download the free trial version of the 010 Editor. Install the software on your computer. Open the hex editor. The left panel will contain addresses, the middle panel contains the bit values stored (in hexadecimal) and the next panel contains possible character values for the bits stored. See the clip on Hex Workshop on Blackboard. If you are using the 010 Editor, please be sure that in the top left-hand side of the panel "Edit As: Hex" is selected. If you see "Edit As: Text", use the drop-down arrow to change it.

a. Most files have signatures so that the computer knows what kind of a file it is so let's see what some common signatures are. Open an rtf file (Word can make these). What are the first 10 hex digits you see?

b. Open a pdf file - what are the first 10 hex digits you see? Some files also have trailers that tell the computer that the file has ended. What is the trailer for a pdf file in hex?

c. Open the trent.gif file available in the Assignment 2 zipped folder on Blackboard. What are the first 10 hex digits you see (i.e. the signature)?

d. Let's try one last type of file (and ASCII text file). Open COIS2750H_A2.txt and then determine the signature for this type of file.

e. A good way to see if a file has been altered is to d o a checksum. Open the file 4550out-s19.doc posted to Blackboard in Hex Workshop. Go to Tools and then Generate Checksum. Select CRC (32 bit) (or CRC-32 in the 010 Editor) as your algorithm, select Entire Document, and generate the checksum. How many digits are there in the hex checksum? What are the first 8 digits of the hex checksum? D o another checksum but this time select MD4 (128 bit) (or MD4 in 010 editor) as the algorithm. How many hex digits are there in this checksum? What are the first 8 hex digits?

f. Now let's see what effect changing the content of the file has on the checksum. Make a copy the 4550out-s19.doc file and rename it test.doc (in case we need it in court). Perform this copy from the Operating System (do not use "Save As" from within MS Word). Let's first check out the values of the checksums. Run the CRC (32 bit) and MD4 (128 bit)? algorithms on test.doc and compare them to the results from Part (e). What are the first 8 digits of each checksum and how much did the checksums change?

g. Now let's see what happens when we change the contents of our file copy. From within MS Word, change the first letter of the document text from upper case to lower case (i.e. Computing to computing), save it and then open test.doc in the hex editor. What are the first 8 digits of the hex checksum using CRC (32 bit) and what are the first 8 digits in hex using MD4 (128 bit)? How much did the checksums change from Part (f)?

h. Now let's try to recover corrupted files using our hex editor. Try to open the corrupted1.jpg file. Now use your hex editor and try to figure out why it doesn't open. Make the needed changes needed to open the file. What did you do to fix the image? Describe the picture. (Hint: use your hex editor to open similar image file types and check their signatures).

i. Now try to open the corrupted2.gif file. Use your hex editor and try to figure out why it doesn't open. Make the needed changes needed to open the file. What did you do to fix the file? Describe the contents of the file.

Reference no: EM132494172

Questions Cloud

What was the value of the home theatre set at the time : The whole time interval (even when you don't have any payments). What was the value of the home theatre set at the time of purchase?
What is the maximum amount that can be withdrawn : The entire 25 year period is 4.3% compounded quarterly, then what is the maximum amount that can be withdrawn at the start of each quarter?
Chart for disasters caused by major forces of nature : The question wants me to comparison chart for disasters caused by major forces of nature (hurricane, tornado, earthquake, flood, and fire).
How much is jimmys rrsp worth : The beginning of every quarter for 35 years. Assume the interest rate is 7% compounded monthly. How much is Jimmy's RRSP worth after 35 years?
Describe the contents of the file : Let's see how files are stored on a computer. Windows users should go to http://www.hexworkshop.com/ and download the latest demo version of Hex Workshop
What is the largest amount of money that milo can withdraw : Over the course of one year, What is the largest amount of money that Milo can withdraw at the beginning of every two weeks without making a deposit?
Space complexity of an n dimensional array : Give a generic formula for the space complexity of an N dimensional array.
What is the value of new car : Assume today is January 1, and that you are going to purchase this new car with cash only in 7 years. What is the value of your new car?
Accessing an element of an n dimensional array : What is the time complexity of accessing an element of an N dimensional array?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd