1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Genrish500 [490]
4 years ago
14

Given the following characteristics for a magnetic disk pack with 10 platters yielding 18 recordable surfaces (not using the top

and bottom surfaces): Rotational speed = 13 ms Transfer rate = 0.15 ms/track Density per track = 19,000 bytes Number of records to be stored = 200,000 records Size of each record = 160 bytes Block size = 10 logical records Number of tracks per surface = 500 Find the following: a. Number of blocks per track b. Waste per track c. Number of tracks required to store the entire file d. Total waste to store the entire file e. Time to write all of the blocks (Use rotational speed; ignore the time it takes to move to the next track.) f. Time to write all of the records if they’re not blocked. (Use rotational speed; ignore the time it takes to move to the next track.) g. Optimal blocking factor to minimize wasted space h. What would be the answer to (e) if the time it takes to move to the next track were 5 ms? (i). What would be the answer to (f) if the time it takes to move to the next track were 5 ms?
Computers and Technology
1 answer:
soldi70 [24.7K]4 years ago
7 0

Answer:

a. 11 blocks / track

b. 1400 bytes / track

c. 1819 track

d. 2,545,200 bytes / file

e. 18190 ms = 18.19 s

f. 16.842 s

Explanation:

a. D = Number of blocks per track

E = B * L = 1600 bytes / block

The number of blocks per track must be an integer. The INT function finds the integer part of a number.

D = INT( R / E ) = INT(11.875) = 11 blocks / track

b. F = Waste per track = R - D * E = (19000 bytes / track) - (11 blocks / track) * (1600 bytes / block) = 1400 bytes / track

This is a wastage of about 7.4%.

c. H = Number of tracks required to store the entire file.

G = Number of records per track = (11 blocks / track) * (10 records / block) = 110 records / track

The CEIL operator is the Ceiling operator. It is similar to the INT operator, except that it takes the next higher integer if the argument is not an exact integer.

H = Number of tracks = CEIL[ N / G ] = 1819 tracks

d. J = Total waste to store the entire file = (H - 1) * F = 2,545,200 bytes / file

e. K = Time to write all of the blocks. (Use period of revolution; ignore the time it takes to move to the next track.)

Assume it takes one revolution to record one track.

K = H * T = (1819 tracks) * (10 ms / track) = 18190 ms = 18.19 s

f. M = Time to write all of the records if they are not blocked. (Use period of revolution; ignore the time it takes to move to the next track.)

Assuming we treat the disk like a tape. The total file is 32,000,000 bytes long, which easily can fit in a PC RAM. We can declare a buffer to be the length of the track, and worry about parsing the file back into records when we reread the data.

In this case, we use CEIL(N * L / R) = 1685 tracks. This is 4 surfaces.

M = (N * L / R) * T = 16.842 s

g. P = Optimal blocking factor to minimize waste = INT(R / L) = 118 records / block

The wastage is Q = R - P * L = 120 bytes / track

h. What would be the answer to (e) if the time it takes to move to the next track were 5 ms?

Since we used 1819 tracks, we used tracks on 4 surfaces. When we change surfaces, we do not need to move the arm to another track. Assume also that we do not need to move the arm to position it to the first record in the file.

U = K + (1819 - 4)* 5 ms = 18190 ms + 9075 ms = 27265 ms = 27.265 s

i. What would be the answer to (f) if the time it takes to move to the next track were 5 ms?

In this

V = M + [CEIL(N * L / R) - 4] * 5 ms = 16842 ms + [1685 - 4] * 5 ms = 16842 + 8504 = 25247 ms = 25.247 s

You might be interested in
A customer service representative for an Internet provider uses various techniques to help a frustrated customer with a slow Int
tia_tia [17]

Answer:

“Think of it this way: When we’re done, your connection will be faster than it ever was before.”

Correct label:

positive reappraisal

“Okay, let’s put the connection speed issue aside for later and work on changing your password for our company website.”

Correct label:

distraction

“At least your router isn’t talking back at you! I can’t get my digital assistant to shut up.”

Correct label:

humor

Explanation:

4 0
4 years ago
The following method public String removeFromString(String old, String frag) removes all occurences of the string frag from the
Mashutka [201]

private static String removeFromString(String old, String frag)

{

int i = old.indexOf(frag);

while (i> -1) {

String rest = old.substring(i + frag.length());

System.out.println("rest = " + rest);

old = old.substring(0, i);

System.out.println("rest = " + old);

old = old + rest;

System.out.println("rest = " + old);

i = old.indexOf(frag);

System.out.println("i = "+ i);

}

return old;

}

Here the index of first occurrence is obtained outside the “while loop” and if this loop runs until index value is >-1. It extracts the rest of the characters other than “frag” from the index and all the characters for which the given set of characters are removed.

4 0
3 years ago
What is one difference between a web page and a web application? Web pages provide information, while web applications allow the
Assoli18 [71]

Webpage is a page of a site, such as https://example.com/test, where the bolded text is the page.

On the other hand, web applications, or simply web apps, are found in many websites, such as here and also in Connexus. They end in either aspx or jsp, which stand for asp.net appx and javascript page, respectively.


So, your answer would be A: Web pages provide information, while web applications allow the user to do something.

Hope this was answer you were looking for. Have a nice day!

7 0
3 years ago
IN MICROSOFT EXCEL YOU CAN UES FOMULA TO DIVIDE OR MULTIPLY WHAT IS THE CORRECT FORMULA TO CALCULATE 4*6
nexus9112 [7]

You actually have the correct answer. An excel formula starts with = so your answer would be =4*6

8 0
3 years ago
The number 84 is divisible by 2,3,4 and 6. true or false
Eva8 [605]
84÷2=42. 84÷3=28. 84÷4=21. 84÷6=14. So your answer is true.
8 0
3 years ago
Read 2 more answers
Other questions:
  • A ______________ is a document created when planning resource management to help promote teamwork and clarify team communication
    13·1 answer
  • The Circle of Growth
    10·1 answer
  • If a computer is capable only of manipulating and storing integers, what di themselves? How are these difficulties overcome
    13·1 answer
  • Write a pseudocode that will take marks of physics, chemistry and math as input, calculates the average and displays output.
    7·2 answers
  • How many cells does the organism have?\
    5·2 answers
  • How do I use this without the spring?
    6·1 answer
  • What effect does the interconnectedness of modern media have on society?
    14·2 answers
  • What is one major difference between the roles of film directors and theater directors? A. A theater director is involved in sel
    14·1 answer
  • Identify the angle.
    12·1 answer
  • ____________ reference is used when you want to use the same calculation across multiple rows or columns.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!