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
These are the four stages of the business cycle:
Brut [27]

Answer:

IT'S D

Explanation:

ON EDGE2020

7 0
3 years ago
As the price level falls a. people will want to hold more money, so the interest rate rises. b. people will want to hold more mo
icang [17]

Answer:

The answer is C.

Explanation:

As the general price level decreases or falls, people will want to hold less money, so the interest rate falls.

As price level falls, value of money decreases because a unit of money will more of goods or services.

During this period people will want to hold less money because of the decrease in value and the excess money will be deposited in banks.

With this, the banks have more money to lend out and this will make the bank to reduce its Interest rate.

8 0
3 years ago
A resort hotel is planning to install a computerized inventory system to manage complementary guest items such as soap and shamp
jeka57 [31]

Answer:

a) safety stock = z-score x √lead time x standard deviation of demand

z-score for 99.9% = 3.29053

√lead time = √7 = 2.6458

standard deviation of demand = 3

safety stock = 3.29053 x 2.6458 x 3 = 26.12 ≈ 26 soaps

reorder point = lead time demand + safety stock = (7 x 16) + 26 = 138 soaps

EOQ = √[(2 x S x D) / H]

S = order cost = $10

D = annual demand = 16 x 365 = 5,840

H = $0.05

EOQ = √[(2 x $10 x 5,840) / $0.05] = 1,528.40 ≈ 1,528 soaps

b) total order costs per year = (5,840 / 1,528) x $10 = $38.22

total holding costs = (1,528 / 2) x $0.05 = $38.20

total annual ordering and holding costs = $76.42

4 0
3 years ago
During 2017 the DLD Company had a net income of $85,000. In addition, selectedaccounts showed the following changes: Accounts Re
miv72 [106K]

Answer:

A) $84,500

Explanation:

The cash flow statement categories the company's transactions in a financial period into 3 groups; these are operating, investing and financing.

The net profit/loss, depreciation, changes in current assets (other than cash) and liabilities are considered as operating activities including income taxes.  

The sale of assets, interest received, purchase of investments are examples of investing activities while the issuance of stocks, debt principal deduction (loan settlement), issuance of debt securities etc are examples of financing activities.

Hence, amount of cash provided by operating activities

= -$3,000 + $1,000 + $1,500 + $85,000

= $84,500

The increase in asset other than cash is an outflow, increase in liability is an inflow of cash. Depreciation is a non-cash item added back while increase in building and bond payable are investing and financing activities respectively.

7 0
3 years ago
Assume a company's current ratio and acid-test ratio are less than 1.0 before it purchases inventory on credit. When it makes th
I am Lyosha [343]

Answer: b. Its quick ratio decreases.

Explanation:

The Quick ratio is calculated net of inventory to determine if a company can cover its current liabilities with its more liquid current assets. The formula is to subtract Inventory from the Current Assets and then divided that by the Currency liabilities.

The Quick ratio will be less than before because the number of current assets will not change but the amount of current liabilities will change as the goods were purchased on credit. With a larger denominator, the resultant ratio will be less than before.

7 0
3 years ago
Other questions:
  • Alicia (age 27) is a single, full-time college student. she earns $13,200 from a part-time job and has taxable interest income o
    7·2 answers
  • Sharon is thinking about opening a bakery. She knows she wants to set her own hours, reduce her stress and make a profit. But sh
    9·2 answers
  • Which of the following will be affected if consumers take money out of checking accounts to pay their credit cards?A. M1B. M2C.
    7·1 answer
  • Suppose that consumers would like to purchase 10 million dvds but only 5 million are available. in order for the market to coord
    8·1 answer
  • Which of the following is correct with respect to rainy day funds? Multiple Choice Rainy day funds are classified as committed o
    8·1 answer
  • Toby works in an office where employees scan a large number of documents everyday. His manager has asked him to purchase a new s
    6·2 answers
  • The _____ was developed to review workforce needs and make recommendations to the federal government to ensure that national pol
    9·1 answer
  • Suppose that in a market for used cars, there are good used cars and bad used cars (lemons). Consumers are willing to pay as muc
    12·1 answer
  • Francina, who just started her first job, had been repaying her luxury sports car loan until she stopped payments two months ago
    14·1 answer
  • Hair Stylist Woes. Maryann went to see her hair stylist, Candy. Maryann, who had black, curly hair, requested straight, blond ha
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!