Morgan Stanley Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




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

Well obvious reason is less moving in/out processes from RAM to disk/disk to RAM since disk I/O is extremely slow comparing to CPU speed or even RAM speed. I don't know what other clarification you have got but I will assume single process takes at most 2GB and you are running multiple processes simultaneously.

- Alex L February 19, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

More memory is generally used for buffering data from HDD for much faster access. In case of multiple application seeking more memory more RAM is a plus point

- Amrit February 28, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

More memory means more processes can be be kept in the main memory.Hence faster processing.

- Anonymous February 19, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

simply speed of access of various memory devices are in the order
register > cache > RAM > hard-drive
Now, when you are running multiple processes on the system process switching keeps on happening.
When a new process is scheduled for execution and there is not enough memory in RAM to keep the previous one ,the process is swapped out to disk which is a slower memory than RAM.This swapping out is a wastage of time.
Later when the old process is rescheduled to execute, it again needs to be swapped in from the slower hard-drive. This is a wastage of time. While the process is being swapped in or out the processor remains idle. Hence, it is not desirable and we prefer to have larger RAM sizes to avoid keeping the processor idle.

- neerajlakhotia08 May 16, 2014 | 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