The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
I need help with this assignment. I'm not sure what to do.Â
Â
Based onDavid Malan’sproblem set 5.Programming Assignment 5Due: 11:59pm, Saturday, February 6OverviewThe goals of this assignment are to:1.Using file I/O2.Taking what looks to be a very hard problem, understanding the small steps that areneeded, and writing out the code to solve itSetupOpen a new Linux terminal window. In your home directory, create/make a new directorycalledHW5and change directory into that directory:$ mkdir ~/HW5$ cd ~/HW5There are no starter files for this project.Part I: Reading (10 pts)Read the following articles and answer the following questions in a file named PART1 (note: notpart1.doc or part1.txt. The bundle script will only accept a file named PART1):1.hexadecimal(sections 1,2.1)2.jpeg(Sections 1,2,5)3.FAT(Sections 1,2)4.Slack Space(Intro)5.File DeletionQ1: What is the largest decimal value that can be stored using 1 byte? What is the hexadecimalrepresentation of 252?Q2: How many bytes are used to store an int? A double?Q3: I have an image that’s 102,321 bytes in size and I write to a FAT file system that uses 512byte blocks. How many blocks are needed to store this file? Explain. Hint: you may want to readthe rest of the document before trying to answer.Q4: What needs to happen in order to securely delete a file (i.e. no file remnants remain)Q5: The Linuxxxdcommand creates a hex dump of a given input. What does the output ofxxd /home/linux/ieng6/cs11wb/public/HW5/card.raw | head -1return and explain what this command does.Q6: How can you convert an integer to a hex string. Hint: use google in this class.
-----------