GATE 2009 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2009

66 questions

MCQ 661-mark 24 · 2-mark 42

Questions 21–25 of 66

Q21Memory Chip Design1 markMCQ−0.33 if wrong
How many 32K x 1 RAM chips are needed to provide a memory capacity of 256Kbytes?

Q22Cache Memory2 marksMCQ−0.67 if wrong
Consider a 4-way set associative cache (initially empty) with total 16 cache blocks. The main memory consists of 256 blocks and the request for memory blocks is in the following order:

0, 255, 1, 4, 3, 8, 133, 159, 216, 129, 63, 8, 48, 32, 73, 92, 155.

Which one of the following memory block will NOT be in cache if LRU replacement policy is used?

Q23Secondary Storage2 marksMCQ−0.67 if wrong
A hard disk has 63 sectors per track, 10 platters each with 2 recording surfaces and 1000 cylinders. The address of a sector is given as a triple (c,h,s), where c is the cylinder number, h is the surface number and s is the sector number. Thus, the 0th0^{th} sector is addressed as (0,0,0), the 1st1^{st} sector as (0,0,1), and so on

The address of the 1039th1039^{th} sector is

Q24Secondary Storage2 marksMCQ−0.67 if wrong
A hard disk has 63 sectors per track, 10 platters each with 2 recording surfaces and 1000 cylinders. The address of a sector is given as a triple (c,h,s), where c is the cylinder number, h is the surface number and s is the sector number. Thus, the 0th0^{th} sector is addressed as (0,0,0), the 1st1^{st} sector as (0,0,1), and so on

The address (400, 16, 29) corresponds to sector number:

Q25Interrupt1 markMCQ−0.33 if wrong
A CPU generally handles an interrupt by executing an interrupt service routine