Qualcomm Interview Question


Country: India
Interview Type: In-Person




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

Use Remote Procedure Calls (RPC) to call functions in another process

- Amit November 30, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

shared memory

- tranquil November 25, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

wat do u exactly mean by two different user spaces?? Are they on different machines?? Or on single machine??

- hardikmadhu474 December 14, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

Convert the virtual address of func to physical address. Pass the physical address via IPC(shared memory) to other process. Convert back the physical address to 2nd process's virtual address space and access it

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

How to convert from virtual to physical?

- HappyMan April 09, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

not possible in linux becaused of private address space design. possible (and easy) in other OSs (like VxWorks) with little or no protection

- karthik.m.bharadwaj May 12, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

DLL( Dyanamic Link Library)

- spoorthy May 13, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

Direct sharing of function is not possible using function pointers for sure, because address space of P1 is different from P2, hence a pointer in P1 doesn't have a meaning in P2.
One way of doing it is, add the function to a library, and share the library between 2 processes. Or, just pass the numeric code that indicates the function to be called and dispatch the call with a lookup (if P2 is "calling" a function in P1)

- Sougata Chatterjee May 24, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Call execl will help us to call, other program from running program. Is that what the answer is ?
it will overlay on running address space.

- Ashutosh July 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

importing program 1 inside program 2 - in case of user space
export (function pointer)- in case of kernel space

- dianadijan October 28, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 3 vote

not possible

- Anonymous January 12, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

using IPC....like pipe, fifo, socket

- Anonymous January 18, 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