COMPUTER ORGANIZATION & ARCHITECTURE
106401Module 4: Memory Organization
Q1(b). A direct mapped cache memory with n blocks is nothing but which of the following set associative cache memory originations (i) 0-way set associative (ii) 1-way set associative (iii) 2-way set associative (iv) n-way set associative20232m
Module 4: Memory Organization
View this question on its own page →A direct mapped cache memory with blocks is nothing but which of the following set
associative cache memory originations(i) 0-way set associative
(ii) 1-way set associative
(iii) 2-way set associative
(iv) n-way set associativeQ1(d). A computer with cache access time of 100\,ns, a main memory access time of 1000\,ns, and a hit ratio of 0.9 produces an average access time of (i) 250\,ns (ii) 200\,ns (iii) 190\,ns (iv) None of these20232m
Module 4: Memory Organization
View this question on its own page →A computer with cache access time of , a main memory access time of , and a hit ratio of produces an average access time of
(i)
(ii)
(iii)
(iv) None of theseQ1(e). (e) For converting a virtual address into the physical address, the programs are divided into (i) pages (ii) frames (iii) segments (iv) blocks20222m
Module 4: Memory Organization
View this question on its own page →(e) For converting a virtual address into the physical address, the programs are divided into
(i) pages
(ii) frames
(iii) segments
(iv) blocksQ1(g). Which cache replacement algorithm removes the least recently used block. (i) FIFO (ii) LRU (iii) Random Replacement20242m
Module 4: Memory Organization
View this question on its own page →Which cache replacement algorithm removes the least recently used block.
(i) FIFO
(ii) LRU
(iii) Random ReplacementQ1(h). How many 128x8 bit RAMs are required to design 32 kx 32 bit RAM? (i) 512 (ii) 128 (iii) 1024 (iv) 3220232m
Module 4: Memory Organization
View this question on its own page →How many 128x8 bit RAMs are required to design 32 kx 32 bit RAM?
(i) 512
(ii) 128
(iii) 1024
(iv) 32Q1(j). (j) The DMA controller has ____ registers. (i) 4 (ii) 2 (iii) 3 (iv) 120222m
Module 4: Memory Organization
View this question on its own page →(j) The DMA controller has ____ registers.
(i) 4
(ii) 2
(iii) 3
(iv) 1Q1(j). A computer with 32-bit wide data bus uses 1K, X, and 8 static RAM memory chips. What is the smallest memory that this computer has? a) 12K b) 10K c) 8K d) 16K e) 24K20242m
Module 4: Memory Organization
View this question on its own page →A computer with 32-bit wide data bus uses 1K, X, and 8 static RAM memory chips.
What is the smallest memory that this computer has?
a) 12K
b) 10K
c) 8K
d) 16K
e) 24KQ1b. (b) How is virtual memory managed using paging and TLB? Explain with suitable example.20197m
Module 4: Memory Organization
View this question on its own page →(b) How is virtual memory managed using paging and TLB? Explain with suitable example.
Q1d. What do you mean by locality of reference?20172m
Module 4: Memory Organization
View this question on its own page →What do you mean by locality of reference?
Q1d. What do you mean by cache coherence problem?20162m
Module 4: Memory Organization
View this question on its own page →What do you mean by cache coherence problem?
Q1e. The average memory access time for a machine with a cache hit rate of 90% where the cache access time is 10 ns and the memory access time is 100 ns is * (i) 55 ns * (ii) 45 ns * (iii) 90 ns * (iv) 19 ns20192m
Module 4: Memory Organization
View this question on its own page →The average memory access time for a machine with a cache hit rate of 90% where the cache access time is 10 ns and the memory access time is 100 ns is
- (i) 55 ns
- (ii) 45 ns
- (iii) 90 ns
- (iv) 19 ns
Q1e. How many 128 × 8 RAM chips are needed to provide a memory capacity of 2048 bytes?20162m
Module 4: Memory Organization
View this question on its own page →How many 128 × 8 RAM chips are needed to provide a memory capacity of 2048 bytes?
Q1e. Why is the wait-for-memory-function-completed step needed when reading from or writing to the main memory?20142m
Module 4: Memory Organization
View this question on its own page →Why is the wait-for-memory-function-completed step needed when reading from or writing to the main memory?
Q1f. The minimum time delay between the initiations of two independent memory operations is called * (i) access time * (ii) cycle time * (iii) transfer rate * (iv) latency time20192m
Module 4: Memory Organization
View this question on its own page →The minimum time delay between the initiations of two independent memory operations is called
- (i) access time
- (ii) cycle time
- (iii) transfer rate
- (iv) latency time
Q1g. What is the importance of cache memory in a computer?20152m
Module 4: Memory Organization
View this question on its own page →What is the importance of cache memory in a computer?
Q1g. Define locality of reference.20142m
Q1h. Give the features of a ROM cell.20142m
Q1i. Define hit ratio and explain its significance.20162m
Module 4: Memory Organization
View this question on its own page →Define hit ratio and explain its significance.
Q1j. In cache memory, FIFO and LRU are examples of: (i) Mapping techniques (ii) Addressing techniques (iii) Replacement algorithms (iv) Write policies20252m
Module 4: Memory Organization
View this question on its own page →In cache memory, FIFO and LRU are examples of:
(i) Mapping techniques
(ii) Addressing techniques
(iii) Replacement algorithms
(iv) Write policiesQ3. (3). Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two fields—the first byte contains the opcode and the remainder the immediate operand or an operand address. (a) What is the maximum directly addressable memory capacity (in bytes)? (b) Discuss the impact on the system speed if the microprocessor bus has— i) a 32-bit local address bus and a 16-bit local data bus, or ii) a 16-bit local address bus and a 16-bit local data bus. \(c\) How many bits are needed for the program counter and the instruction register?202214m
Module 4: Memory Organization
View this question on its own page →(3). Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two fields—the first byte contains the opcode and the remainder the immediate operand or an operand address.
(a) What is the maximum directly addressable memory capacity (in bytes)?
(b) Discuss the impact on the system speed if the microprocessor bus has—
i) a 32-bit local address bus and a 16-bit local data bus, or
ii) a 16-bit local address bus and a 16-bit local data bus.
(c) How many bits are needed for the program counter and the instruction register?Q3. Explain the concept of virtual memory with the help of a diagram. Explain how virtual address is mapped to actual physical address.201714m
Module 4: Memory Organization
View this question on its own page →Explain the concept of virtual memory with the help of a diagram. Explain how virtual address is mapped to actual physical address.
Q3. Explain in detail the hierarchical memory structure with a neat and labelled diagram.201514m
Module 4: Memory Organization
View this question on its own page →Explain in detail the hierarchical memory structure with a neat and labelled diagram.
Q3(a). 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. Find the number of bits for TAG, SET, and WORD fields in the address generated by CPU.20237m
Module 4: Memory Organization
View this question on its own page →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. Find the number of bits for TAG, SET, and WORD fields in the address generated by CPU.
Q3(b). How is the virtual address mapped into physical address? What are the different methods of writing into cache?202314m
Module 4: Memory Organization
View this question on its own page →How is the virtual address mapped into physical address? What are the different methods of writing into cache?
Q4. What is associative memory? Explain with the help of a block diagram. Also mention the situation in which associative memory can be effectively utilized.201614m
Module 4: Memory Organization
View this question on its own page →What is associative memory? Explain with the help of a block diagram. Also mention the situation in which associative memory can be effectively utilized.
Q4. What is swapping and how is it useful in memory management?201514m
Module 4: Memory Organization
View this question on its own page →What is swapping and how is it useful in memory management?
Q4(a). A set-associative cache has a block size of four 16-bit words and a set size of 2. The cache can accommodate a total of 4096 words. The main memory size that is cacheable is 64K 32 bits. Design the cache structure and show how the processor’s addresses are interpreted.20227m
Module 4: Memory Organization
View this question on its own page →A set-associative cache has a block size of four 16-bit words and a set size of 2. The cache can accommodate a total of 4096 words. The main memory size that is cacheable is 64K 32 bits. Design the cache structure and show how the processor’s addresses are interpreted.
Q4(a). Explain different cache replacement algorithms used in memory management.20247m
Module 4: Memory Organization
View this question on its own page →Explain different cache replacement algorithms used in memory management.
Q4(b). Discuss the different mapping techniques used in cache memories and their relative merits and demerits.20237m
Module 4: Memory Organization
View this question on its own page →Discuss the different mapping techniques used in cache memories and their relative merits and demerits.
Q4b. Give an integrated diagram showing the TLB and cache operations for a logical/virtual address generated by a processor.20197m
Module 4: Memory Organization
View this question on its own page →Give an integrated diagram showing the TLB and cache operations for a logical/virtual address generated by a processor.
Q4b. Differentiate between hardwired programmed control and microprogrammed control.20147m
Module 4: Memory Organization
View this question on its own page →Differentiate between hardwired programmed control and microprogrammed control.
Q5. Discuss the different ways in which ROM can be programmed.201614m
Module 4: Memory Organization
View this question on its own page →Discuss the different ways in which ROM can be programmed.
Q5(a). Illustrate what are the challenges associated with concurrent access to memory in parallel processing?20247m
Module 4: Memory Organization
View this question on its own page →Illustrate what are the challenges associated with concurrent access to memory in parallel processing?
Q5(b). Consider a direct mapped cache with 8 cache blocks (numbered 0-7). If the memory block requests are in the following order 3, 5, 2, 8, 0, 63, 9, 16, 20, 17, 25, 18, 30, 24, 2, 63, 5, 82, 17, 24. What would be the status of cache blocks (block numbers residing in cache) at the end of the sequence.20237m
Module 4: Memory Organization
View this question on its own page →Consider a direct mapped cache with 8 cache blocks (numbered 0-7). If the memory block requests are in the following order 3, 5, 2, 8, 0, 63, 9, 16, 20, 17, 25, 18, 30, 24, 2, 63, 5, 82, 17, 24. What would be the status of cache blocks (block numbers residing in cache) at the end of the sequence.
Q6. Define paging in memory management and write its advantages.201514m
Module 4: Memory Organization
View this question on its own page →Define paging in memory management and write its advantages.
Q6(a). Differentiate between expansion and extension of memory.20147m
Module 4: Memory Organization
View this question on its own page →Differentiate between expansion and extension of memory.
Q6b. Describe organization of a typical RAM chip. Differentiate between static RAM chip and dynamic RAM chip.20147m
Module 4: Memory Organization
View this question on its own page →Describe organization of a typical RAM chip. Differentiate between static RAM chip and dynamic RAM chip.
Q7. What is a page fault? What does a page fault signify? Explain the different page replacement algorithms which determine the page to be removed in case of full memory.201714m
Module 4: Memory Organization
View this question on its own page →What is a page fault? What does a page fault signify? Explain the different page replacement algorithms which determine the page to be removed in case of full memory.
Q7. A virtual memory system has an address space of 8k words, memory space of 4k words and page & block size of 1k words. The following page reference changes occur during a given time interval: 4, 2, 0, 1, 2, 6, 1, 4, 0, 1, 0, 2, 3, 5, 7 Determine the four pages that are resident in main memory after each page reference change if the replacement algorithm used is - (i) FIFO - (ii) LRU.201614m
Module 4: Memory Organization
View this question on its own page →A virtual memory system has an address space of 8k words, memory space of 4k words and page & block size of 1k words. The following page reference changes occur during a given time interval:
4, 2, 0, 1, 2, 6, 1, 4, 0, 1, 0, 2, 3, 5, 7
Determine the four pages that are resident in main memory after each page reference change if the replacement algorithm used is- (i) FIFO
- (ii) LRU.
Q7a. Explain swapping. Why is it used in memory management?20147m
Module 4: Memory Organization
View this question on its own page →Explain swapping. Why is it used in memory management?
Q7b. Explain virtual memory. Explain the role of logical as well as physical address.20147m
Module 4: Memory Organization
View this question on its own page →Explain virtual memory. Explain the role of logical as well as physical address.
Q8. Explain in detail the three mapping procedures related to cache memory.201514m
Module 4: Memory Organization
View this question on its own page →Explain in detail the three mapping procedures related to cache memory.
Q8a. Explain cache memory organization. Discuss mapping techniques (direct, associative, set-associative), replacement algorithms, and write policies.20257m
Module 4: Memory Organization
View this question on its own page →Explain cache memory organization. Discuss mapping techniques (direct, associative, set-associative), replacement algorithms, and write policies.
Q9. How many ROM chips are required to produce a memory capacity of 4096 bytes? How many address lines are required to access the 4096 bytes? How many of these addresses will be common to all these chips?201714m
Module 4: Memory Organization
View this question on its own page →How many ROM chips are required to produce a memory capacity of 4096 bytes? How many address lines are required to access the 4096 bytes? How many of these addresses will be common to all these chips?
Q9(a). Write short notes on: Paging20237m
Q9(b). Write short notes on: Memory interleaving20237m
Module 4: Memory Organization
View this question on its own page →Write short notes on: Memory interleaving
Q9(d). Write short notes on: Locality of reference20237m
Module 4: Memory Organization
View this question on its own page →Write short notes on: Locality of reference
Q9b. Discuss memory hierarchy design principles. Explain how access time, cost, and size influence memory organization.20257m
Module 4: Memory Organization
View this question on its own page →Discuss memory hierarchy design principles. Explain how access time, cost, and size influence memory organization.