operating systems ch 5 & 6

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

what is critical section

a part of a program's code that accesses a shared resource (like a variable, data structure, file, or hardware device) that must not be accessed by more than one thread or process at the same time

2
New cards

what is the entry section of a code

The section of code implementing the request to go into critical section

3
New cards

what is the exit section of a code

where a process or thread signals that it is leaving and releases control, allowing other waiting processes to enter.

4
New cards

what is the remainder section of a code

the remaining code after the exit section

5
New cards

what is mutual exclusion

If process P is executing in its critical section,
then no other processes can be executing in their critical sections

6
New cards

what is progress

If no process is executing in its critical section and some
processes wish to enter their critical sections, then only those
processes that are not executing in their remainder section can
participate in the decision on which will enter its critical section next,

7
New cards

what is bounded waiting 

a bound, or limit, on the number of
times that other processes are allowed to enter their critical sections
after a process has made a request to enter its critical section and
before that request is granted

8
New cards

what is the critical section problem

is to design a protocol that the processes can use to
cooperate

9
New cards

what does the wait() method of Semaphore

the entry section operation for a semaphore. It attempts to acquire one unit of the resource.

10
New cards

what does S represent in semaphore

is an integer value that represents the number of available resources or permits.

11
New cards

what is a cooperating process 

is a process that can affect or be affected by other processes executing in the system

12
New cards

what is multielvel queue scheduling

13
New cards

the entire amount of time to execute a certain process 

turn around time

14
New cards

simplest scheduling algorithm that schedules according to arrival time of processes

First Come First Serve

15
New cards

when several processes access the same data concurrently and the outcome of the execution depends on the particular order in which the access takes place is called

race condition

16
New cards

what purpose does the variable ‘turn’ serve in Peterson’s Solution

it specifies which process can enter the critical section next

17
New cards

Sempahore is a/an ____ to solve the critical section problem

integer variable 

18
New cards

what aspect of Peterson’s Solution does the flag variable directly support

communication between process about their states

19
New cards

the selection process is carried out by the

CPU Scheduler 

20
New cards

module gives control of the CPU to the process chosen by the CPU Scheduler

Dispatcher

21
New cards

time which process completes its executions

completion time

22
New cards

time required by a process for CPU execution

burst time

23
New cards

time when a process arrives at the ready queue 

arrival time 

24
New cards

total amount of time a process has been waiting in the ready queue

waiting time

25
New cards

the scheduling in which a running process cannot be interrupted by any other processes

non preemptive scheduler

26
New cards

which algorithms are both preemptive and non-preemptive

SJF and Priority

27
New cards

which algorithms are just preemptive 

RR

28
New cards

which algorithms are just non-preemptive 

First Come First Serve(FCFS)

Explore top flashcards

Medical terma quiz 4
Updated 409d ago
flashcards Flashcards (44)
Skull
Updated 5h ago
flashcards Flashcards (47)
Integrals
Updated 665d ago
flashcards Flashcards (41)
Ch13-14 Civics
Updated 1034d ago
flashcards Flashcards (45)
List 35
Updated 1098d ago
flashcards Flashcards (35)
Medical terma quiz 4
Updated 409d ago
flashcards Flashcards (44)
Skull
Updated 5h ago
flashcards Flashcards (47)
Integrals
Updated 665d ago
flashcards Flashcards (41)
Ch13-14 Civics
Updated 1034d ago
flashcards Flashcards (45)
List 35
Updated 1098d ago
flashcards Flashcards (35)