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
Journalizing purchase and sales transactions
Firdavs [7]

Based on the given purchase and sale transactions, the journal entries are:

Date             Account Title                                   Debit                    Credit

Feb 3      Merchandise inventory                   3,300

                            Account payable                                       3,300

Feb 7            Account payable                               900

                    Merchandise inventory                                               900

Feb 9            Merchandise inventory                    400

                      Cash                                                                               400

Feb 10           Account receivable                        4,700

                      Sales revenue                                                             4,700

Feb 10            Cost of goods                                  2,350

                       Freight out                                          370

                      Merchandise inventory                                            2,350

                      Cash                                                                             370

Feb 12             Account payable                             2,400

                       Cash                                                                          2,328

                       Merchandise inventory                                                 72

Feb 28             Cash                                                 4,606

                         Sales discount                                      94

                         Account receivable                                               4,700

<h3 /><h3>What are the journal entries?</h3>

When goods are purchased, they will be debited to the Merchandise inventory account. If they were paid for with cash, they will be credited to the cash account. On account is credited to Accounts Payable.

When goods are sold, the cost of goods sold will have to be debited to account for the cost of the purchase that is now being sold.

Because the goods were paid for in the discount period, a 3% discount would apply:

= 2,400 x (1 - 3%)
= $2,328

A 2% discount would apply to the Feb 10. sales for the same reason:
= 4,700 x (1 - 2%)

= $4,606

Find out more on discount terms at brainly.com/question/24086159.

#SPJ1

4 0
2 years ago
The elements of the business environment include the:.
quester [9]

Answer:technological environment, economic and legal environment, competitive environment

Explanation:

5 0
2 years ago
I need HELP!!!!!!!!!!
Brrunno [24]
Answer: D i think

Explanation:
7 0
2 years ago
Read 2 more answers
Zenith Investment Company is considering the purchase of an office property. It has done an extensive market analysis and has es
ValentinkaMS [17]

Based on the NOIs from Year 1 to 8, the value of the property today to Zenith Investment Company will be $13,221,383.94.

<h3>What is the value of the investment today?</h3>

Because the investment will be sold in 7 years, we need to find the terminal value from year 8 and above considering the indefinite growth rate of 3%.

Terminal value:

= Year 8 cashflow / (Return rate - Growth rate)

= 1,459,170 / (12% - 3%)

= $16,213,000

This amount should be added to the Year 7 cashflow to get:

= 16,213,000 + 1,419,000

= $17,632,000

The value today can be found by taking all the cashflows to their present value and summing them:

= 1,240,000/ 1.12 +  1,240,000 / 1.12² +  1,240,000 / 1.12³ + 1,280,000 / 1.12⁴ +  1,330,000 / 1.12⁵ +  1,380,000/ 1.12⁶ +  17,632,000⁷

= $13,221,383.94

Find out more on present value at brainly.com/question/17199492.

7 0
2 years ago
Consider the following year-end information for a company: Cost of goods sold $ 420,000 Sales revenue 800,000 Non Operating expe
Bad White [126]

Answer:

$210,000.

Explanation:

Given:

Cost of goods sold = $420,000

Sales revenue = $800,000

Operating expenses = $170,000

Question asked:

What amount will the company report for operating income ?

Solution:

As we know, Operating Income = Gross Profit- Operating Expenses

First of all we will find gross profit,

Gross Profit = Net Sales – Cost of goods sold

                    = $800,000 -  $420,000

                    = $380,000

Now, Operating Income = Gross Profit- Operating Expenses

                                        = $380,000 -  $170,000

                                        = $210,000

Therefore, consider the following year-end information for a company, its Operating Income is  $210,000.

4 0
3 years ago
Other questions:
  • Any point on a country's production possibilities frontier represents a combination of two goods that an economy:
    14·1 answer
  • Stephanie is a 40 percent partner in the SKY Partnership. During the current tax year, the partnership reported ordinary income
    9·1 answer
  • As a leader, some of your toughest challenges will arise when people do not want to do what has to be done. leaders have to impr
    5·1 answer
  • epreciation on the equipment for the month of January is calculated using the straight-line method. At the time the equipment wa
    15·1 answer
  • The Treasury bill rate is 4% and the market risk premium is 7%. Project Beta Internal Rate of Return, % P 0.85 18 Q 0.00 14 R 2.
    6·1 answer
  • Changing compounding frequency Using annual, semiannual, and quarterly compounding periods for each of the following, (1) calcul
    6·1 answer
  • You consider purchasing a new computing system, including networking, for your sales force for $112,000. The system has a 6-year
    11·1 answer
  • If you take out money from a CD before it reaches maturity you must A) pay the bank a penalty, typically three months' interest.
    5·2 answers
  • Liam manages his father's construction company. He is usually very lenient with his employees. He allows his employees to work f
    9·1 answer
  • Approximately how many new small businesses does the Small Business Administration estimate close during their first year of ope
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!