Write a java program that is passed


Assuming that a system has 32-bit virtual address, write a Java program that is passed:
1. The size of the page,
2. The virtual address.
Your program will report the page number and offset of the given virtual address with the specified
page size. Page sizes must be specified as a power of 2 within the range 1024-16384 (inclusive).
Assuming such a program is named Address, it would run as follows:
java Address 4096 19985
And the correct output would appear as:
The address 19986 contains:
Page number = 4
Offset = 3602 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a java program that is passed
Reference No:- TGS0145702

Expected delivery within 24 Hours