Question

In: Computer Science

1) For a given CPU, the cycle latency for a set of operations are given as...

1) For a given CPU, the cycle latency for a set of operations are given as follows: ▪ Addition:​4 ▪ Subtraction:​8 ▪ Multiplication:​64 ▪ Division:​128 If the clock of this CPU runs at 4GHz, find the following a. How many operations of each of the list above can this CPU perform in 5 minutes? b. If we have a set of operations that contains 10^9 of each operation in the list in part 1, compute the required time in seconds to execute the set. 2) Given a computer system with a hypothetical CPU of 20 lines for address bus do the following a. Compute the maximum size of RAM for this system b. If RAM is required to be 4GB, compute the minimum size of the address bus for the system.

Solutions

Expert Solution


Related Solutions

For a given CPU, the cycle latency for a set of operations are given as follows:...
For a given CPU, the cycle latency for a set of operations are given as follows: Addition: 4 Subtraction: 8 Multiplication: 64 Division: 80 If the clock of this CPU runs at 3GHz, find the following How many operations of each of the list above can this CPU perform in 5 minutes? If we have a set of operations that contains 10^9 of each operation in the list in part 1, compute the required time in seconds to execute the...
Consider the following set of processes, with the length of the CPU burst given in milliseconds:...
Consider the following set of processes, with the length of the CPU burst given in milliseconds: Process Burst Time Priority P1 2 2 P2 1 1 P3 8 4 P4 4 2 P5 5 3 The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. Draw four Gantt charts that illustrate the execution of these processes using the following scheduling algorithms: FCFS, SJF, non preemptive priority (a smaller priority number implies...
Consider the following set of processes, with the length of the CPU burst given in milliseconds...
Consider the following set of processes, with the length of the CPU burst given in milliseconds       Process            Burst Time      Priority       P1                    2                      2       P2                    1                      1       P3                    8                      4       P4                    4                      2       P5                    5                      3 The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0, a. Draw four Gantt charts that illustrate the execution of these processes using the   following scheduling algorithms: FCFS, SJF, nonpreemptive...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process          Burst Time     P1                             5         P2                             3             P3                             1           P4                             7            P5                             4            The processes are assumed to have arrived in the order P1, P2, P3, P4, P5, all at time 0. If FCFS scheduling is used, what is the average turnaround time of these processes? Answer: Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process          Burst Time     P1                             5         P2                             3             P3                             1           P4                             7            P5                             4           ...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Arrival Time Burst Time P1 0 5 P2 2 3 P3 3 2 P4 4 4 P5 5 3 a. Draw Gantt charts illustrating the execution of these processes using SJF pre-emptive b. What is the turnaround time of each process for each of the scheduling algorithms c. What is the waiting time of each process for each of the scheduling algorithms  
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds:...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds: Process Burst Time Priority Arrival Time P1 10 3 0 P2 1 1 12 P3 2 4 0 P4 1 5 0 P5 5 2 0 In the above table, a smaller priority number implies a higher priority. Suppose that these processes are scheduled by the priority policy with preemption. Draw the Gantt chart (i.e., time chart) illustrating the execution of these processes. What...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds,...
Consider the following set of processes, with the length of the CPU-burst time given in milliseconds, and the priority given in integers (lower numbers represent higher priorities) :     Process Arrival Time Burst Time priority          P1                             0 17 2       P2 5 8 3       P3 7 11 1 a. Draw Gantt charts illustrating the execution of these processes using nonpreemptive priority and preemptive priority, and Round Robins scheduling (time quantum = 4 ms). b. What is the...
Explain if the set below is a vector space given standard operations. The set of all...
Explain if the set below is a vector space given standard operations. The set of all even functions defined on R with addition and scalar multiplication defined as follows: 1.) (f+g)(x) = f(x) + g(x) (addition) 2.) (cf)(x) = cf(x)
1. Consider the following set of processes, with the length of CPU burst and arrival time...
1. Consider the following set of processes, with the length of CPU burst and arrival time given in milliseconds.                                                              Process            Burst time       Priority            Arrival Time             P1                         10                    3                              0 P2                          1                     1                              2 P3                          2                     4                              4 P4                          5                     2                              8 a) Draw the Gantt chart that illustrates the execution of these processes using the preemptive priority scheduling algorithm (a smaller priority number implies a higher priority). b) What...
Question 1: Describe what is happening during the latency period of an HIV infection. Is latency...
Question 1: Describe what is happening during the latency period of an HIV infection. Is latency a misnomer? Question 2: How does a drop in the number of CD4+T cells result in immunodeficiency? What parts of the immune system are affected? Question 3: How does the immune system response create the severe symptoms of bacterial meningitis? What are some consequences?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT