Question 23
Relocation is a base register which hold the smallest physical address
Here the value of relocation register for process P2 is 256000.
The value in the relocation register is added to every address generated by a user process at the time it is sent to memory.
The user program deals with logical addresses; it never sees the real physical addresses
Question 24
Here there is a cycle which indicates the presence of deadlock
23. What is the value of the Relocation Register for Process 2? operating system 256000 process...
Operating Systems Questions 1. What is the difference between a blocked state and a deadlock state? 2. How do you define the state of the operating system? 3. Differentiate between daemons and zombies. 4. What is the maximum number of process in a standard Linux installation? Why is the number of processes limited to this number? Can it be changed?
operating system 6) Banker's algorithm is used in deadlock avoidance, and the following table presents the current situation: hAvailable e Need Allocation 2 31vqas 5 2 3 1 10 PO 1 20 P1 2 0 1 4 20 P2 1 0 2 no0 1 1 to P3 43 1 3 3 2 P4 1 12 Questions: (1) is the current situation safe? (2) if PO requests (2, 2, 0), will the system allocate the resources? (3) if PO requests (2,...
Please give an explanation for the answers as well. 1. A system has three processes (P1, P2, and P3) and three resources (R1, R2, and R3). There is one instance of RI, two instances of R2, and three instances of R3. PI holds RI and one instance of R3 and is requesting one instance from R2. P2 holds one instance of R3 and is requesting RI and one instance from R2. P3 holds two instances of R2 and one instance...
Problem 4 (30 points) a) Consider the RISC-V code below. Indicate what is the value in register x20 after the code below is executed, and explain why; х18 х0 16 ori addi x20 х18 0 beg x20, х18, НERE x20 х20, х20 add HERE Problem 4 (30 points) a) Consider the RISC-V code below. Indicate what is the value in register x20 after the code below is executed, and explain why; х18 х0 16 ori addi x20 х18 0 beg...
a. A system has two processes and three identical resources. Each process needs a maximum of two resources. Is deadlock possible? Explain your answer. b. A system has 4 processes, P1 through P4, and 5 types of resources, R1 through R5. Existing resource vector E = (3, 2, 1, 2, 2) Current allocation matrix C = R1 R2 R3 R4 R5 P1 1 1 0 0 0 P2 0 0 1 0 0 P2 1 0 0 20 P4 0...
Question 19 For which value of x does the function shown in the graph below appear to be decreasing? All values of x No values of x Question 20 For what values of x does the function shown in the graph below appear to be negative? Question 21 Which graph represents the following table of values? x y 1 2 2 3 4 3.5 Question 22 Which rational expression has and as asymptotes on...
1. What is an operating system? 2. What are the two main functions of an operating system? 3. What is multiprogramming? 4.What is time sharing? 5. Computer system can be divided into four components. Which four? Please briefly explain. 6.When will an interrupt be generated? How to handle? 7. What is the difference between the non-volatile and volatile storage?
Q5 3 Points What is the maximum value of 22/(23 – 15) for |z< 2? O 2/15 0 1/4 04/7 O 47
Answer 23, 24, and 25. thanks 23. If the input to the above system is a)2cus(4), what would be the output y0)? Use the equation below for the following problem(s): (cos(,)-1) y(t) = What is the Fourier Transform of the signal given above? 24. Use the equation(s) below to solve the following problem(s): tn-nne [2.5] Q otherwise Qctherwise what is the result of the convolution of the two signals shown above, x(n-fn]? a. (000019.5/3 6.5/3 33/20 1 0 0 b....
1. The president of a national real estate company wanted to know why certain branches of the company outperformed others. He felt that the key factors in determining total annual sales ($ in millions) were the advertising budget (in $1000s) X1 and the number of sales agents X2. To analyze the situation, he took a sample of 25 offices and ran the following regression. The computer output is below. PREDICTOR COEF STDEV P-VALUE Constant -19.47 15.84 0.2422...