- Consider a 32-bit microprocessor and a 16-bit microprocessor whose bus cycles are the same. A bus cycle is the number of clock cycles needed to make a data transfer. Assume that, on average, 20% of the memory accesses (data and instructions) are 32 bits, 40% are 16 bits, and 40% are only 8 bits.
- What is the speed of the 32-bit microprocessor in comparison to the 16-bit microprocessor?
- How much improvement (in a percentage) does the 16-bit microprocessor need to make to have the same performance as the 32-bit microprocessor?
- List three advantages of ULTs over KLTs. List two disadvantages of ULTs compared to KLTs.
- How does the hardware and software interface inside the computer?
- Consider the following snapshot of a system:
Process Allocation Max Available
A B C D A B C D A B C D
P0 1 2 0 1 1 6 6 2 0 2 2 0
P1 1 0 0 1 1 1 0 1
P2 0 4 4 0 1 4 4 2
P3 0 0 0 2 0 0 2 3
P4 1 0 0 1 3 7 4 4
- a) Is the system in a safe state (Use algorithm to show it)?
- b) Is a request from Process P4 arrives for (0, 1, 0, 0) can the request be granted immediately (Use the data to show it)?
- c) Is a request from Process P4 arrives for (0, 0, 1, 0) can the request be granted immediately (Use the data to show it)?