CA Important Question Paper
CA Important Question Paper
a. 1-address c. 3-address
b. 2- address d. 0-address
41. Write a program to evaluate the arithmetic statement with zero, one, two and three
address instruction.
𝐴−𝐵+𝐶
𝑋=
𝐺+𝐻∗𝐾
42. RISC Vs CISC
43. Explain register transfer language with suitable example.
44. Differentiate between restoring and non-restoring division algorithm.
45. What do you mean by pipeline? Explain with space diagram for the six segment pipeline
showing the time it takes to process eight tasks.
46. Draw a space-time diagram for a six segment pipeline showing the time it takes to
process eight tasks. Also draw the pipe line structure.
47. In certain scientific computations it is necessary to perform the arithmetic operation
(Ai + Bi)(Ci + Di) with stream of numbers. Specify a pipeline configuration to carry out
this task. List the contents of all registers in the pipeline for i=1 to 6.
48. Determine the number of clock cycles that it takes to process 200 tasks in a six segment
pipeline.
49. A non-pipeline system takes 50 ns to process a task. The same task can be processed in a
six segment pipeline with a clock cycle of 10 ns. Determine the speedup ratio of the
pipeline for 100 tasks. What is the maximum speedup that can be achieved?
50. The time delay of the four segments in the pipeline are as follows;;
t1=50 ns, t2= 30 ns, t3= 95 ns and t4= 45 ns. The interface registers delay time tr= 5 ns.
a. How long would it take to add 100 pairs of numbers in the pipeline?
b. Determine the speedup factor for the system.
51. Define parallel processing. How parallel processing can be implemented?
52. Explain the speed up factor enhance processing speed and derive its expression.
53. Explain Booth multiplication algorithm with hardware implementation diagram. Multiply
(-4) x (-3) using Booth multiplication algorithm.
54. How performance of computer is increased using pipeline. Explain with practical
example.
55. Perform 10/3 using restoring and non-restoring algorithm division method.
MEMORY MANAGEMENT
56. Consider a direct mapped cache of size 16 KB with block size 256 bytes. The size of
main memory is 128 KB. Find-
a. Number of bits in tag
b. Tag directory size
57. Consider a direct mapped cache of size 512 KB with block size 1 KB. There are 7 bits in
the tag. Find-
a. Size of main memory
b. Tag directory size
58. Consider a direct mapped cache with block size 4 KB. The size of main memory is 16
GB and there are 10 bits in the tag. Find-
a. Size of cache memory
b. Tag directory size
59. Consider a direct mapped cache of size 32 KB with block size 32 bytes. The CPU
generates 32 bit addresses. Determine the number of bits needed for cache indexing and
the number of tag bits.
60. Consider a machine with a byte addressable main memory of 232 bytes divided into
blocks of size 32 bytes. Assume that a direct mapped cache having 512 cache lines is
used with this machine. The size of the tag field in bits is
61. A block-set associative cache memory consists of 128 blocks divided into four block sets.
The main memory consists of 16,384 blocks and each block contains 256 eight bit words.
a. How many bits are required for addressing the main memory?
b. How many bits are needed to represent the TAG, SET and WORD fields?
62. A 4-way set associative cache memory unit with a capacity of 16 KB is built using a
block size of 8 words. The word length is 32 bits. The size of the physical address space
is 4 GB. What is the number of bits for the TAG field?
63. What is the purpose of strobe pulse in asynchronous data transfer? Explain how
handshaking method resolve the problems in strobe control method.
64. Explain IOP. What is the advantages of DMA over other I/O transfer method? Explain
DMA transfer with diagram
Locality of reference :-
It refers to a phenomenon in which a computer program tends to access same set of memory
locations for a particular time period. In other words, Locality of Reference refers to the
tendency of the computer program to access instructions whose addresses are near one another.
Associative memory:-
Also called as content addressable memory (CAM), associative storage, or associative array.
Associative memory refers to a memory organization in which the memory is accessed by its
content.
It is a special type of computer used in certain very high speed searching application. Associative
memories are used in applications where the search time is very critical and short.
In CAM, the user supplies a data word and then CAM searches its entire memory to see if that
data word is stored anywhere in it. If the data is found, the CAM returns a list of one or more
storage addresses where the word was found
The addresses programmers use are called virtual addresses. A set of these virtual addresses is
called address space.
The place where the address was saved in the main memory is known as the location. A group of
locations is called memory space.