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
arlik [135]
4 years ago
15

In which situation will file compression be required to complete the task

Computers and Technology
1 answer:
Kryger [21]4 years ago
4 0
To make easy transfers and to limit the amount of files being moved at a time
You might be interested in
A file is to be shared among different processes, each of which has a unique number. The file can beaccessed simultaneously by s
Finger [1]

Answer:

int sumid=0;    /* Shared var that contains the sum of the process ids currently accessing the file */

int waiting=0;   /* Number of process waiting on the semaphore OkToAccess */

semaphore mutex=1;   /* Our good old Semaphore variable ;) */

semaphore OKToAccess=0;    /* The synchronization semaphore */

get_access(int id)

{

    sem_wait(mutex);

    while(sumid+id > n) {

        waiting++;

        sem_signal(mutex);

        sem_wait(OKToAccess);

        sem_wait(mutex);

    }

    sumid += id;

    sem_signal(mutex);

}

release_access(int id)

{

    int i;

    sem_wait(mutex);

    sumid -= id;

    for (i=0; i < waiting;++i) {

        sem_signal(OKToAccess);

    }

    waiting = 0;

    sem_signal(mutex);

}

main()

{

    get_access(id);

    do_stuff();

    release_access(id);

}

Some points to note about the solution:

release_access wakes up all waiting processes. It is NOT ok to wake up the first waiting process in this problem --- that process may have too large a value of id. Also, more than one process may be eligible to go in (if those processes have small ids) when one process releases access.

woken up processes try to see if they can get in. If not, they go back to sleep.

waiting is set to 0 in release_access after the for loop. That avoids unnecessary signals from subsequent release_accesses. Those signals would not make the solution wrong, just less efficient as processes will be woken up unnecessarily.

5 0
3 years ago
Using reliable internet sources, identify three ways we use analog and digital signals in our everyday lives.
Montano1993 [528]
Clocks maybe is the answer. I really don’t know
7 0
3 years ago
Identify the use of queue in the process of spooling output to a printer.
sashaice [31]

The queue makes sure the printer prints each sheet of paper in order.

6 0
3 years ago
Do you need special software to create a web page?
Serjik [45]

Answer:

Many websites these days have done it for you, (Wix, Squarespace ect.)

If you want to start from scratch however, then I believe you do, I have only researched these websites which do it for you.

Hope this helped :)

5 0
4 years ago
Read 2 more answers
Mrs. Patel uses a computer program to balance her checkbook. Which of the following best explains how the
Alexandra [31]

Answer:

c it reduces errors

Explanation:

Instead of Mrs.Patel doing it she has an online program made for checks to do it for her.

6 0
3 years ago
Other questions:
  • A list of the slides in a presentation is found here.
    7·2 answers
  • A type of address translation in which a gateway has a pool of public ip addresses that it is free to assign to a local host whe
    8·1 answer
  • What does the hexadecimal number 2D represent in the binary system?
    9·1 answer
  • Evaluating algebraic expressions 8(x+2)when x =6
    7·1 answer
  • Que es la papirofobia​
    13·2 answers
  • Solving Systems of Equations by Substitution <br> pdf
    11·1 answer
  • What is the unit of measure ment to easure cpu speed
    11·1 answer
  • what are some examples of security goals that you may have for an organization? check all that apply.
    5·1 answer
  • write the few lines of code that prompts the user to enter a series of exam scores, stopping when the user has entered an exam s
    8·1 answer
  • All character entities end with _____ to signal the browser that everything in between is an entity representing a symbol.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!