6.5 Thinking Concurrently

Cards (18)

  • What is the difference between concurrent computing and parallel computing?
    Concurrent computing runs tasks on one processor
  • How does concurrent computing manage multiple processes on a single processor?
    By allocating time slices to each process
  • What is parallel computing?
    Running multiple processes on multiple cores
  • What happens in a world without concurrent processing?
    Each process finishes before another starts
  • How does concurrent processing appear to users despite being sequential?
    It allocates microseconds to each task
  • What types of modern programs utilize parallel computing?
    Photo and video editing software
  • What must developers consider to determine parts of a problem that can be tackled concurrently?
    Dependencies between tasks
  • How can batch programs be run efficiently?
    By running unrelated data sets in parallel
  • What is the benefit of running batch programs on multiple cores?
    Increases time efficiency and resource usage
  • What is concurrent processing in the context of multiple batch programs?
    Interchanging and pipelining programs on one processor
  • What is the main advantage of concurrent processing?
    Increased program throughput
  • What is a disadvantage of concurrent processing?
    Processes take longer with high computation
  • How does concurrent processing minimize waiting time?
    By swapping to another task during waits
  • What is a benefit of parallel processing for repetitive calculations?
    Speeds up performance by splitting processes
  • What is a drawback of using multiple processors for tasks?
    Communication overhead can cause delays
  • What can graphical processing units do quickly?
    Render 3D objects by splitting computations
  • When might a task run faster on a single processor?
    When it is optimized for single processing
  • Why is concurrent processing necessary in a flight simulator?
    To allow multiple events to occur simultaneously