Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi teacher, can u help me answer all the question? If your answer is true I will upvote you. Q1 Which of the statement below

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

Hi teacher, can u help me answer all the question? If your answer is true I will upvote you. Q1 Which of the statement below is FALSE about RAID technology? Select one: O A RAID O provide only minimum redundancy to achieve speed O B. The purpose of RAID is mainly for redundancy. OC. RAID 1 involves mirroring which reduce space for data by half OD. RAID involves putting cheaper disks element together to achieve the performance of expensive disk element. | Q2 Let m[O]...m[4] be mutexes (binary semaphores) and P[O]...P[4] be processes. Suppose each process PLi) executes the following: wait(m[i]); wait(m[(i+1) mod 4]); release(m[i]); release(m[(i+1) mod 4); which of the following statement(s) are TRUE? The system can lead to starvation II. The can possibly cause deadlock to happen III. The system use binary semaphore technic IV. The release(m[) statements will never be executed Select one: O AI and III only OB. None are TRUE. OC I and IV only OD. II, III and IV only O E I and il only Q3 Let m[].m[4] be mutexes (binary semaphores) and P[O....P[4] be processes. Suppose each process P[i] executes the following: wait(m[i]); wait(m[(i+1) mod 4]); release(m[i]); release(m[(i+1) mod 4]); What is the effect of putting the mod 4 operation? Select one: O A. It will create the effect of a loop. O B. It will keep the value of the semaphore to be less or equal to 4 OC It ensured that only the 5 semaphores will be accessed. OD. It will increase the value of (i=i+1); Q4 What is the effect of the cobegin and coned statement in the following code? var a,b,c,d,e,f,g: semaphore ; begin cobegin begin si; V(a); V(b) end; begin P(a); 52; V(c); V(d) end; begin P(b); S3; V(e) end; begin P(c); P(E): S4 end; begin P(d); P(); P(g); 55 end begin S6; V(E); V(g) end; coend end; Select one: O A It allows for all concurrent execution of the statements S1, S2 and 53. OB. It ensures mutual exclusion is imposed. OC It ensures that the statements in between them is executed in order OD. It functions like a loop which executes statements 51.52 and 53 forever

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Databases In Action

Authors: Dave Bechberger, Josh Perryman

1st Edition

1617296376, 978-1617296376

More Books

Students also viewed these Databases questions