ANSWER:
III. Consider a process that has been allocated 5 pages of memory: P1, P2, P3, P4, and P5. The process accesses these pages in the following order: P1 P2 P3 P4 P1 P2 P5 P1 P2 P3 P4 P5 (i) Illustrate Belady’s anomaly by precisely describing the execution of the FIFO page eviction algorithm in two cases: a) where the machine has 3 pages of physical memory, and b) where the machine has 4 pages of physical memory, and by...
You choose a random permutation (p1, p2, p3, p4, p5, p6, p7) of 1, 2, 3, 4, 5, 6, 7, with each of the 7! permutations equally likely. What is the probability that (1 + p1)(2 + p2)(3 + p3)(4 + p4)(5 + p5)(6 + p6)(7 + p7) is even? Give an exact answer as a simplified fraction and justify your answer.
Let P1 = number of Product 1 to be produced P2 = number of Product 2 to be produced P3 = number of Product 3 to be produced P4 = number of Product 4 to be produced Maximize 15P1 + 20P2 + 24P3 + 15P4 Total profit Subject to 8P1 + 12P2 + 10P3 + 8P4 ≤ 3000 Material requirement constraint 4P1 + 3P2 + 2P3 + 3P4 ≤ 1000 Labor hours constraint P2 > 120 Minimum quantity needed for...
Q.2] Answer the following questions Process Burst Time Priority P1 3 1 P2 8 3 P3 2 4 P4 4 5 P5 5 1 (21 points) Consider the set of processes shown in the table above, with the length of the CPU-burst time given in milliseconds. The processes are assumed to have arrived in the order P5, P4, P3, P2 , and P1, all approximately at time 0. Draw three Gantt charts illustrating the execution of these processes using SJF,...
Elina has to choose between two projects, P1 and P2. If Elina chooses P1 the game is over and the payoffs are 4 to Elina and 13 to Bonnie. If Elina choose P2, Bonnie observes Elina's choice and then gets to choose between projects P3 and P4. If Elina chooses P2 and Bonnie chooses P3 the payoffs are 2 to Elina and 8 to Bonnie. If Elina chooses P2 and Bonnie chooses P4 the payoffs are 5 and 10 to...
Questions in this part ask you to write SQL queriesthat would retrieve certain information from the tables. For each question, write the SQL query that would display the information asked by the question. Display information about parts that have their weights greater than the average weight of all parts. PNO PNAME P2 BOLT P3 SCREW Find supplier numbers who supply any screws (i.e., such that the part name is ‘screw’). The constraint is that you may not use any join or...
Consider the following set of processes (P1 arrived at t=0; burst time=10), (P2 arrived at t=2: burst time=8). (P3 arrived at t=3; burst time=3), (P4 arrived at t=10; burst time=4), (P5 arrived at t=12: burst time=1). (P6 arrived at t=15; burst time=4). At (t=20) using RR (Q=3), as process scheduling algorithm, process will be handled P1 Ο P20 P3 O P4 P5 a P6 о
Answer Question #12. Question #11 is only for reference 11. Let po, pi, and p2 be the orthogonal polynomials described in Example 5, where the inner product on P4 is given by evaluation at -2, -1, 0, 1, and 2. Find the orthogonal projection of tonto Span {po, pi, p2). 12. Find a polynomial p3 such that {po, p1, p2.p3} (see Exercise 11) is an orthogonal basis for the subspace P3 of P4. Scale the polynomial p3 so that its...
0 of 3 attempts made We are given the power received P1, P2, P3 and the voltage v1. Find the power received P4 4 2 A P. -3 V 7 ЗА P2 3 Given Variables: v1:2V P1:-1W P2:-3 W P3:24 W Determine the following P4 (W) Hint: Sum of power received is equal to sum of power supplied
15. (5 points) Enough of matrices, now let us consider the vector space P2. Let P1 = 2 – x2, P2 = 3x, and P3 = x2 + x – 2, determine whether the polynomials above are linearly independent or dependent in P2. Use just the definition, nothing fancy.