answersLogoWhite

0


Best Answer

OPTIMAL STORAGE ON TAPES

We want to store files of lengths (in MB) {12,34,56,73,24,11,34,56,78,91,34,91,45} on

three tapes. How should we store them on the three tapes so that the mean retrieval

time is minimized?

SOLUTION: STORE FILES BY NON-DECREASING LENGTH

First sort the files in increasing order of length. For this we can use heap sort, merge sort

or quick-sort algorithms.

11 12 24 34 34 34 45 56 56 73 78 91 91

Now distribute the files:

First element 11

Tape 11

1

Tape

2

Tape

3

Second element 12

Tape 11

1

Tape 12

2

Tape

3

Third element 24

Tape 11

1

Tape 12

2

Tape 24

3

Fourth element 34

Tape 11 34

1

Tape 12

2

Tape 24

3

Fifth element 34

Tape 11 34

1

Tape 12 34

2

Tape 24

3

Sixth element 34

Tape 11 34

1

Tape 12 34

2

Tape 24 34

3

Seventh element 45

Tape 11 34 45

1

Tape 12 34

2

Tape 24 34

3

Eigth element 56

Tape 11 34 45

1

Tape 12 34 56

2

Tape 24 34

3

Ninth element 56

Tape 11 34 45

1

Tape 12 34 56

2

Tape 24 34 56

3

Tenth element 73

Tape 11 34 45 73

1

Tape 12 34 56

2

Tape 24 34 56

3

Eleventh element 78

Tape 11 34 45 73

1

Tape 12 34 56 78

2

Tape 24 34 56

3

Twelth element 91

Tape 11 34 45 73

1

Tape 12 34 56 78

2

Tape 24 34 56

3

Thirteenth element 91

Tape 11 34 45 73

1

Tape 12 34 56 78

2

Tape 24 34 56

3

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

There are two methods of storing data on tapes:

  1. magnetic, this is the most common method used today. the tape is coated with magnetizable particles and an electromagnetic head is used to both write and read data on this coating.
  2. punched holes, metal punches/dies punch holes in the tape corresponding to the data, readout can be performed with mechanical feelers, metal electrical brushes, or photo sensors.
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you ordering the optimal storage on tapes?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are magnetic tapes permanent storage or temporary?

Magnetic storage:Yes magnetic tapes are permanent storage and are the best permanent storage. These are very slower storage but are very cheap storage then RAM or other kind of memory.


Are tapes a magnetic storage device?

Yes, they ARE magnetic


What are the release dates for My Dad's Tapes - 2011 The Storage Contents 1-43?

My Dad's Tapes - 2011 The Storage Contents 1-43 was released on: USA: 16 January 2012


What are the release dates for My Dad's Tapes - 2011 The Storage Unit 1-30?

My Dad's Tapes - 2011 The Storage Unit 1-30 was released on: USA: 15 January 2012


Are magnetic tapes usb or optical storage?

Neither. They are removable magnetic storage. Optical storage consist of CDs, DVDs, etc.


What is the optimal storage temperature range for the RSDL?

40F to 86F


What are the release dates for My Dad's Tapes - 2011 The Storage Contents Part I 1-32?

My Dad's Tapes - 2011 The Storage Contents Part I 1-32 was released on: USA: 5 December 2011


What are some ideas to use as cassette tape storage?

There are many ways to store cassette tapes. Storage products, specifically designed for cassette tapes, can be purchased from Amazon. These include cassette tape storage albums in which 6, 8, 10 or 12 cassettes can be stored.


What does it cost to get new tapes for a tape drive?

depending on the drive the tapes cost anywheres from 10 to 40 dollars. This also depends on the capacity of the tapes as well as format. Ordering online is the best choice for tapes as many stores don't carry them and retailers that do often time have a very considerable amount of mark up.


What is an old fashioned storage device?

Old fashioned storage devices include punch cards, reel to reel tapes, and diskette drives.


What is the current capacity of tapes?

It varies from few Gbs to Tbs based on the size and type of tape. Magnetic tapes were storing more than 5Tb of data on single tape. Oracle's Storage Tek tape offers 5 Tb of storage space


Where can someone purchase storage for old cassette tapes?

There are many great options available for old cassette tape storage. Newegg, B&H, Amazon and Neobits all offer tape holders for 36 tapes and up for between $20 and $30.