Unit 5: Memory Unit - Subjective Questions

CSE211 — Computer Organization And Design • Practice Questions with Detailed Answers

20 questions

1

Define memory hierarchy. Explain the different levels of memory hierarchy with a neat diagram and justify why such a hierarchical organization is used in computer systems.

2

What is cache memory? Explain the principle of locality of reference and how it makes cache memory effective.

3

Explain the three cache mapping techniques: Direct Mapping, Associative Mapping, and Set-Associative Mapping with suitable diagrams and address formats.

4

Describe the two main techniques of writing into cache: Write-Through and Write-Back. Compare them highlighting their advantages and disadvantages.

5

What is virtual memory? Explain how it works using paging, including the role of the page table and address translation.

6

Distinguish between main memory and auxiliary memory based on their characteristics, technology, and role in the memory hierarchy.

7

Explain the organization of main memory (RAM). Show how multiple memory chips are combined to build a larger memory using an example.

8

What is parallel processing? Explain Flynn's classification of computer architectures with examples.

9

Define pipelining. Explain the concept of an instruction pipeline with its stages and derive the speedup achieved by a pipeline.

10

Explain the different types of pipeline hazards and the techniques used to overcome them.

11

Discuss the characteristics of multiprocessors. Distinguish between tightly coupled and loosely coupled multiprocessor systems.

12

Explain the various interconnection structures used in multiprocessor systems.

13

A computer has a cache access time of 20 ns and main memory access time of 200 ns. If the hit ratio is 0.9, calculate the average memory access time. Also explain how increasing the hit ratio affects performance.

14

Explain the concept of cache coherence in multiprocessor systems. Why does it arise and what are the common solutions?

15

Describe the structure and working of a magnetic disk as an auxiliary memory device. Explain how its access time is calculated.

16

Compare SRAM and DRAM. Explain why SRAM is used for cache and DRAM for main memory.

17

Explain page replacement algorithms in virtual memory. Discuss FIFO, LRU, and Optimal algorithms with a brief comparison.

18

Explain the working of an arithmetic pipeline with the example of floating-point addition. List its segments.

19

Distinguish between cache memory and virtual memory. Explain how both use the concept of locality but serve different purposes.

20

A four-segment pipeline processes 100 tasks. Each segment takes 20 ns. Calculate the time to complete all tasks with and without pipelining, the speedup, and the efficiency of the pipeline.