HW 02 Computer Foundations II and Partition Analysis
Purpose: The purpose of this assignment is to solidify your understanding of topics covered in chapters 2, 4/5 (pg 69-101), as well as GPT disk partitioning (discussed in lecture and via lecture notes). Such understanding is gained through practice.
Instructions: Answer the following questions on a separate sheet of paper (typed or hand-written), numbering all answers and showing all work for full credit.
Answer the two questions below regarding data structures and endian ordering using Figure 1 below.
Figure 1.
Suppose you were told that the horizontal resolution of a digital photograph taken is stored as a 16bit number at offset 434. Suppose you were told that the file format dictates big endian ordering. What is the horizontal resolution of the digital photograph in hex and decimal?
Again, suppose you were told that the horizontal resolution of a digital photograph taken is stored as a 16bit number at offset 434. But this time, suppose you were told that the processor is Intel x86 and that the file format does not “trump” the normal little endian ordering that would then be presumed. What is the horizontal resolution of the digital photograph in hex and decimal?
What if you were told that the horizontal resolution is stored as a 32bit number, presuming big endian ordering? What is the resolution in hex and decimal?
What if you were told that the horizontal resolution is stored as a 32bit number, presuming little endian ordering? What is the resolution in hex and decimal?
Answer the following questions considering the MBR shown in Figure 2.
Recreate and fill-in the following table:
Partiton
Type Hexcode
Type
Active Hexcode
Bootable? (Y/N)
Starting Sector (Hex)
Starting Sector (decimal)
Size in Sectors (Hex)
Size in Sectors (decimal)
1
2
3
4
b. What would you do to calculate the size of each partition in bytes?
c. Estimate how big this hard drive is (i.e. 80GB, 100GB, 160GB, etc).
d. What does the line shown separating “row 496” and “row 512” represent?
Figure 2.
The post HW 02 Computer Foundations II and Partition Analysis Purpose: The purpose of appeared first on PapersSpot.