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

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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# 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

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

• 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 Join Subject Study Groups & Get Helping Material?

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

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

Views: 3754

.

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

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

### 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 ...:/

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

1 hour ago
afaq posted a discussion

### cs 312 assignment 2 solution required

5 hours ago
6 hours ago
Zain Kazimi posted a discussion

### Self Poetry Dedicated to Nasir Kazimi

6 hours ago
6 hours ago
+ ! ! ! ! ! ! ! ! STUDENTs +++ liked ♦_"Tooba"_♦'s discussion QUIZ NO 1
6 hours ago
+ M.Tariq Malik's 17 discussions were featured
6 hours ago
+ M.Tariq Malik added a discussion to the group EDU401 Contemporary Issues and Trends in Education

### EDU401 Current Mid Term Papers Fall 2019 (14 to 26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material

6 hours ago
+ M.Tariq Malik liked Zari's discussion cs502 important topics for mid
6 hours ago

1

2