Process Control Block : Process Control Block is a data structure that contains information about the process related to it.The process control block is also known as a task control block.
Structure of the process control block is
Process State
This specifies the process state i.e. new, ready, running, waiting or terminated.
Process Number
This shows the number of the particular process.
Program Counter
This contains the address of the next instruction that needs to be executed in the process.
Registers
This specifies the registers that are used by the process. They may include accumulators, index registers, stack pointers, general purpose registers etc.
List of Open Files
These are the different files that are associated with the process.
Blocking send : Sender blocked until message is received by receiver(by a mailbox),
Non-Blocking Send : The sending process sends a message and can continue other tasks immediately while the message passing mechanism delivers the message.
Race Condition : A race condition is an undesirable situation that occurs when a device or system attempts to perform two or more operations at the same time, but because of the nature of the device or system, the operations must be done in the proper sequence to be done correctly.
Another way to define Race condition
A race condition occurs when two or more threads can access shared data and they try to change it at the same time. Because the thread scheduling algorithm can swap between threads at any time, you don't know the order in which the threads will attempt to access the shared data.
Critical Section Problem :
Critical Section is the part of a program which tries to access shared resources. That resource may be any resource in a computer like a memory location, Data structure, CPU or any IO device.
The critical section cannot be executed by more than one process at the same time; operating system faces the difficulties in allowing and disallowing the processes from entering the critical section.
The critical section problem is used to design a set of protocols which can ensure that the Race condition among the process will never arise.
Deadlock : A deadlock happens in operating system when two or more processes need some resource to complete their execution that is held by the other process.
In the above diagram, the process 1 has resource 1 and needs to acquire resource 2. Similarly process 2 has resource 2 and needs to acquire resource 1. Process 1 and process 2 are in deadlock as each of them needs the other’s resource to complete their execution but neither of them is willing to relinquish their resources.
[15 points] Give careful definitions for each term (in the context of computer operating systems): Process...
Operating Systems Discuss real-life examples of deadlock, starvation, and race. Do not use computer science or computer system environment examples for this discussion forum. Also, do not use examples already stated in the book. Give at least ONE (1) example of each (that is, one example of deadlock, one starvation, and one race example). Be as specific as possible when explaining your answers.
Operating systems in C
17.) The kernel keeps a data structure for each process called the Process Control Block (PCB). When a process is not running, its PCB contains the information that is necessary to restart the process on a CPU. Give examples of information that the PCB must have.
Operating systems: please explain
1 (24) Multiple Choice(3 points for each): 1) In the interrupt systems. What processing need be done by hardware when an interrupt occurs? A. Save remainder of process state information B. Restore process state information c. pushes PSW and PC onto control stack D. Restore old PSW and PC E None of the above. 2) In the distributed system, which of the following statement is true? A All the processors in the system share the memory....
1. (15 points) Give the Michaelis-Menten equation and define each term in it (no need to derive the equation). Does this equation apply to all enzymes? If not, to which kind does it not apply?
Problem V - (15 points) Speedy Spuds is a fast-food restaurant offering all kinds of potatoes. The manager has a 30-second time limit for serving customers. Servers at the counter say they could achieve that limit if the form they must fill out and give to the kitchen were simplified. The information from the completed form is entered into the computer system at the end of the day, when the data entry person enters the kind of potato purchased, additional...
The discussion: 150 -200 words. Auditing We know that computer security audits are important in business. However, let’s think about the types of audits that need to be performed and the frequency of these audits. Create a timeline that occurs during the fiscal year of audits that should occur and “who” should conduct the audits? Are they internal individuals, system administrators, internal accountants, external accountants, or others? Let me start you: (my timeline is wrong but you should use some...
Explain what enterprise resource planning (ERP) systems. Outline several of their key characteristics. Describe in reasonable detail how a company leverages an ERP system and how its operations are improved after installing an ERP system like SAP. Explain how a supply chain management system helps an organization make its operations more efficient What is Upstream and Downstream management of the supply chain? Explain the concept of “Supply Network”, its benefits, and how technology made this concept available Explain the difference...
TRUE/FALSE QUESTIONS: Foundations of Information Security and Assurance 1. There is a problem anticipating and testing for all potential types of non-standard inputs that might be exploited by an attacker to subvert a program. 2. Without suitable synchronization of accesses it is possible that values may be corrupted, or changes lost, due to over-lapping access, use, and replacement of shared values. 3. The biggest change of the nature in Windows XP SP2 was to change all anonymous remote procedure call (RPC)...
Module 8: Journal Assignment-Explaining Memory to a Child (20 points possible) Chapter 8 in your textbook starts off with a section on conceptualizing memory. In my PowerPoint lecture notes that I've posted, you will see that I've annotated a figure called the "Atkinson-Shiffrin Memory Model" on Slide #3 from Chapter 8; however, you will not find this figure in your book (assuming you have the 8th edition or higher). In contrast, Figure 8.1 from your textbook (found on page 233...
Module 8: Journal Assignment-Explaining Memory to a Child (20 points possible) Chapter 8 in your textbook starts off with a section on conceptualizing memory. In my PowerPoint lecture notes that I've posted, you will see that I've annotated a figure called the "Atkinson-Shiffrin Memory Model" on Slide #3 from Chapter 8; however, you will not find this figure in your book (assuming you have the 8th edition or higher). In contrast, Figure 8.1 from your textbook (found on page 233...