CS6303 - CA - IQ - Nov - Dec 2017 PDF
CS6303 - CA - IQ - Nov - Dec 2017 PDF
CS6303 - CA - IQ - Nov - Dec 2017 PDF
19. What is virtual memory? Explain the steps involved in virtual memory address translation. And TLB with
necessary diagram.
20. Explain (a) Bus Arbitration techniques in DMA. (b) DMA controller (c) I/O processor.
21. Explain mapping functions in cache memory to determine how memory blocks are placed in cache
22. Elaborate on the various memory technologies and its relevance
Part C
1. Assume a two address format specified as source, destination. Examine the following sequence of
instructions and identify the addressing modes used and the operation done in every instruction.
1. Move (R5)+,R0
2. Add (R5)+,R0
3. Move R0,(R5)
4. Move 16(R5),R3
5. Add #40,R5
2. A Program runs in 10 seconds on computer A, which has a 2 GHz clock. We are trying to help a computer
designer to build a computer B, which will run this program in 6 seconds. The designer has determined that a
substantial increase in the clock rate is possible, but this increase will affect the rest of the CPU design,
causing computer B to require 1.2 times as many clock cycles as computer A for this program. What clock
rate should we tell the designer to target?
A B C
1 2 3
A B C
Compiler 1 2 1 2
Compiler 2 4 1 1
4. Assume a program requires the execution of 50 × 106 FP instructions,110 × 106 INT instructions, 80 ×
106 L/S instructions, and 16 × 106 branch instructions. The CPI for each type of instruction is 1, 1, 4,
and 2, respectively. Assume that the processor has a 2 GHz clock rate
a. By how much must we improve the CPI of FP instructions ifwe want the program to run two times faster?
b. By how much must we improve the CPI of L/S instructions if we want the program to run two times faster?
c. By how much is the execution time of the program improved if the CPI of INT and FP instructions is
reduced by 40% and the CPI of L/S and Branch is reduced by 30%?
5. Consider three different processors P1, P2, and P3 executing the same instruction set. P1 has a 3 GHz clock
rate and a CPI of 1.5. P2 has a 2.5 GHz clock rate and a CPI of 1.0. P3 has a 4.0 GHz clock rate and has a CPI of
2.2.
a. Which processor has the highest performance expressed in instructions per second?
b. If the processors each execute a program in 10 seconds, find the number of cycles and the number of
instructions.
c. We are trying to reduce the execution time by 30% but this leads to an increase of 20% in the CPI.
6. Add the numbers 0.510 and -0.437510using binary Floating point Addition algorithm
7. Multiply 1.10 10X 1010and 9.200X10-5 using binary Floating point multiplication
8. Show the IEEE 754 binary representation of the number -0.75 10in single and double precision
9. A byte addressable computer has a small data cache capable of holding eight 32-bit words. Each cache block
contains 132-bit word. When a given program is executed, the processor reads data from the following
sequence of hex addresses - 200, 204, 208, 20C, 2F4, 2F0, 200, 204,218, 21C, 24C, 2F4. The pattern is repeated
four times. Assuming that the cache is initially empty, show the contents of the cache at the end of each
pass, and compute the hit rate for a direct mapped cache
10. Registers R1 and R2 of a computer contains the decimal values 1200 and 2400 respectively. What is the
effective address of the memory operand in each of the following instructions?
i. Load 20(R1), R5
15. Multiply the following pair of signed 2’s complements numbers using bit-pair-recoding of the multipliers: A=
010111, B=101100.
16. Explain the function of a six segment pipelines and draw a space diagram for a six segment pipeline showing
the time it takes to process eight tasks.
17. Explain how data may be transferred from a hard disk to memory using DMA including arbitration for
the bus,. Assume a synchronous bus, and draw a timing diagram showing the data transfer.
18. Explain the use of vectored interrupts in processors. Why is priority handling desired in interrupt controllers?
How do the different priority schemes work?
19. Study problem on Page Replacement Algorithm
Questions Are Expected for University Exams This May or may Not Be Asked for Exams
Please do not Copy (or) Republish This Questions, Students if You Find the Same Questions in Other Sources, Kindly
report us to [email protected]