m sry i dint read the question properly page no = vitual page % 3 ie 0 % 3 = 3 thrfre 3*1024 is starting addr of physical page but the byte address will be 3*1024 + 512 = 3584
On Sun, Sep 25, 2011 at 10:12 AM, Vishnu Ganth <crazyvishnu...@gmail.com>wrote: > 3584 > > > On Sun, Sep 25, 2011 at 9:53 AM, sivaviknesh s <sivavikne...@gmail.com>wrote: > >> >> >> >> Consider a virtual memory system in which the virtual page addresses are >> mapped onto physical page addresses as follow >> Virtual page address...................... Physical page address >> 0........................................................................3 >> 1........................................................................2 >> 2.......................................................................1 >> The address of any byte in this system is given by the ordered pair (v,d) >> where v = virtual page address d = byte offset in the page >> Assuming that the main memory is capable of holding 4 page frames, what is >> the physical address of a byte having the virtual address (0,512) given that >> the page size is 1024 bytes? >> a) 3584 >> b) 2560 >> c) 1536 >> d) 512 >> e) 1024 >> >> >> -- >> Regards, >> $iva >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to algogeeks@googlegroups.com. >> To unsubscribe from this group, send email to >> algogeeks+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > ~VISHNU~ > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.