This course teaches the principles of constructing and implementing user interfaces. Some attention is paid to issues of design and usability, but CS 449 provides more complete treatment of these topics.


This course provides an introduction to contemporary user interfaces, including the basics of human-computer interaction, the user interface design/evaluation process, and the architectures within which user interfaces are developed. Students implement and evaluate portions of typical user interfaces in a series of programming assignments.

Recommended Text

Building Interactive Systems, 2010, by Dan R. Olsen Jr.

A copy is available on 3-hour loan at the DC library.


All announcements, questions, and answers are on Piazza.

We'll be using an online tool named Piazza for all announcements, as well as questions and answers about the course material and assignments. You should have received an invitation email (or will shortly); when you register, please use an identifier that clearly indicates who you are for the purposes of the course.


(all email addresses are


Mike Terry (mterry@)
Sections 01, 03
Office Hours in DC 2118: Wednesdays, 9:30 AM - 11:00 AM

Jeff Avery (j2avery@)
Section 02
Office Hours in DC 3318: Thursdays, 9:30 AM - 11:00 AM

Teaching Assistants

Adam Fourney (afourney@)
Office Hours DC 3318: Thurs 12:00 PM - 1:00 PM

John Harris (john.harris@)
Office Hours DC 3318: Mon 11:00 AM - 12:00 PM

Ankit Kamal (a6kamal@)
Office Hours DC 3318: Tues 1:00 PM - 2:00 PM

Mingyu Liu (m83liu@)
Office Hours DC 3318: Fri 10:00 AM - 11:00 AM

Yuexing (Corona) Luo (y57luo@)
Office Hours DC 3318: Fri 9:00 AM - 10:00 AM

Yi Ren (y45ren@)
Office Hours DC 3318: Wed 4:00 PM - 5:00 PM

Jack Thomas (j26thomas@)
Office Hours DC 3318: Thurs 11:00 AM - 12:00 PM

Diane Watson (diane.watson@)
Office Hours DC 3318: Mon 10:00 AM - 11:00 AM

Office Hours

Office hours are in the rooms listed below.

Mon10:00 - 11:00 AMDianeDC 3318
11:00 AM - 12:00 PMJohnDC 3318
Tues1:00 - 2:00 PMAnkitDC 3318
Wed9:30 - 11:00 AMMikeDC 2118
4:00 - 5:00 PMYiDC 3318
Thurs9:30 - 11:00 AMJeffDC 3318
11:00 AM - 12:00 PMJackDC 3318
12:00 PM - 1:00 PMAdamDC 3318
Fri9:00 - 10:00 AMCoronaDC 3318
10:00 - 11:00 AMMingDC 3318


There are four assignments, each worth 10%, a midterm worth 20% (see schedule for date and location), and a final exam worth 40%. Final course grades will be calculated as follows:

   assignments = .10*(A01 + A02 + A03 + A04)/.40
   exams = (.20*Midterm + .40*Final)/.60
   normal = .60 * exams + .40 * assignments
   if assignments < .50 or exams < .50
       grade = min(.47, exams, normal) * 100 
       grade = normal * 100 

Note: to pass the course you must pass the weighted average of the assignments and the weighted average of the exams.


Assignments are meant to provide meaningful, engaging experiences in constructing interfaces while giving you the opportunity to create applications you will want to share with others. There's lots of room for creativity in assignments and each will have a component for going above and beyond the basic assignment specification.

The assignments in this course require a significant amount of time. Do not underestimate the time it takes to code interactive applications.

Detailed assignment descriptions and due dates are posted in the course schedule when available.

There are four assignments:

Assignment Policies

  1. Assignments are in cross platform languages and development frameworks (X Windows, Java, Android) but they must compile and execute in the provided virtual machine .
  2. Due dates are Friday 5:00 PM. Assignments submitted after this deadline will not be accepted, and will receive a grade of zero.
  3. Submission must be via the Subversion course source code repository.
  4. Assignments are your individual work:
    • You can use code examples provided in class and on on the resources page.
    • You should NOT be doing general Internet searches for specific solutions.
    • If you're not sure, ask the instructor or TA.
  5. After assignments are graded, a detailed marks file will be checked into each students private repository containing the marks for that assignment.

SVN Setup

To work on your assignments, check out your subversion repository as follows (i.e. one line):

svn checkout --username userid svn:// .

Where "userid" is your WatIam userid, shortened to eight characters. Note that the '.' at the end of the command above means "current directory" and should not be omitted.

Important: If you are off campus, you will need to use a VPN client to be able to access the SVN server. The initial version of the VM did not include this client. See for information on installing and using the VPN. Once you have it installed and you have connected, the above command should work and connect to the SVN server.

You will be asked for a userid and password to proceed with checkout. Use the ones we sent you via email (if you added the course late, then you may need to email the instructor to get these). You can choose to store your userid/password locally where you are running your subversion client to save you from having to type it in the future. Your client should ask if you want to do this.

Once you have checked out a copy, you can add files and directories using the 'svn add' command, and then check-in changes using 'svn ci'. For help, type 'svn help command', where command is the command you'd like help on.

Also note that after you checkout your copy, you will not need to specify the host and port information during "svn add ..." or "svn ci ...", etc., that is stated above in the initial "svn checkout ..." command.

See the SVN Resources for more information.

Virtual Machine (VM) Setup

We have prepared a Linux VM for this course, and we recommend that you use it for all of your assignments (and the X Windows assignments in particular). TAs will mark your assignment and assess its behaviour based on how well it runs in the VM, and you will lose marks if it does not run well in that environment. For this reason, please test all assignments on the VM.


  1. Download the VirtualBox software for your computer and install it. You should use VirtualBox 4.3.6 for your platform (Windows, Mac).
  2. Download our CS349 VirtualBox VM (~2.46 GB). To verify that it downloaded correctly you can check the md5sum.
  3. Start VirtualBox.
  4. Select File→Import Appliance... and import the VM downloaded from step 2.
  5. Find "Lubuntu 13.10" in the list of virtual machines and power it up.
  6. Login as user cs349 with password cs349w14. Your VM will be on the network, so change the password right away ('passwd' from the shell)
  7. Check the your VM works by:
    • Open the terminal using the desktop icon
    • Test X Windows by running xeyes, xclock, xcalc, etc
  8. Create a share to a directory on your host operating system. This is much safer than saving all your code inside the VM. The steps are explained in the VirtualBox manual. (If you're using the supplied VM, Guest Addons are already installed). Configure shared folders by
    • Launching Virtualbox, and select your VM in the list
    • Click on Settings, Shared Folders
    • Browse to the folder that you want to share, and provide a name (your share folder will appear in Linux under /media/folder_name)


Academic Integrity

In order to maintain a culture of academic integrity, members of the University of Waterloo community are expected to promote honesty, trust, fairness, respect and responsibility. [Check for more information.]


A student who believes that a decision affecting some aspect of his/her university life has been unfair or unreasonable may have grounds for initiating a grievance. Read Policy 70, Student Petitions and Grievances, Section 4, When in doubt please be certain to contact the department's administrative assistant who will provide further assistance.


A student is expected to know what constitutes academic integrity [check] to avoid committing an academic offence, and to take responsibility for his/her actions. A student who is unsure whether an action constitutes an offence, or who needs help in learning how to avoid offences (e.g., plagiarism, cheating) or about 'rules' for group work/collaboration should seek guidance from the course instructor, academic advisor, or the undergraduate Associate Dean. For information on categories of offences and types of penalties, students should refer to Policy 71, Student Discipline, For typical penalties check Guidelines for the Assessment of Penalties,


A decision made or penalty imposed under Policy 70 (Student Petitions and Grievances) (other than a petition) or Policy 71 (Student Discipline) may be appealed if there is a ground. A student who believes he/she has a ground for an appeal should refer to Policy 72 (Student Appeals)

Students with Disabilities

The Office for persons with Disabilities (OPD), located in Needles Hall, Room 1132, collaborates with all academic departments to arrange appropriate accommodations for students with disabilities without compromising the academic integrity of the curriculum. If you require academic accommodations to lessen the impact of your disability, please register with the OPD at the beginning of each academic term.