Apple Interview Question for Software Engineer / Developers


Country: United States




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

Using thread support?

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

Thread support is not allow, I think this question is what it is about.
I think, designing a distribute system, does not required thread support, but you somehow are doing things async.

what do you guys think?

- .·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º> November 16, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

No threads, but a different CPU algother? LOL.

- Anonymous November 16, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

What do you suggest?

- .·´¯`·.´¯`·.¸¸.·´¯`·.¸><(((º> November 16, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Call the system call to spawn another task.

Or function like system( ) should be available in your programming language. We can use that to call another program from commandline.

- mindless monk November 16, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Asynchronous code is possible due to multiple threads of execution within a process. However, it can be effectively achieved by spawning multiple processes. Now it depends on whether operating system can support ipc comunication. Most of the operating systems does. We can use the simplest of the ipc communication like sockets. I think, non-blocking sockets are possible. I am still not sure, if this answers me completely.

- Messi November 17, 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