CS 2301 Programming Assignment Unit 7 PDF

Title CS 2301 Programming Assignment Unit 7
Author Ismaila Suleman
Course Operating Systems 1 (proctored course)
Institution University of the People
Pages 7
File Size 158 KB
File Type PDF
Total Downloads 72
Total Views 151

Summary

Download CS 2301 Programming Assignment Unit 7 PDF


Description

Written Programming Assignment Unit 7

Physical Memory Unit 7 Programming Assignment

Suleman Hedd Ismaila CS 2301 Operating Systems 1 University of the People

Questions and Answers Explain the details of your hard drive organization (typically Drive C:) using this utility. To run this utility, open a command window, go to the directory where you have stored ntfsinfo.exe, and enter ntfsinfo.exe C:\.

1. Attach YOUR screenshot from running NTFSinfo utility

2. List number of sectors and define what it means Total sectors

: 1922232319

A sector is the tiniest physical storage division on the hard disk drive, and can hold almost always 512 bytes of data. As evident in the screenshot from running the NTFSinfo utility, my PC has a total sectors of 1922232319 and each sector of this total number can store 512 bytes of accessible data. 3. List number of total clusters and define what it means Total clusters

: 240279039

There are referred to as clusters because the space is reserved for data contents. A cluster can accommodate one or additional consecutive sectors. The number of sectors is always a power of 2. A cluster might contain one sector (20), or, very often, 8 sectors (23). It is worthy of note that the only odd number a sector a cluster can have is 1. It could not be 5 sectors or 10 sector or an even number that is not a power of 2. However, it could be made of 8 or 16 sectors. (ntfs.com,n.d)

4. List number of bytes per cluster and define what it means Bytes per cluster

: 4096

Bytes Per Cluster is the file systems “Allocation unit size” also known as the NTFS cluster size. A common sector size is 512 bytes. A common cluster size is 8 sectors. Hence, lots of file systems have a minimum cluster size of 4 kibibytes (8 x 512 bytes). The file system in my PC is made up of 8 sectors amounting to 4096 bytes.

5. Translate the number of free clusters from decimal number to a hexadecimal Free clusters

: 211325954

Solution: Convert 21132595410 to Hexadecimal.

Division by 16

Quotient

Remainder (decimal)

Remainder (hex)

211325954/16 13207872/16 825492/16 51593/16 3224/16 201/16 12/16

13207872 825,492 51,593 3,224 201 12 0

2 0 4 9 8 9 12

2 0 4 9 8 9 C

Hence, 21132595410 = C98940216

Conclusion The NTFSinfo is very great tool that shows all the information about the NTFS volume. The allocation size unit, the sector and the cluster and as well tells us where on the disk the MFT-Zone is located and what percentage of the drive is reserved for it. (Russinovich, 2016) The assignment has help me once again to review and fully appreciate the features of the hard disk drive.

References

Arpaci-Dusseau, R. & Arpaci-Dusseau, A. (2012). Operating systems: Three easy pieces- Hard Disk Drives. Madison, WI: University of Wisconsin-Madison. Retrieved May 24, 2020 from http://pages.cs.wisc.edu/~remzi/OSTEP/ NTFS.com, (n.d). Hard Disk Drive Basics. Retrieved May 24, 2020 from http://www.ntfs.com/hard-disk-basics.htm Russinovich, M. (2016). NTFSInfo v1.2. Retrieved May 24, 2020 from https://docs.microsoft.com/en-us/sysinternals/downloads/ntfsinfo...


Similar Free PDFs