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
It is possible that a(n) ________ vertical marketing system can be more formally structured through strategic alliances and part
FromTheMoon [43]

Answer:

administered

Explanation:

Based on the information provided within the question it can be said that the term that is being mentioned in this scenario is an administered vertical marketing system. This is a co-ordinated system of distribution channel organization that is characterized the movement of products from point of origin to consumer is controlled by a single individual as opposed to contractual ties. Which is the main marketing system that may benefit from agreements among channel members.

6 0
4 years ago
What would a store and bank both charge fees for?
pentagon [3]
They may charge for any late payments
3 0
4 years ago
HELP HELP HELPPPPP plz plz plz I have noooo idea
Agata [3.3K]
B i think hope this helps tell me if im wrong or right
5 0
3 years ago
Sheffield Corp. has 285,000 shares of $8 par value common stock outstanding. It declares a 13% stock dividend on December 1 when
astra-53 [7]

Answer:

285,000 common stock outstanding with a $8 par value

it declares 13% stock dividend

market price at $16

since the stock dividend is considered small (less than 20%), we use the market price to record it

December 1, 202x stock dividends are declared (37,050 stocks)

Dr Retained earnings 592,800

    Cr Common stock dividends distributable 296,400

    Cr Additional paid in capital 296,400

December 31, 202x, distribution of stock dividends

Dr Common stock dividends distributable 296,400

    Cr Common stock 296,400

3 0
4 years ago
Swifty Company has been having difficulty obtaining key raw materials for its manufacturing process. The company therefore signe
Doss [256]

Answer:

unrealized loss   38,070 debit

    account payable      38,070 credit

Explanation:

as the commitment is for 382,800

but the price lower to 345,730

there is a loss for thecompany as will be doing a purchase for a higher price than market: 38,070

But, as the contract has not been completed the loss is unrealized price can change in the future as well therefore it will not be reocgnize right away and no impact in the income statmeent it will be part of other comprehensive income.

3 0
3 years ago
Other questions:
  • Suppose you deposit 1700 cash into your checking account. by how much will the total money supply increase as a result when the
    5·1 answer
  • What does setting a personnel policy before hiring employees allow you to do
    11·1 answer
  • States request assistance from other states through interstate mutual aid and assistance agreements such as:
    9·1 answer
  • Who handles investigations of federal crimes
    9·2 answers
  • The following is the adjusted trial balance of Wilson Trucking Company.
    10·1 answer
  • Which of the following is true of knowledge workers? a. Their contributions to an organization are based on their expertise. b.
    13·1 answer
  • Magic Realm, Inc., has developed a new fantasy board game. The company sold 8,400 games last year at a selling price of $70 per
    13·1 answer
  • Park Co. is considering an investment that requires immediate payment of $21,530 and provides expected cash inflows of $6,500 an
    11·1 answer
  • Paula is in charge of maintaining good relationships between her organization and local government, business leader groups, and
    13·1 answer
  • Material requirements plus an allowance for normal inefficiencies are added together to determine the.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!