VMWare Inc Interview Question for Quality Assurance Engineers


Team: QATeam
Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
7
of 7 vote

Paging: If a certain memory location is not present in RAM then a page fault takes place. This causes the page which contains this memory location to be brought into ram. (Sometimes prefetching can also bring pages into RAM). This way of dealing with memory in terms of pages is called paging.

Swapping: When the main memory is full and now if there is a page fault, then replacement will take place. The page to be evicted is placed in a backing store (usually dedicated memory on disk). This is swapping. If later this page is needed, it will be reloaded from backing store

- Kumar August 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Paging memory or space means the amount of space to be allocated on the HDD which is used to swap out from main memory. This is usually done to make better use/distribution of available limited main memory amongst multiple processes. So that every process which usually can address 2GB (32-bit) or if PAE then 3GB of user space virtually can access that space, though all of it if allcoated may not be present in main memory but partly in the persistent store i.e. HDD.

- tryingtosolvemystery August 06, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Paging - the access of physical memory via logical memory. This is done by mapping logical page number to a physical memory location. The physical memory can be volatile such as RAM or secondary memory like hard disk.

Swapping - the exchanging of data between hard disk and RAM.

- wee August 09, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Paging:
The memory requirements of the process is divided into units called pages. Only those pages are kept in the memory that are currently under execution and remaining can be on the secondary store. Also, paging is important in implementation of virtual memory where every process is given the perception that it has way larger memory for itself that that is actually present on the system.

Swapping:
In a multi-tasking environment, when the processor moves from one process to the next, it stores the current state of the current process to the secondary store and loads the state of the next process to be executed in the main memory. This is called swapping.

- Anonymous September 14, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Swaping and paging are both used to free some memory location in main memory.

Swaping: it mainly occurs when there is heavy demand on the system memory. It uses swap files, swap files work by swaping the entire process into the swap file.

Paging: in paging virtual memory is freed by moving the pages of a program into the paging file, Not all the pages of the program are moved out, only those which the operating system thinks are not being used frequently or are left idle are moved out. The memory used by the paged out portions is not immediately freed. It is kept on stand by in case the paged out portions are re-activated (which are still stored in system menory)they reclaim it. But if some other application requires that memory it is given up to them.

- Rishabh Pandita October 13, 2013 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More