Scanner object can be used to get inputs from keyboard in java. It is analogous to cin or scanf in C/C++. The Source code is given below. Here it will come out from the loop when you press 0. the code will wait in scanner.hasnext() function for an entry and "Enter" key.
Apr 30, 2011
Apr 10, 2011
Virtual memory and memory management unit
This post is incomplete. Would update later... ;)
Address space of a process can exceed physical memory using virtual memory.
I can use the addresses in the secondary memory for realisation of a memory space bigger than that is available in terms of SDRAM on the embedded system.
Multiple processes resides in main memory, each process with its own address space.
Only active code and data is actually in the memory
Another property provided through that of virtual memory is protection. One process should not interfere with another process. Because they operate in different address spaces. This we can make sure once we have implemented virtual memory. Because then we have a clear partitioning of address spaces of different processes.
Address space of a process can exceed physical memory using virtual memory.
I can use the addresses in the secondary memory for realisation of a memory space bigger than that is available in terms of SDRAM on the embedded system.
Multiple processes resides in main memory, each process with its own address space.
Only active code and data is actually in the memory
Another property provided through that of virtual memory is protection. One process should not interfere with another process. Because they operate in different address spaces. This we can make sure once we have implemented virtual memory. Because then we have a clear partitioning of address spaces of different processes.
Subscribe to:
Comments (Atom)
For Web Developer
open -a "Google Chrome" --args --disable-web-security
-
Square of 104 ( faster way.. ) Answer will have _ _ _ _ _ .That is five digits . add the 4 to the entire number that is 104+4 ...
-
I was thinking about designing a web application which can be used as a profile of us. A profile page which describe ourselves. What I had ...
-
The look and feel of the blogger template can be changed by editing the HTML and adding extra CSS into the blog template. In this blog I wi...