3

.jpeg

School

Arizona State University *

*We aren’t endorsed by this school

Course

430

Subject

English

Date

Apr 3, 2024

Type

jpeg

Pages

1

Uploaded by CountThunder12385 on coursehero.com

Question 1 1/1pts Which of the following is not examples of race condition? Resd- Read Confic Question 2 1/1pts Which of the foll Atomicity Question 3 1/1pts Which one is “Disable allinterrupts before critical section and enable it again after critical section” Question 4 1/1pts What does atomic instruction mean? Couno o Question 5 1/1pts Considering the lgorithm, which of satisfied? Int thread_num = 1; thread1 | While (true) while(thread_num == 2); /* start of critical section * /* end of critical section */ thread_num ) ) thread2 ( While (true) { while(thread_num == 1); /* start of critical section /* end of critical section */ thread_num ) 1 ER Mutusl exclusion Question 6 1/1pts What s progress property? [ e J shoukd not block Question 7 1/1pts what a the circular wait? caes an exes resaurce chopsic) Question 8 1/1pts Whatis the CPU fairmess assumption? Intong tem, threads should reccive same mumberof CPU cyces Question 9 1/1pts y h kery al can not be used in practice? [NRCTRE— 1/1pts Question 10 Which of the following are conditions for Readers-Witers problem? Multiple readers can read at the same time Only one writer can write at 2 time f writer is writing. readers can not read 1] 1# readers arc reading. no writer can write
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help