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

  About three different views of simulation quality

Discusses methods to assess the quality of simulations. You learned about three different views of simulation quality.

  Four market structure

Explain how advertising differs amongst the four market structure please!

  Who obtains the goods and services that are produced

In a market system, who decides what goods and services are produced and how they are produced and who obtains the goods and services that are produced.

  Discuss two templates of microsoft office

Microsoft Office software has a variety of templates for common tasks many individuals use on a daily basis. Go to Excel, PowerPoint, or Access and view at least six templates. You may search online if you already are familiar with all of the temp..

  Explain why a successful information security program

Explain why a successful information security program is the shared responsibility of an organizations three communities of interest.

  What is greenhouse effect

What is Greenhouse effect - We are legally, ethically,and socially required to green our IT products, applications, services, and practices - is this statement true? Why?

  Arrays and copy semantics

Consider the following Python code segment, which uses built-in Python lists and NumPy lists to perform similar operations, albeit with differing results.

  What happens to the shape of the parabola

Consider the standard form of the equation of a parabola in which the vertex is known but the value of p is not known

  Social networking section of the key assignment

How do networking applications and virtual worlds for social interaction affect people's lives? Explain the positive and negative aspects of reality and virtual reality from both individual and societal perspectives.

  How many dollars per square foot

Rental costs for office space have been going up at 7.7% per year compounded annually for the past 9 years. If office space to is now $29 per square foot per month, what were the rates 9 yes ago? The rates 9 years ago were about how many dollars p..

  Data interfaces between new and existing systems.

BMW Bikeworks is the manufacturer of parts for BMW motorcycles. BMW Bikeworks recently purchased a small competitor. You are the project manager responsible for integrating the systems of these two companies. In this exercise, you will explore som..

  Computing the exponential of a matrix

Verify your results for P18 using this built-in function.

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