SIG Algorithm Challenge 3: Left 4 Thread

Ends midnight, 03/08

This week, we learned about parallel programming, concurrency, and threading as ways to improve the efficiency of your code. Your challenge, should you choose to accept it, is to take a deeper look at threading and implement a simple program to demonstrate threading in your favorite language.

The Requirements

  • Your program must create at least 2 threads
  • The threads must run concurrently in your code
  • The threads should each print out a single word repeatedly.
    • For example: Thread 1 prints “Chicken” 1000 times, while Thread 2 prints “Dinner” 1000 times


200 points for submitting a program which meets the requirements, and demonstrates successful threading by having the output of the two (or more threads) be intermixed.

500 points for using this concept to create a simple thread racing game. For this to work, you will need to make sure that the threads are running at the same exact moment; if one thread always wins, this will not be considered a success. Allow the user to place bets on which thread will complete writing output first, and keep track of the users score.

Send all solutions/questions/concerns to

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close