Parallel Software Concepts Quiz
10 Questions
2 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of dividing work among processes/threads in parallel programs?

  • To minimize synchronization between processes/threads
  • So each process/thread gets roughly the same amount of work (correct)
  • To maximize communication between processes/threads
  • To allocate work based on the speed of each process/thread
  • What does SPMD stand for?

  • Single Program Multiple Data (correct)
  • Sequential Program Multiple Devices
  • Synchronized Parallel Memory Distribution
  • Shared Process Memory Distribution
  • What is the key aspect of writing parallel programs to minimize communication?

  • Using multiple processes for shared memory programs
  • Dividing the work so each process/thread gets roughly the same amount (correct)
  • Minimizing the number of conditional branches
  • Increasing synchronization between processes/threads
  • In shared memory programs, how are tasks carried out?

    <p>Start a single process and fork threads</p> Signup and view all the answers

    How does a SPMD program behave as if it were multiple different programs?

    <p>Through the use of conditional branches</p> Signup and view all the answers

    What is the first step in Foster’s methodology for parallel program design?

    <p>Partitioning</p> Signup and view all the answers

    What is the main focus when identifying tasks in the partitioning step of Foster’s methodology?

    <p>Identifying tasks that can be executed in parallel</p> Signup and view all the answers

    In Foster’s methodology, what is the purpose of agglomeration or aggregation?

    <p>Combine tasks and communications into larger tasks</p> Signup and view all the answers

    What is the purpose of the communication step in Foster’s methodology?

    <p>Determine communication needs among identified tasks</p> Signup and view all the answers

    What is the final step in Foster’s methodology for parallel program design?

    <p>Mapping</p> Signup and view all the answers

    More Like This

    Use Quizgecko on...
    Browser
    Browser