Professional Documents
Culture Documents
midterm2023امتحان بنية
midterm2023امتحان بنية
midterm2023امتحان بنية
5- the interface that provides transfer of data directly to and from a memory is :
(A) DDA. (B) Serial interface. (C) BR. (D) DMA.
6- The average time required to reach a storage in memory and obtain its contents is called
(A) Latency time. (B) Access time. (C) Turnaround time. (D) Response time.
7- The cache memory of 1K words uses direct mapping with a block size of 4 words. How many
blocks can the cache accommodate.
(A) 256 words. (B) 512 words. (C) 1024 words. (D) 128 words
8- Why read and write control lines in a DMA controller are bidirectional?
A) To communicate with the CPU and I/O device.
B) The word count register specifies the number of words that must be transferred.
C) The registers in the DMA are selected by the CPU through the address bus by enabling inputs.
D) The CPU can communicate with the DMA registers through the data bus to (read from or write to the DMA
registers.
9-A Computer uses a memory unit with 256 K words. word size is 32 bits. An instruction is stored in one
word of memory. The instruction has four parts: an indirect bit, an operation code, a register code part
to specify one of 128 registers, and address part to memory. How many operations can be performed?
a- 7 b- 6 c=32 d- 128
17- a bus buffer with clock rate 100MHz , can handle data at rates:
a) 100Mb/s b) 100Mword /s c)0.1 nsec d) depending on number of buffer bits
30- accessibility is
a) 1- rate of fail to access b) 1- fail rate c) rate of updating system d) all previous
31- Scalability is
a) 1- rate of fail to access b) 1- fail rate c) rate of upgrading system d) all previous
35-During a write operation if the required block is not present in the cache then ______ occurs.
a) Write miss b) Write latency c) Write hit d) Write delay
42- n bits in operation code imply that there are ----- possible operations
a)2n b)2n c)n/2 d)n2
44- if memory access time=20ns, cache access time=10ns, main memory access time=110ns, then ,
the ratio of using cache is?
a)93% b)90% c)88% d)80%
45- processor executes set of jobs in 2.4sec, after adding floating point co-processor, it executes the
same set of jobs in 1,8 sec., using relation : , the speed up ratio is:
a)1.33 b)0.75 c)1.8 d) 2.4