MockQuestions

Computer Science Mock Interview

Question 2 of 25 for our Computer Science Mock Interview

Computer Science was updated by on October 29th, 2020. Learn more here.

Question 2 of 25

What is a process and a thread, and how are they used in your profession?

"A process and a thread are very similar in concept. In the execution of a program, both define the sequences and code a program executes. The difference between a process and a thread is that a thread is a segment of a process. Processes can have several different threads which define how the program executes. Another difference is that processes will take longer to terminate than individual threads. Finally, threads can share memory while processes can't."

Next Question

How to Answer: What is a process and a thread, and how are they used in your profession?

Advice and answer examples written specifically for a Computer Science job interview.

  • 2. What is a process and a thread, and how are they used in your profession?

      How to Answer

      This technical question asks you to define and compare two very similar terms. Knowing the answer to questions like this will demonstrate your qualifications as a computer scientist. It is highly recommended that you review the terms, technologies, concepts, and processes used in your job before attending an interview. Interviewers are likely to ask about all of these.

      Written by William Swansen on October 29th, 2020

      Answer Example

      "A process and a thread are very similar in concept. In the execution of a program, both define the sequences and code a program executes. The difference between a process and a thread is that a thread is a segment of a process. Processes can have several different threads which define how the program executes. Another difference is that processes will take longer to terminate than individual threads. Finally, threads can share memory while processes can't."

      Written by William Swansen on October 29th, 2020

      Anonymous Interview Answers with Professional Feedback

      Anonymous Answer

      "A thread is one part of a process and a process is a whole sequence of threads. I can come up with at least some threads and put them all together in a process."

      Marcie's Feedback

      Nice! It sounds like you understand the concepts. To further strengthen your answer, can you provide an example of a time when you used processes and threads?