Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please urgent Consider the computer program shown in Figure 1. Normally, the instructions would be processed sequentially-first, A=1, then B=2, and so on. However, notice
please urgent
Consider the computer program shown in Figure 1. Normally, the instructions would be processed sequentially-first, A=1, then B=2, and so on. However, notice that there is no logical reason that prevents the first three instructions- A=1;B=2;C=3-from being processed in any order or concurrently. With the continuing decline of the cost of computer hardware, and processors in particular, there is increasing interest in concurrent processing to achieve greater speed and efficiency. The use of Petri nets, graph models of concurrent processing, is one method of modeling and studying concurrent processing. FIGURE 1: A COMPUTER PROGRAM In Figure 2, we have modelled the computer program of Figure 1. Here the events (transitions) are the instructions, and the places represent the conditions under which an instruction can be executed. 1. Write down the transitions(1x6) 2. Differentiate between tokens vs. places. What is the significance of tokens? (4 marks) FIGURE 2 PETRINETStep 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