zuai-logo
zuai-logo
  1. AP Computer Science Principles
FlashcardFlashcard
Study GuideStudy GuideQuestion BankQuestion BankGlossaryGlossary

A program has three tasks that take 20, 30, and 40 seconds, respectively. If these tasks are run in parallel using two processors, what is the minimum execution time?

50 seconds

Flip to see [answer/question]
Flip to see [answer/question]
Revise later
SpaceTo flip
If confident

All Flashcards

A program has three tasks that take 20, 30, and 40 seconds, respectively. If these tasks are run in parallel using two processors, what is the minimum execution time?

50 seconds

A task takes 100 seconds to complete sequentially. If the same task takes 25 seconds to complete in parallel, what is the speedup?

4

Give real-world examples of distributed computing.

Search engines, cloud storage (Gmail, Google Docs), and cryptocurrency mining.

Give a real-world example of parallel computing.

Most modern computers with multi-core processors.

What is the main difference between parallel and distributed computing?

Parallel computing uses multiple processors in one machine, while distributed computing uses multiple machines.