CPSC 626: Parallel Algorithm Design and Analysis
Homework Assignment #1
Fall 2008

Due: Thursday Sept 4, 2008 at the beginning of class.


General Guidelines for Homework


  1. Computing the OR of n bits on a CRCW PRAM.
    (a) Describe the best algorithm you can, in terms of both time and work, for computing the OR of n bits on a CRCW PRAM.
    (b) Analyze your algorithm, showing its time, work and processor bounds.
    (c) Discuss the optimality of your algorithm.
  2. Computing the Minimum of n integers on a CREW PRAM.
    (a) Describe the best algorithm you can, in terms of both time and work, for computing the Minimum of n integers on a CREW PRAM.
    (b) Analyze your algorithm, showing its time, work and processor bounds.
    (c) Discuss the optimality of your algorithm.

  3. Computing the Minimum of n integers on a CRCW PRAM.
    Repeat problem 2, but this time for a CRCW PRAM.