Coa Assignment5
Coa Assignment5
5thAssignment
Faculty Name Nahid Malik
Semester: 3rd
Subject Name: COA (BCS 302)
Submitted Date: 9/02/2024
Ques1: Discuss the Memory Hierarchy in computer system with regard to Speed, Size and
Cost.
Ques2: Write a short notes on magnetic disk, magnetic tape and optical disk.
Ques3: Consider a cache consisting of 256 blocks of 16 words each for a total of 4096 words
and assume that the main memory is addressable by a 16 bits address and it consists of 4K
blocks. How many bits are there in each of TAG, SET, WORD field for 2-way set associative
technique?
Ques4: The logical address space in a computer system consists of 128 segments. Each segment
can have up to 32 pages of 4K words each. Physical memory consists of 4K blocks of 4K words
each. Formulate the logical and physical address formats.
Ques5: How is the Virtual address mapped into physical address? What are the different
methods of writing into cache?
Ques6: Calculate the page fault for a given string with the help of LRU & FIFO page
replacement algorithm, Size of frames = 4 and string 1 2 3 4 2 1 5 6 2 1 2 3 7 6 3 2 1 2 3 6
Ques7: A computer uses RAM chips of 1024*1 capacity. i) How many chips are needed &
how should their address lines be connected to provide a memory capacity of 1024*8? ii)
How many chips are needed to provide a memory capacity of 16 KB?
Ques8: Discuss 2 D RAM and 2.5D RAM with suitable diagram.