uWaterloo Logo

CS 241 — Foundations of Sequential Programs

Supported by the Instructional Support Group.

University of Waterloo : Faculty of Mathematics : School of Computer Science


General Information

Jump to: Piazza (Announcements) ⋅ MarmosetCurrent Term AssignmentsResourcesTutorialsAdditional Reference MaterialAcademic Integrity Policy

Current Term (Spring 2017)

Assignments

Assignments must be submitted using the Marmoset Submission and Testing Server.

Read the following rules on Marmoset usage and instructions to submit to Marmoset from the command line. (Marmoset status)

Assignments will be added throughout the term.

Resources

Dan's course notes can be found here (updated weekly, hopefully).

Tutorials

You may go to any section, regardless of whether you're enrolled in it or not.
All tutorials take place on Wednesday.

Tutorial Materials

Additional Reference Material

Useful Material for Assignment 1 (and beyond)

Material for Assignment 2 (and beyond)

Material for Assignment 3 and 4 (and beyond)

Material for Assignment 5 (and beyond)

Recommended Texts

  1. MIPS Assembly Language

    The first two and a half chapters of the CS251 textbook Computer Organization and Design by Patterson and Hennessy gives an introduction to processors, machine language and the MIPS architecture.
  2. Compiler Design

    Most books about compilers begin with materials about scanners and parsers, which we cover in the second half of the course. A textbook that is clear, concise, and available for free online is Basic of Compiler Design by Torben Mogensen.

Additional Reading

For more information about the MIPS instruction set in greater detail see MIPS RISC Architecture by Gerry Kane and Joe Heinrich.

For more information about compilers see Compilers: Principles, Techniques, and Tools, 2nd Edition by Alfred V. Aho and Monica S. Lam or Modern Compiler Implementation in Java, 2nd Edition by Andrew W. Appel and Jens Palsberg.

Language-Specific Resources

Racket

C++


Academic Integrity Policy

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. All members of the UW community are expected to hold to the highest standard of academic integrity in their studies, teaching, and research.

The Office of Academic Integrity's website contains detailed information on UW policy for students and faculty.

This site explains why academic integrity is important and how students can avoid academic misconduct. It also identifies resources available on campus for students and faculty to help achieve academic integrity in - and out - of the classroom.

Grievance

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.

Discipline

A student is expected to know what constitutes academic integrity, to avoid committing academic offenses, and to take responsibility for his/her actions. A student who is unsure whether an action constitutes an offense, or who needs help in learning how to avoid offenses (e.g., plagiarism, cheating) or about "rules" for group work/collaboration should seek guidance from the course professor, academic advisor, or the Undergraduate Associate Dean. When misconduct has been found to have occurred, disciplinary penalties will be imposed under Policy 71 - Student Discipline. For information on categories of offenses and types of penalties, students should refer to Policy 71 - Student Discipline.

Avoiding Academic Offenses

Most students are unaware of the line between acceptable and unacceptable academic behaviour, especially when discussing assignments with classmates and using the work of other students. For information on commonly misunderstood academic offenses and how to avoid them, students should refer to the Faculty of Mathematics Cheating and Student Academic Discipline Policy.

Appeals

A student may appeal the finding and/or penalty in a decision made under Policy 70 - Student Petitions and Grievances (other than regarding a petition) or Policy 71 - Student Discipline if a ground for an appeal can be established. Read Policy 72 - Student Appeals.

Valid HTML 4.01