Introduction to Parallel Computing

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the main advantage of the Distributed Memory model over the Shared Memory model?

  • It is less expensive to design and produce distributed memory machines
  • Increasing the number of processors also increases the size of the memory proportionately (correct)
  • Processor communication is faster in the Distributed Memory model
  • Data races and deadlocks can be avoided during programming

Which of the following is a disadvantage of the Distributed Memory model?

  • Distributed memory machines are more complex and expensive to design and produce
  • Each processor can rapidly access its own memory without affecting the other processors' memory
  • Increasing the number of processors also increases the size of the memory proportionately
  • The programmer is responsible for establishing communication between processors (correct)

What is the main disadvantage of the Shared Memory model?

  • It is expensive to design and produce shared memory machines
  • Shared memory architectures are prone to data races and deadlocks
  • Adding more CPUs can increase traffic on the shared memory path
  • All of the above (correct)

In the Distributed Memory model, how do processors access remote data?

<p>Processors must communicate with remote processors to access remote data (A)</p> Signup and view all the answers

What is the purpose of the communication network in the Distributed Memory model?

<p>To enable communication between processors for accessing remote data (C)</p> Signup and view all the answers

Which of the following is a key advantage of the Shared Memory model over the Distributed Memory model?

<p>Shared memory avoids the need for programmer-managed communication (C)</p> Signup and view all the answers

What is the main advantage of using a message passing system over a shared memory system in parallel computing?

<p>It allows for more efficient communication between processors by only sending messages to the processors that need the information. (C)</p> Signup and view all the answers

What is the main challenge that arises as the number of processors in a parallel system increases?

<p>The overall performance benefit of adding more processors becomes too small to justify the additional expense. (B)</p> Signup and view all the answers

What is the purpose of the 'message passing system' described in the text?

<p>To allow processors to communicate by sending messages to each other instead of using shared memory. (D)</p> Signup and view all the answers

What is the benefit of using a 'message passing system' over a 'shared memory' approach in parallel computing?

<p>It allows for more efficient communication by only sending messages to the processors that need the information. (B)</p> Signup and view all the answers

What is the main reason that the performance benefit of adding more processors to a parallel system becomes too small to justify the additional expense?

<p>The communication time between processors increases. (A)</p> Signup and view all the answers

How does a 'message passing system' differ from a 'shared memory' approach in parallel computing?

<p>In a message passing system, processors send messages to each other, while in a shared memory system they access a common memory pool. (C)</p> Signup and view all the answers

What is the main goal of parallel computing?

<p>To use multiple processing elements simultaneously to solve a problem (C)</p> Signup and view all the answers

How does a serial computing system differ from a parallel computing system?

<p>Parallel systems have just one processor (D)</p> Signup and view all the answers

What is the advantage of parallel computing over serial computing systems?

<p>Parallel systems can have many processors working simultaneously (B)</p> Signup and view all the answers

How does the central processor in a parallel computing system assign work to different processors?

<p>By assigning each processor different parts of the problem (A)</p> Signup and view all the answers

What role does communication play in parallel computing?

<p>It allows processors to report results back to the central processor (C)</p> Signup and view all the answers

Why is parallel computing emerging as a prevalent computing paradigm?

<p>Because of the semiconductor industry's shift to multi-core processors (D)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Use Quizgecko on...
Browser
Browser