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 0 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 Select one: O All and III only O B. None are TRUE OC I and IV only O D. II, II and IV only OE. I and II only 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? I. 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[i]) statements will never be executed. Q3 Let m[O)...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); 53; V(e) end; begin P(c): P(): S4 end; begin P(d); P(o); P(g); $5 and begin 56; V(); V(g) end; coend ond; Select one: O A It allows for all concurrent execution of the statements 51, 52 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

Step: 3

blur-text-image

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Know how to use reservations systems to inventory demand.

Answered: 1 week ago