Microsoft Interview Question for Software Engineer / Developers


Country: India
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
2
of 6 vote

Total Virtual memory depends on the number of processes.

Older OS would alloy 3 times memory as Virtual available there is no restriction.

- Abhi January 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Well i acknowledge your answer ...almost same is the answer i gave in interview but its wrong!

- savi January 28, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

No issues. It is not the wrong answer the thing is on a modern 64 bit OS you can have more and more Virtual memory depending on the number of Processes and available HD.

- Abhi January 28, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

The maximum virtual memory that can be allocated depends on the address space that's available. Say you are running a 32 bit processor and have 2GB RAM, then the maximum you can allocate is 2GB.

- IntwPrep November 27, 2013 | Flag
Comment hidden because of low score. Click to expand.
1
of 3 vote

It depends upon process, If OS does not find enough space in internal memory then it use external memory for that process, or other process, to run that process. as all blocks are not needed at anytime, so OS uses lest required external memory to run that process. but there is no restriction on size. It depends upon OS performance, and and in some sense on processing speed..

- sonesh January 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

In Some OS the size of virtual memory allocated to all the processes cumulative is equal to the total physical memory and the swap space configured. (e.g. Solaris).
But in some OS according to the word size 32 bit or 64 bit address spaces are given to each and every process. When the process try to lock or map the virtual address to real or physical address, then if the mapping can be done, It is done otherwise a run time exception occurs.
This concept is called memory overcommit. So the total virtual address given to all the processes is all the address range either 32 bits or 64 bits accordingly. But some address range is reserved for either kernel space or treated as a hole.

- bansalnvn January 28, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

The maximum virtual memory that can be allocated depends on the address space that's available. Say you are running a 32 bit processor and have 2GB RAM, then the maximum you can allocate is 2GB.

- IntwPrep November 27, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

google
How OS determines size of virtual memory??

- Priyan October 10, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Well you can allocate virtual memory size be as large as your HD.

My Computer-> Properties -> Advanced System setting -> Advance -> Performance -> Virtual Memory

"Though it is recommended to allocate 3 x sizeof(RAM) "

- Akash November 22, 2015 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

max memory which can be avilable as virtual memory is 1.5*system memory

- abhidreams662 July 12, 2016 | 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