We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

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


+ 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)


Views: 3849

Replies to This Discussion

m online

den hlp us plzlllllll

koi tu hlp kr dy

Time to running out... shahid bro try to understand 

sidha sidha solution upload ker dein  g plzzzzzzzzzzzzzz q trsa trsa k jan nikalty hein ab time hi kitna reh gia hy koi duain lena chata he to help ker dey dukhi dil ko khush kren to dua bhi dil se niklti hy May GOD help them who will help us amin

sum Ameeen

SHAHID IQBAL

help ker dein bhai ab sol de hi dein plzzzzzzzzzz time bht km hy light ka bhi pta ni

Part (a)

Small:

Advantage:

  • Low fragmentation
  • Increase storage capacity
  • Better performance

Disadvantage:

  • Slower acces time
  • poor error correction
  • low reliability

Large:

Advantages:

  • Faster access 
  • Better error handling
  • suitable for modern systems

Disadvantages:

  • Fragmentation
  • Low capcaity
  • Reduced performance

Thanks , Hammad

Part (b)

Q1:

512 bytes block size is best because in that memory loss is least. You can use following formula to calculate memory unused space:

Unused space=Block Size-File Size

Afer putting the values in question i.e 1790, 650 etc one by on and then totaling tem for each case you will come to know that in case of 512 unused space is least so 512 byte size is best for optimum space utilization.

Question 2: 

In this case 2048 byte size is best because it will inlvolve least number of acesses and hence fastest. 

Acsesses in 2048=7

Accesses in 1024=10

Accesses in 512=19

So 2048 is best as it involves least number of accesess. 

thanx hammad

hammad bhai plz tell k how to calculate the access time. plz tell formula

RSS

Looking For Something? Search Below

Latest Activity

Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
59 minutes ago
Mani Siddiqui Ex replied to Mani Siddiqui Ex's discussion General Knowledge question !!!
59 minutes ago
Rabia liked + M.Tariq Malik's discussion BIF401 Bioinformatics I GDB Fall 2020 Solution / Discussion
3 hours ago
Rabia liked + M.Tariq Malik's profile
3 hours ago
★彡[ꜱʜʏɴᴀ]彡★ liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
9 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + M.Tariq Malik's discussion Free Download Solved MCQs of Pakistan Affairs - Everyday Science - Current Affairs For MCQs for CSS, NTS, FTS, ETEA, OTS, UTS, FPSC, PPSC, SPSC, PMS, PSC, KPKPSC, AJKPSC, SOPE Exam
9 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + liked + ! ! hคຖiค khคຖ ! ! ! +'s discussion 'Ghar Se Hum Ghar Talak Gaye Honge, Apne Hee Aap Tak Gaye Honge',
9 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + posted a discussion
9 hours ago
VU AHMED replied to + M.Tariq Malik's discussion PHY301 Fall 2017 Final Term Papers Pattern & Questions 17 Feb 2018 to 28 Feb 2018 & Helping Material in the group PHY301 Circuit Theory
9 hours ago
+ ! ! hคຖiค khคຖ ! ! ! + updated their profile
9 hours ago
+ M.Tariq Malik liked + + + + " Tw!nkle "'s discussion Happy HAppy birthday !! FIYA
11 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion EDU410 Teaching of Literacy Skills Assignment 01 Fall 2020 Solution / Discussion in the group EDU410 Teaching of Literacy Skills
11 hours ago

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

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.