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: 3755

.

+ 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

thanks Hamad bhai aap is bar top kren gy hmari duen ap k sath hein INSHALLAH

access time ka formula kiya he?

yes

thanks a lot hammad! So nice of u!

calculation table bhi manga hua hy ny sir ny?

shahid bhai, shrm kren, sol ka keh kr gayb ho gay,

mujhay lagta ha unhn ne khud bhi nahi kia bachun k jazbat se khel rahay hain..

any one know how to calculate access time?
UNUSED SPACE = BLOCK SIZE - FILE SIZE
=512-840
=-328

= 512-1790
= -1278
=512-650
=-138
=512-2470
=-1958
=512-2840
=-2328

tell me it is correct ???????????????

yes

## Latest Activity

32 minutes ago
1 hour ago
Rida Jaffery is now friends with Elegant and Hafiz Furqan Sabir
2 hours ago
zisani joined + M.Tariq Malik's group

### CS504 Software Engineering - I

4 hours ago
zisani joined + M.Tariq Malik's group

4 hours ago
4 hours ago
+ ! ! ! ❣ AaiMa ❣ !+ updated their profile
4 hours ago
Rida Jaffery joined + M.Tariq Malik's group

### ENG101 English Comprehension

5 hours ago
Rida Jaffery joined + M.Tariq Malik's group

### CS201 Introduction to Programming

5 hours ago
〘٢٧ دن〘جلیبیاں updated their profile
5 hours ago
Rehan posted a status
"MGMT 625..past papers???"
5 hours ago
+ ! ! ! ❣ maho ❣ ! + updated their profile
5 hours ago

1

2