Exercises

You have a handful of exercises to complete over the course of the semester. These exercise cover both theory and practice of modern software engineering techniques. There are both written and programming components.

Exercise #   Topics Due Date TA
1 Design Fri May 23 @23:59 Pooja
2 Performance Tue Jun 3 @23:59 Sheng-Yang
3 Testing Fri Jun 13 @23:59 Sheng-Yang
4 Symbolic Execution Fri Jun 27 @23:59 Qimin
5 Dynamic Analysis Wed Jul 16 @23:59 Qimin
6 Static Analysis Thur Aug 7 @23:59 Pooja

Schedule

A rough schedule of planned exercises is below, subject to change.

Week Exercises
E1 E2 E3 E4 E5 E6
May 12
May 19
May 26
Jun 2
Jun 9
Jun 16
Jun 23
Jun 30
Jul 7
Jul 14
Jul 21
Jul 28
Aug 4

Working in CSIL

All exercises this semester can be completed in CSIL, but they use software that is not available by default. In order to make these available to you, a special Python virtual environment can be used to automatically enable and disable access to this software by default.

To start the virtual environment from within CSIL, run:

source  /usr/shared/CMPT/faculty/wsumner/base/env745/bin/activate

This activates the underlying virtual environment thats makes more recent software for the course available. You can exit the virtual environment by running:

deactivate

You can even add the source line to the end of your ~/.bashrc configuration file to enable the environment automatically when you log in (if you so choose).

Working within Docker

It is also possible to work within a docker container that provides the required versions of all software that we will use this semester. Note, no support for docker will be provided. If you choose to work this way, you are on your own.

To pull the latest version of the docker image for the class, you can use:

docker pull nsumner/cmpt745:summer2025

The image creates a default student user and works within their home directory. You can start a container that maps a path on your system into a path in the container using:

docker run -ti --name=cmpt745work --ulimit='stack=-1:-1' -v << path on your system >>:/home/student/work nsumner/cmpt745:summer2025

For instance, this maps the given << path on your system >> to the location /home/student/work in the container.

If you exit from the container, you can restart it again later with:

docker start -ai cmpt745work