0% found this document useful (0 votes)
18 views

Computer Organization

Uploaded by

samir pramanik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Computer Organization

Uploaded by

samir pramanik
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Camellia Institute of Technology

Department: CSE
Year: 2nd, Semester: 3rd
Subject: Computer Organization (PCC-CS302)
Class Assignment

Group A
1. Which of the following is the fastest means of memory access for CPU?
a) Registers
b) Cache
c) Main memory
d) Virtual Memory
2. The memory implemented using the semiconductor chips is _________
a) Cache
b) Main
c) Secondary
d) Registers
3. If M denotes the number of memory locations and N denotes the word size, then
an expression that denotes the storage capacity is ______________
a) M*N
b) M+N
c) 2M+N
d) 2M-N
4. Size of the ________ memory mainly depends on the size of the address bus.
a) Main
b) Virtual
c) Secondary
d) Cache

5. What is the formula for Hit Ratio?


6. A. Hit/(Hit + Miss)
B. Miss/(Hit + Miss)
C. (Hit + Miss)/Miss
D. (Hit + Miss)/Hit
7. When power is switched off which memory loses its data?
8. A. Non-Volatile Memory
B. Volatile Memory
C. Both A and B
D. None of the above
9. In ____________ mapping, the data can be mapped anywhere in the Cache
Memory.
a) Associative
b) Direct
c) Set Associative
d) Indirect
10. Dirty bit is used to show
a. Page with corrupted data
b. Wrong page in memory
c. Page that is modified after being loaded in the cache memory
d. page that is less frequently accessed

Group B
1. Write the difference between SRAM and DRAM.
2. A cache has 64KB capacity. 128 Byte lines and is 4 way set associative.
The CPU generates 32 bits address for accessing data in the memory.
a. How many lines and sets does the cache have?
b. How many entries are required for cache?
c. How many bits are required for tag?
3. A hierarchical cache-main memory subsystem is given as follows:
a. Cache memory access time 80ns, hit ratio 0.9.
b. Main memory access time is 150 ns.
Calculate the overall access time.
4. Write the difference between associative and direct cache mapping.
5. Explain write through and write back policy.
6. Explain spatial locality of reference and temporal locality of reference.
7. What is virtual memory. Why it’s called virtual?

You might also like