We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

www.vustudents.ning.com

Looking For Something at vustudents.ning.com? Click Here to Search

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS609: System Programming Assignment No. 06 Semester: Fall 2012 Due Date: 06/02/2013

Assalam-o-Alaikum

Assignment # 6 CS609 has been uploaded. Its due date is 06 -02- 2013. Please discuss here about the assignment

Thanks

Instructions

Please read the following instructions carefully before submitting assignment:

It should be clear that your assignment will not get any credit if:

• The assignment is submitted after due date.
• The submitted assignment does not open or file is corrupt.
• Solution is copied from any other source.

Objective

The objective of this assignment is to enhance your knowledge about;

• File System
• Block size
• Internal Fragmentation

Assignment

Part a)

10 Marks

What advantage and disadvantage do we get if Bytes per Sector used in a file system is too small/large? Your answer shall be in the following tabular format.

 Scenario Advantage Disadvantage No. of Bytes per Sector is Small No. of Bytes per Sector is Large

Part b)

10 Marks

Let suppose we have to store files on a hard disk having sizes given as below.

840 Bytes, 1790 Bytes, 650 Bytes, 2470 Bytes and 2840 Bytes.

You have to choose an optimal size of sector on your disk which also referred as Bytes per Sector or Block Size. You have the choice to choose the Sector size only from typical values 512 Bytes, 1024 Bytes or 2048 Bytes. Do not make random guess, do some calculations and report them in your solution. Based on your calculations, answer the following questions with reasons stated briefly.

Question No.1: What Block size will you choose if the objective is to have optimal disk space utilization?

Question No.2: What Block size will you choose if the objective is to have reduced access time?

Submission

You are required to submit a single MS word file through LMS.

Fall%202012_CS609_6%20%281%29.doc

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 3747

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

### Replies to This Discussion

thora boht idea he de do

bye :/

sana sis paper abhe kahan start hoe hain is sbject mai koi help nhi krta or help sirf isi mai chahy hoti hai ...:/

plz upload solution

is subject ki koi help nai krta. even k mere jannay walay bi.

kinu dil da haal sunawan??????????????????????

koi mehram raaz na milda

--------------------------------------------

koi Allah ka banda koi hints he de do kahan se ha yeh assignment

plzzzzzzzzz hlp????????

any one alive here  for help

give some idea plz

plzzzzzzz any 1 hlpppp us

nai koi nahi hy jo idea dy aaj extended day hy waisy bhi :(

koi help kesy kry sub papro ki tayri mai busy hainnnnnnnnnnnnnnnnnnnnnn

Itr is really a tough assignment,  no clue

Anyway,  here is few word from Wikipedia....

Sectors
A sector is the smallest storage unit that is addressable by a hard drive, and all information stored by the hard drive is recorded in sectors.
Floppy disks and controllers use physical sector sizes of 128, 256, 512 and 1024 bytes (e.g., PC/AX), whereby formats with 512 bytes per physical sector became dominant in the 1980s.[1][2]
The most common physical sector size for harddisks today is 512 bytes, but there have been hard disks with 520 bytes per sector as well for non-IBM compatible machines. In 2005 some Seagate custom hard disks used sector sizes of 1024 bytes per sector. Advanced Format hard disks use 4096 bytes per physical sector (4Kn)[3] since 2010, but will also be able to emulate 512 byte sectors (512e) for a transitional period.[4]
Magneto-optical drives use sector sizes of 512 and 1024 bytes on 5.25-inch drives and 512 and 2048 bytes on 3.5-inch drives.
In CHS addressing the sector numbers always start at 1, there is no sector 0,[citation needed] which can lead to confusion since logical sector addressing schemes (e.g., with LBA, or with "absolute sector addressing" in DOS) typically start counting with 0.
For physical disk geometries the maximal sector number is determined by the low level format of the disk. However, for disk access with the BIOS of IBM-PC compatible machines, the sector number was encoded in six bits, resulting in a maximal number of 63=64-1 sectors per track, where 64=26 corresponds to six bits. The maximum 63 is still in use for virtual CHS geometries.

## Latest Activity

+++Mahoo+++ liked +++STUDENT+++'s discussion YA Allah
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion YA Allah
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion Mja kun sy kr tu
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion Mja kun sy kr tu
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion poetry
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion could your life change
5 minutes ago
+++Mahoo+++ liked +++STUDENT+++'s discussion true poetry
5 minutes ago
+++STUDENT+++ posted discussions
8 minutes ago
+++STUDENT+++ liked Azhar Sagar's discussion Learn complete HTML IN 40 Minutes
14 minutes ago
+ "AS" replied to + "AS"'s discussion Neelam Mat Karna ...
19 minutes ago
+ ! Ryan replied to + "AS"'s discussion Neelam Mat Karna ...
25 minutes ago
+ ! Ryan replied to + "AS"'s discussion Neelam Mat Karna ...
25 minutes ago
Azhar Sagar posted a discussion

### Learn complete HTML IN 40 Minutes

31 minutes ago
+ M.Tariq Malik liked + "AS"'s discussion Neelam Mat Karna ...
47 minutes ago
+ M.Tariq Malik liked + Adeeena's discussion har shakhas muhabt krta hae !!!
48 minutes ago
52 minutes ago
+ "AS" liked + "AS"'s discussion Neelam Mat Karna ...
53 minutes ago
+ "AS" posted discussions
54 minutes ago
+ M.Tariq Malik liked + Adeeena's discussion sometimes......
54 minutes ago
Usama Rao is now a member of Virtual University of Pakistan
56 minutes ago

## Today Top Members

1

2

3

### + Iuuoɔǝut+

© 2019   Created by + M.Tariq Malik.   Powered by