Introduction to Computer Science I

  Homework 1

Due by 1:30m on Tuesday, January 11


Reading

Read chapters 1 and 2 of the textbook and the week 1 lecture notes.

Problems

You will need to install Python first. Go to

https://www.python.org/downloads/

and download and install Python on your computer.

You should do the following Chapter 2 exercises, in order, within an IDLE session. When done, save your session in a file. You can also copy and paste your session into a file which is what you will do if you do not complete the homework in one session. Name the file homework1.py and submit it using the homework submission tool on D2L.

2.12
2.14
2.15
2.16
2.17
2.18
2.19
2.20
2.22
2.24
2.28