CS In Parallel

Bring Parallel Thinking into CS1 & CS2

Dr. David Valentine

Computer Science Dept
Slippery Rock University
david.valentine@sru.edu

Description:

Our students will spend their entire career in a 'parallel world', so Parallel Thinking must be just a normal way they envision the problem solving enterprise of computer science. The sooner we can expose them to parallel programming, the better. We have had great success with just exposing students to parallelism at the introductory level. We give a cpu-bound, embarrassingly parallel assignment that students solve in a conventional way. Then (after grading & returning the program) we revisit the assignment and just show them how to parallelize it using Intel's Parallel Studio & OpenMP. While you can demonstrate OpenMP without the Intel tool, we believe it is important to also show students some of the professional development tools they might use in the field.

Table of Contents

  1. Introduction & Setup: We describe our model and introduce Intel's Parallel Studio. A simple coin-flip program is used to show how to set up Visual Studio.NET to use Intel's powerful tool. (17:33)
  2. The Demonstation Projects. We start with standard (student-generated) solutions, and then add OpenMP parallelism.
  3. What next?: Three project ideas for you to solve on your own and/or adapt for your class. Enjoy! (5:21)

page last modified on