Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

other Pro cees. (15) deadlock Thss is a stuationsher acquir ths resour ce of t6e II1. For each statement below, decide whether it is true

image text in transcribed
other Pro cees. (15) deadlock Thss is a stuationsher acquir ths resour ce of t6e II1. For each statement below, decide whether it is true or false (I point each) (1) A thread may share data and code space with its parent. e (2) A thread may share a program counter with its parent. (3) While DMA (Direct Memory Access) is taking place, processor is free to do other th ings Trus The processor is only involved at the beginning and end of the DMA transfer. 9) A forked process shares its parent's data space at all times. Falsan (5) Context switch means a process switching from a "blocked state" to "ready state". sa (6) Ifa procss uses up its allocated time slot, a timer interrupt occurs and the process is placed in a BLOCKED Queue. T (7) In Producer/Consumer problem access to shared buffer must be done in a critical section, but access to "empty" and "full" variables doesn't need to be done inside a critical section. r (8) If mutual exclusion is not enforced in accessing a critical section, a deadlock will occur. tal (9) An acceptable way for implementing mutual exclusion is to let users disable interrupts before entering a critical section and enable them after leaving the critical section. (10) If there is no mutual exclusion condition for any resource in the system, then there is no possibility for deadlock. True V. Multiple choice questions. (2 points each) Which UNIX system call creates a new process: fork exec creat system

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

Formal SQL Tuning For Oracle Databases Practical Efficiency Efficient Practice

Authors: Leonid Nossov ,Hanno Ernst ,Victor Chupis

1st Edition

3662570564, 978-3662570562

More Books

Students also viewed these Databases questions