Qualcomm Interview Question for Software Engineer / Developers






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

Shared memory is without question the fastest IPC mechanism that Unix provides. By having processes map the same block of memory, information transfer is almost immediate

- ridercoder November 14, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

shared memory
Because we need not copy some data from one place to another.

- lyzoridc March 28, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

@lyzoridc: err..the interviewer actually meant which is the fastest IPC mechanism between Semaphores, Monitors, Message passing and Signals. He kinda gave a hint about pipes when i tried to answer the question. Shared memory is not an IPC mechanism.

- Bandicoot April 02, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

Actually, shared memory can be used for IPC since it is by definition in an address space accessible by all processes. If two processes agree on the use of the shared memory (e.g. a mailbox), then communication is 'fast'.

- fileperson April 03, 2010 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

@Bandicoot: Shared memory indeed is an IPC mechanism. Check out any website or book.

- anonymous July 22, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Shared memory part of the IPC story. You can protect a piece of shared memory using semaphores, mutexes, etc.

- Joe April 11, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

semaphores and mutex are synchronization mechanisms

- Anonymous October 30, 2010 | Flag


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