COSC 444 COMPLETE EXAM WITH
ANSWERS
Concurrent Program - CORRECT ANSWER-A program that
contains portions of code that can occur at the same time
Parallel Execution - CORRECT ANSWER-When concurrent
parts of a program are executed at the same time
Parallel vs Distributed Computing - CORRECT ...
Concurrent Program - CORRECT ANSWER-A program that
contains portions of code that can occur at the same time
Parallel Execution - CORRECT ANSWER-When concurrent
parts of a program are executed at the same time
Parallel vs Distributed Computing - CORRECT ANSWER-
Parallel: multiple cores, single machine
Distributed: Multiple cores, networked machines
Threads - CORRECT ANSWER-Exist within a process,
basically lightweight processes
Process - CORRECT ANSWER-Self-contained environment
with its own memory space
Embodies 2 characteristics: Resource ownership and
scheduling
Speedup - CORRECT ANSWER-The process for increasing
the performance between two systems/processes working on
the same problem
, Aims to lower latency
Latency - CORRECT ANSWER-A time interval between
stimulation and response
High latency = high delay
Amdahl's Law - CORRECT ANSWER-Theoretical speedup
latency of the execution of task at a fixed workload
f = fraction of the code that can run in parallel
N = number of processors
S = fraction of Serial code
= 1/((1-f)+(f/N)) OR 1/S
Gustafson's law - CORRECT ANSWER-Theoretical speed up
in latency of the execution of a task at a fixed time of execution
S = fraction of the code that is serial
N = number of processors
=N + (1-N)S
Coarse threading - CORRECT ANSWER-Using individual
modules assigned to a thread or processor
Fine Grained threading - CORRECT ANSWER-Similar tasks
spread over multiple processors
Multi programming - CORRECT ANSWER-Management of
multiple processes within a uni-processor system
Multiprocessing - CORRECT ANSWER-Management of
multiple processes within a multiprocessor system
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller supergrades1. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.99. You're not tied to anything after your purchase.