Python Swap

Assignment Information

Thank you for taking part in this assignment! We are researchers who are trying to improve the teaching and learning of programming.

This assignment has six parts. It will take approximately 30 minutes or less to complete the assignment. Please do the parts in order and answer questions to the best of your ability without any outside help. You can stop working on a problem after you worked on it for about five minutes without solving it.

If you have questions about this assignment please email Dr. Barbara Ericson at

The six parts are:

  • Pre Survey - Questions about your experience and confidence in computing

  • Introduction - Materials to get you familiar with the types of problems in this assignment

  • Prediction - Read code and predict what it will print

  • Check Your Prediction - Run code and explain why it prints what it does

  • Practice - Practice problems

  • Post Test - Post test problems

Click on the link at the end of each page to get to the next part.

What to do next

Click on the following link to take the pre survey : Pre Survey

You have attempted of activities on this page