Main uses of Virtual memory
Illustrate the main uses of Virtual memory?
Expert
a. When there is a requirement for the program to increase the memory size Virtual memory can be used.
b. The program looks this memory as a contiguous address but virtual memory is the part of the RAM itself and also helps in saving the inactive parts in the disk file.
c. Program uses its own memory space for its processing which consists of own virtual space and the resources.
d. Virtual memory can permits to generating a virtual environment where it displays something also it seems to kept something else, such as if the address looks 0x12345678, so it might look in physical memory at this address 0x65f7a678.
e. For dividing the memory, Virtual memory contains of pages also the pages that contains itself a set of attributes such as read/write etc.
Static method: The static method (also termed as a class method) is one with static reserved word in its header. The static methods vary from all other methods in that they are not related with any specific instance of the class to which they fit in.
Explain the applications of packing life cycle.
Inheritance: It is a feature of object-oriented programming languages in which a sub-type inherits methods and variables from its super-type. The Inheritance is most generally employed as a synonym for class inheritance {class!inheritance}, however in
Information hiding: The practice of making sure that only as much information is exposed regarding the implementation of a class as is strictly needed. Hiding needless knowledge of implementation makes it not as much of likely that other classes will
Explain the benefits of distributed systems.
Abstract method: This is a method with the abstract reserved word in its header. The abstract method has no method body. Methods stated in an interface are for all time abstract. The body of an abstract method should be stated in a su
1. Here is a short program. It prints out the value of a variable "x". Ernie and Bert disagree about what will be printed: Ernie says, the value gets changed in "changeX" so it will print "7", and Bert says, no, when the function exits the changes get reversed and the value goes back to "5". Expl
What is the main function of context switching?
Encapsulation: Safeguarding the state of objects by stating its attributes as private and channeling entrance to them via accessor and mutator techniques.
Static initializer: An initializer prefixed with ‘static’ reserved word. The static initializer is stated outside the methods of its enclosing class, and might access only the static fields and methods of its enclosing class.
18,76,764
1944282 Asked
3,689
Active Tutors
1448885
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!