OS Chapter 3 Quiz

0.0(0)
Studied by 2 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:11 PM on 9/9/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

20 Terms

1
New cards

A process is best defined as:

a program in execution

2
New cards

Which of the following is NOT part of a process in memory?

Printer device

3
New cards

The Process Control Block (PCB) does NOT typically contain:

Compiler code

4
New cards

A context switch occurs when:


The OS saves state of one process and restores state of another

5
New cards

Which is NOT a typical process state?

Deleted

6
New cards

The long-term scheduler’s main goal is to:

Control the degree of multiprogramming

7
New cards

Medium-term scheduling is often associated with:

Swapping processes in and out of memory

8
New cards

The short-term scheduler is responsible for:

Choosing which process from the ready queue runs next

9
New cards

Which of the following is NOT a typical IPC mechanism?

Stack pointer

10
New cards

In direct communication, processes:

Must explicitly name each other to communicate

11
New cards

A blocking send means:

The sender waits until the message is received

12
New cards

In non-blocking receive:

The receiver checks and continues if no message is available

13
New cards

A key disadvantage of message passing compared to shared memory is:

More overhead due to system calls and copying

14
New cards

Which is TRUE about threads compared to processes?

Threads within a process share code and data

15
New cards

Which system call in UNIX-like systems is used to create a new process?

fork()

16
New cards

Which signal is commonly used in UNIX to terminate a process?

SIGKILL

17
New cards

A zombie process refers to:

A process that has terminated but still has an entry in process table

18
New cards

An orphan process is:

A child whose parent has terminated before it

19
New cards

Processes that can affect or be affected by others are called:

Cooperating processes

20
New cards

Which is NOT a benefit of interprocess communication?

Elimination of system calls