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
vlabodo [156]
4 years ago
7

Say you are running a program along with many other programs in a modern computer. For some reason, your program runs into a dea

dlock and never comes out of that. How does the OS deal with such deadlock
Computers and Technology
1 answer:
swat324 years ago
6 0

Answer:

The OS deals with such deadlock to temporarily prevent resources from deadlocked processes. It is either it back off a process to some check point allowing preemption of a needed resource and restarting the process at the checkpoint later. Finally, successively kill processes until the system is deadlock free.

You might be interested in
on the road you are traveling,the pavement markings change from broken white lines to solid white lines between the lanes of tra
alexdok [17]
Broken lines mean you can pass. Solid lines mean you cannot pass.
8 0
3 years ago
What is the function of a data bus
choli [55]

To gather data from its inputs

4 0
3 years ago
I try to make an account so I can have some help, but it always says "We’re sorry, but we are not able to complete your registra
Romashka-Z-Leto [24]

Answer:

that keeps happening to me too i sent them a email and they said they are trying to fix it

8 0
3 years ago
Given that note, write a program which tells us the major scale starting at that note, using the pattern above. In the main bloc
White raven [17]

<u>Solution and Explanation:</u>

the_notes = ['C','C#','D','D#','E','F','F#','G','G#','A','A#','B'] #original list

def get_scale(choice): #function to get the major diatonic scale

steps=[1,1,.5,1,1,1,.5] #separate list for steps

size=None

for i in range(0,12): #loop to find out the index of the note entered

if(the_notes[i]==choice):

size =i

break

new_notes=the_notes[size:] + the_notes[:size]

#the above statement rotate the list so that the entered note can become the first note in the new list(i.e new notes)

index =0 #

scale="" #a string to store the major diatonic scale

for i in range(0,7):

scale+=new_notes[index]+" "

if(steps[i]==1):

index = index+2

else:

index=index+1

return scale

#main block

while(1):

choice=input("What scale do you want or Q to quit? ")

if(choice=='Q'):

break

elif(choice in the_notes):

print(get_scale(choice))

else:

print("That is not a note")

5 0
3 years ago
Explain briefly why we say that the "Web" exists only in our minds.
hammer [34]

Answer:

The Web is the system of web pages and sites that uses the Internet to pass the files across. It was developed in the late 1980’s by Tim Berners-Lee, and you <em>need a Web Browser to access it</em>. This could either be in a PC, a mobile phone or one of the new iPods.

Explanation:

I guess you could look at it as just one of many services that use the Internet – other services include e-mail, internet telephony and peer-to-peer file transfers. Hope this helps ^-^

4 0
3 years ago
Other questions:
  • Which one of the following features can control left and right indents using markers?
    5·2 answers
  • 2. Write a program that askes the user to enter a positive number not greater than 10.the program then must display the triangle
    12·1 answer
  • Should software companies be able to send automatic updates to your computer withoput your knowledge
    14·1 answer
  • “You have been blocked”
    5·2 answers
  • Which of the following is a device that plugs in a usb port on the computer or mobile device and contains multiple usb ports?
    9·1 answer
  • Which retouching action is unethical?
    8·1 answer
  • What is the definition of trouble shooting.
    12·1 answer
  • What is required when opening a checking account?
    10·2 answers
  • Which of the following is not a use of a hash function
    7·1 answer
  • Legends are titles given to three-axis X, Y, and Z-axis. True or false?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!