Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

NEED ASAP Which of the following is true? Question 1 options: An I/O-bound process is one that spends more of its time doing I/O than

NEED ASAP

Which of the following is true?

Question 1 options:

An I/O-bound process is one that spends more of its time doing I/O than it spends doing computations

An I/O-bound process is one that spends more of its time doing computations than it spends doing I/O

Both I and II

None of the above

2. The difference between a program and a process is that a program is an active entity while a process is a passive entity.

Question 2 options:

True
False

3. Which of the following contains global data?

heap section

stack section

code section

data section

4. Which of the following process state will be switched from running state when an interrupt occurs?

waiting

new

ready

terminated

5. Which of the following system calls is used to let the parent process create a child process?

exec()

fork()

wait()

abort()

6. Which of the following memory space dynamically grows from high memory to low memory?

data section

code section

heap section

stack section

7. Which of the following cases could force a process removed from the CPU?

Question 7 options:

I/O request

fork a child

interrupt or time slice expired

all of the above

8. Which of the following process state will be switched from ready state?

running

terminated

ready

waiting

9. Which of the following contains dynamically allocated data during program run time?

data section

stack section

heap section

text section

10. What is the degree of multiprogramming for a single-processor system?

1

0

2

3

11. Which of the following selects from among the processes that are in the ready queue to execute and allocate the CPU to one of them?

swapping

job scheduler

context switch

CPU scheduler

12. Which of the following contains memory allocated by malloc()?

stack section

data section

heap section

code section

13. The list of processes waiting to execute on a CPU is called a(n) ____.

ready queue

device queue

interrupt queue

standby queue

14. Which of the following process state will be switched from running state when an I/O event occurs?

ready

new

terminated

waiting

15. If process P0 is switched to process P1, state for P0 will be saved into ____, and state from ___ will be reloaded?

PCB0, PCB0

PCB0, PCB1

PCB1, PCB1

PCB1, PCB0

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

What is electronic data interchange? Why do companies use EDI?

Answered: 1 week ago

Question

5. Our efficiency focus eliminates free time for fresh thinking.

Answered: 1 week ago