

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
3.4 SYSTEM SOFTWARE. 3.4.2 VIRTUAL MACHINE. INTRODUCTION. A virtual machine is a software computer that, like a physical computer, runs an Operating System.
Typology: Slides
1 / 3
This page cannot be seen from the preview
Don't miss anything!


A virtual machine is a software computer that, like a physical computer, runs an Operating System and various applications.
Virtual machines allow you to run an operating system in a window on your desktop. A virtual machines could be used to run software made for other operating systems. For example, running a program built for Ubuntu on your Windows 8 computer. The virtual machine runs in a window on your main operating system.
A virtual machine program is a computer program that creates a virtual computer system, complete with virtual hardware devices. This virtual computer “machine” runs as a process in a window on your current operating system. You can boot an operating system installer disc inside the virtual machine, and the operating system will be “tricked” into thinking it’s running on a real computer allowing you to install different operating systems on your virtual machine.
Your virtual machine’s operating system is stored on a virtual hard drive – a big, multi-gigabyte file stored on your Hard Drive. The file is presented to the operating system as a real hard drive.
Virtual machines add some overhead, so they won’t be as fast as if you had installed the operating system on real hardware. Demanding games that require serious graphics and CPU power are one particular problem, so virtual machines aren’t the ideal way to Windows games on Linux or Mac OS X – not unless those games are much older or aren’t graphically demanding. Also, when multiple virtual machines are simultaneously running on a host computer, each virtual machine may hang; this also depends on the workload on the system by other running virtual machines.
Virtual machines allow you to experiment with another operating system without leaving your current OS. A virtual machine is also a great way to test out a new version of Windows. When the
latest version of Windows comes out, it will have some bugs present in it. Hence, you can avoid system instability by installing it on a virtual machine.
When you’re done with an OS, you can just delete the virtual machine.
Virtual machines are also “sandboxed” from the rest of your system, which means that software inside a virtual machine can’t escape the virtual machine and tamper with the rest of your system. A virtual machine can be a good place to test our programs you don’t trust and see what they do. For example, if you ever come across the ‘Hi, we’re from Windows” scam, you can run their software in a virtual machine to see what it actually does. The virtual machine prevents scammers from accessing your computer’s real operating system and files.
All in all, a virtual machine has its pros and cons and is mainly used by program developers.
One example is the “ Java Virtual Machine ”.
Java is a high-level language used to write computer programs. Other examples of high level languages are C, C++, Pearl, Visual Basic, and Pascal.
When you write a computer program in high level language, the microprocessor needs to convert your code into machine language in order for the program to run. This translation process is different for every microprocessor.
Around the world, people use many kinds of microprocessors and in turn many kinds of operating systems. This creates a major issue; all microprocessors have a different machine code (they have different instruction sets). This means that a program written on Intel microprocessor for example, will not run on an AMD microprocessor. A program should work on all type of computers.