Question
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:
3. Which of the following contains global data?
4. Which of the following process state will be switched from running state when an interrupt occurs?
5. Which of the following system calls is used to let the parent process create a child process?
6. Which of the following memory space dynamically grows from high memory to low memory?
7. Which of the following cases could force a process removed from the CPU? Question 7 options:
8. Which of the following process state will be switched from ready state?
9. Which of the following contains dynamically allocated data during program run time?
|
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started