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
Sonja [21]
3 years ago
13

Consider a file whose size varies between 4 kb and 4 mb during its lifetime. which of the three allocation schemes (contiguous,

linked and table/indexed) will be most ap- propriate
Business
1 answer:
uranmaximum [27]3 years ago
8 0
Table/indexed.  
Let's look at the three options and see what their advantages and disadvantages are:  
Contiguous - In this scheme, the file is stored in contiguous blocks of the disk. It allows for easy random access of the data, but requires a contiguous sequence of blocks large enough to handle the entire file. Since the size of the file specified in this question varies quite a bit over it's lifespan, you're either going to be wasting a lot of space by having an allocation large enough to handle the maximum sized file, or the file will need to be copied whenever it grows and "bumps" into a file that was allocated after it. Because of this, this method is not the best.  
Linked - The file is stored as a single, or double linked list of file blocks. This allows for the file to grow or shrink as needed, using only the amount of space needed for the file. Unfortunately, this storage scheme doesn't allow for random access of the file contents and the file can only be accessed sequentially. The question for this problem doesn't specify how the file is being accessed, so as long as random access isn't required, then this would be a reasonable allocation scheme. But I'm assuming that random access will be required, in which case, this scheme isn't ideal.  
table/indexed - In this scheme, some disk blocks are used as tables to point to other disk blocks that actually contain the file data. It's almost as fast as contiguous allocation for random access of the file contents, yet allows for the growth and shrinkage of a file like linked allocation. As such, it handles all use cases at a relatively minor cost in total storage required. So this would be the most appropriate allocation scheme since the file access behavior wasn't specified in this question.
You might be interested in
What is the purpose of a greenfield investment? to acquire an existing firm in a foreign country. to merge with an existing firm
Stels [109]

According to the Bureau of Economic Analysis (BEA), a greenfield investment is a project “where foreign investors establish a new business or expand an existing business on U.S. soil.”

4 0
3 years ago
how a teacher can use motivational strategies to control problem behavior in classroom give an example
noname [10]
<h3><u>Answer</u></h3>

The Earth’s mantle is made up of Tectonic plates that are forever moving as the Earth cools down. This happens over billions of years, and one of the most notable ones is around the Pacific rim where Earthquakes, (seismic activity) happens quite often

The Rift Valley in Ethiopia lies along the edge of the African Tectonic Plate, and continues down through parts of Somalia and into Kenya.

Just recently a rift opened up in Kenya, which seismologists seem to think is the pre-cursor of a major tectonic plate movement, splitting apart a part of Africa, which could include Ethiopia

Here are some strategies that can be used in the classroom to help motivate students:

  • Promote growth mindset over fixed mindset.
  • Develop meaningful and respectful relationships with your students.
  • Grow a community of learners in your classroom.
  • Establish high expectations and establish clear goals.
  • Be inspirational.
5 0
3 years ago
In wayne dennis's study of infants in iranian orphanages, only 15 percent of the orphans were walking alone by 3 to 4 years of a
Romashka-Z-Leto [24]
The answer to the question above is this: <span>they spent their days lying on their backs in cribs. Wayne Dennis has studied infants in Iranian orphanages. The infants in these orphanages were more on left lying on their backs on their cribs and this results in the delay of their physical development such as walking and other physical activities. This made the children in the orphanages walk at the age of 3 to 4 instead of 1 year old or earlier.</span>
7 0
4 years ago
Price Per Unit Quantity Supplied Quantity Demanded $10 100 295 11 150 275 12 190 250 13 220 220 14 245 180 15 265 135 If a techn
Contact [7]

Answer:

$12

Explanation:

Equilibrium price is price at the point where quantity supplied equals the quantity demanded.

Please check the attached image for a table showing how equilibrium was found

6 0
4 years ago
he units of Manganese Plus available for sale during the year were as follows: Mar. 1 Inventory 22 units @ $29 $638 June 16 Purc
Mama L [17]

Answer:

Thus, difference in gross profit = $144 + $144 = $288

Profit as per FIFO is higher than profit as per LIFO

Explanation:

In the given case, as per both the methods computation shall be as follows:

Date                    Quantity                   Rate              Amount

Mar 1                     22 units                   $29                 $638

Jun 16                   31 units                    $30                 $930

Nov 28                 41 units                     $37                 $1,517

Total                     94 units                                           $3,085

Closing units = 18

That means sales = 94 - 18 = 76 units

Thus as per LIFO cost = 41 units @ $37 + 31 units @ $30 + 4 units @ $29

= $2,563

Closing stock = 18 units @ $29 = $522

As per FIFO cost = 22 units @ $29 + 31 units @ $30 + 23 units @ $37 = $2,419

Closing stock = 18 units @ $37 = $666

Thus, difference of closing stock = $666 - $522 = $144

Profit as per FIFO is higher by $144

Cost is higher in LIFO by $2,563 - $2,419 = $144

Thus, difference in gross profit = $144 + $144 = $288

6 0
4 years ago
Other questions:
  • To enable remarketing in google analytics, what must first be enabled?
    14·1 answer
  • Toward the end of the selection process, Eleanor is one of two final candidates. She meets with the company's executive vice-pre
    8·1 answer
  • Romeo Corporation reports the following for the year: Finished goods inventory, January 1 $ 2,500 Finished goods inventory, Dece
    15·1 answer
  • Hopkins Co. at the end of 2017, its first year of operations, prepared a reconciliation between pretax financial income and taxa
    8·1 answer
  • "what advantage is the company experiencing by allowing angela to telecommute?"
    14·1 answer
  • All of the following are concepts learned in English courses except O A. how to speak the language. B. literary criticism. C. gr
    12·1 answer
  • . Suppose, the world’s average (mean) GDP per capita is $9,133 in 2014. If there are roughly 6 billion people in the world, then
    7·1 answer
  • Scott is a 50% partner in the LS Partnership. Scott has a basis in his partnership interest of $84,000 at the end of the current
    14·1 answer
  • ABC Corp. wants to save $1,000,000 to buy some new equipment four years from now. The plan is to set aside an equal amount of mo
    14·1 answer
  • trighton's trailer co. sells all kinds of trailers and provides a one-year warranty on all new trailer sales. based on history,
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!