Question

In: Computer Science

1) A process control block determines which process is to be executed next is an example...

1)

A process control block

determines which process is to be executed next

is an example of a process queue.

Stores the address of the next instruction to be processed by a different process

Includes information on the process's state

2)

Consider a disk queue holding requests to the following cylinders in the list order: 98, 183, 57, 122, 200, 124, 65, 67. Using the SSTF scheduling algorithm, what is the order that the requests are serviced assuming the disk head is at cylinder 65?

65, 57, 98, 67, 122, 124, 183, 200

65, 67, 57, 98, 122, 124, 200, 183

65, 67, 57, 98,122, 124, 183, 200

65, 200, 183, 124, 122, 67, 98, 57

3)

Which of the following dynamic storage-allocation algorithm in use if selecting 50KB hole in meeting the sequence of 50KB, 100KB, 270KB, and 40KB for a 20KB process?

First fit

Best fit

Worst fit

None of the above

Solutions

Expert Solution

Hello,

I am happy to help with these question .

1) The process control block

Answer) includes information on the process's state .

This is because when context switching takes place in between the processes , each process has its own process control block and this is used to store the state of the process .

2) in this part we need to identify the SSTF  way to disk scheduling .

In SSTF (shortest seek time first) we give service on the basis of the shortest seek time .

In this question, the head is at 65 .

now next service will be to shortest seek time and that is to 67.

now it service will be given to 57.

now to 98.

So the answer will be:

Answer:65,67,57,98,122,124,183,200.

For an explanation i have attached an image .

3)Which of the following dynamic storage-allocation algorithm in use if selecting 50KB hole in meeting the sequence of 50KB, 100KB, 270KB, and 40KB for a 20KB process?

Answer : FIRST FIRST.

This is because we are allocating first hole available that can contain the process.

Thank you.

I hope i was able to help you with this question . If you any queries please be comfortable to ask in the comments i will be glad to help.

:).


Related Solutions

Of the following items, which are stored in the thread control block, which are stored in the process control block, and which in neither?
Of the following items, which are stored in the thread control block, which are stored in the process control block, and which in neither? a. Page table pointer b. Page table c. Stack pointer d. Segment table e. Ready list f CPU registers Program counter
What are the four strategies for process scheduling (that determines which process is next in line...
What are the four strategies for process scheduling (that determines which process is next in line for CPU resources)
Why software process is important in Software Organization? How it is executed often and directly determines...
Why software process is important in Software Organization? How it is executed often and directly determines our costs or customer satisfaction? Give best cases or good examples in real time perspective?
Give an example of a closed loop control system and draw its block diagram
Give an example of a closed loop control system and draw its block diagram
Please provide 1-2 example for each domain and then apply next tables's risk control or risk...
Please provide 1-2 example for each domain and then apply next tables's risk control or risk finance techiques to each example. Table - 1 Domain Description / Example Operational The business of healthcare is the delivery of care that is safe, timely, effective, efficient, and patientcentered within diverse populations. Operational risks relate to those risks resulting from inadequate or failed internal processes, people, or systems that affect business operations. Included are risks related to: adverse event management, credentialing and staffing,...
Assume there is a file which consists of 20 blocks. Consider that the file-control block is...
Assume there is a file which consists of 20 blocks. Consider that the file-control block is already stored in the memory. Calculate the number of disk I/O operations are required for contiguous and linked allocation strategies, if, for one block, the following conditions hold. Also assume that the block information to be added is stored in memory. a. The block is added at the beginning. b. The block is added in the middle. c. The block is added at the...
Using example of a Restaurant discuss the steps in a control process. (20 marks)
Using example of a Restaurant discuss the steps in a control process.
1. Give brief answers (a) Give an example of a process in which a system is...
1. Give brief answers (a) Give an example of a process in which a system is not heated, but its temperature increases. Explain this process on the basis of the 1st law of thermodynamics. (b) You brought a cup of hot coffee to a classroom. After a while, the coffee cooled down to room temperature. How did the entropy of the coffee change in this process? How did the entropy of the Universe vary in this process, where the Universe...
Which of the following is an example of an application control for the purchases and payments...
Which of the following is an example of an application control for the purchases and payments system? A. Management approval is required for large purchases. B. The purchase order number is automatically assigned. C. The employee who receives supplier goods must not be the same employee who ordered the goods. D. Defective items should be returned to suppliers promptly.
How should Quality Assurance and Quality Control be executed on a stadium construction project?
How should Quality Assurance and Quality Control be executed on a stadium construction project?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT