Assignment 1: Tutorial

Due by: Friday, September 1, 2023 at 11:59 p.m.

A lot of computer science requires reading tutorials and online reference material. This assignment is intended to be a gentle introduction to Python by requiring you to work through the beginning of the official Python tutorial.

Set Up

Launch the Python IDE called IDLE. You should be able to find it in the Start menu. If multiple versions of Python are installed, use the most recent one, which must be version 3.x rather than version 2.x.

If you are working on your own computer, you can download Python here.

Tutorial

First, read Chapter 1: Whetting Your Appetite followed by Chapter 2: Using the Python Interpreter.

Next, read Chapter 3: An Information Introduction to Python, and duplicate all the interactive code samples in IDLE.

Finally, save the IDLE session, containing all the code samples you did from Chapter 3, as a file called assignment1.py.

Turn In

Upload assignment1.py to Blackboard.

All work must be submitted before Friday, September 1, 2023 at 11:59 p.m. unless you are going to use a grace day.

All work must be done individually. You may discuss general concepts with your classmates, but it is never acceptable for you to look at someone else's code. Please refer to the course policies if you have any questions about academic integrity. If you have trouble with the assignment, I am always available for assistance.

Grading

Your grade will be determined by the following categories:

Category Weight
Completing 3.1.1 Numbers 25%
Completing 3.1.2 Text 25%
Completing 3.1.3 Lists 25%
Completing 3.2 First Steps Towards Programming 25%

Under no circumstances should any student look at the code written by another student. Tools will be used to detect code similarity automatically.