Ebay Interview Question for Software Engineer / Developers


Country: United States
Interview Type: Phone Interview




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

A process provides the resources needed to execute a program. A process has a virtual address space, executable code, etc. Each process is started with a single thread, often called the primary thread, but can create additional threads from any of its threads.

A thread is an entity within a process. All threads of a process share the same virtual address space and system resources.

- HauntedGhost March 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

A process is an executable instance of a program while A thread is a subset of a process.

A process has its own virtual address space and doesnt not share its memory with other processes while a thread shares the same memory with other threads.

- MM March 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

In the address space of threads only registers and stack is private, code segment, data segment and heap are shared, but each process has its own address space, using processes the context switch would have more overhead while using threads the overhead of context switches would be eliminated.

- Demi March 29, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Threads actually execute the program and process just holds all the resources i.e. PCB process control block.

- Varad October 12, 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