To see revisions of this document or browse other course outlines, please Log In

Principles of Computing for Science Fall 2022
CS 114

Published Sep 07, 2022

Class Schedule

Please log in to view this content.

Instructor & TA (Teaching Assistant) Information

Please log in to view this content.

Course Description

CS 114:

Introduction to basic imperative programming principles; programming concepts including functions, flow control, lists, arrays; numerical accuracy and efficiency; data analysis and general-purpose algorithms. Introduction to object-oriented programming concepts.

Prereq: Not open to Faculty of Math students. Antireq: CS 116, 135, 136, 137, 138, 145, 146, BME 121, CHE 120, CIVE 121, ECE 150, GENE 121/MTE 121, ME 101, MSCI 121, NE 111, PHYS 236, SYDE 121

Learning Outcomes

By the end of this course students should be able to:
Given a clear and concise statement of a problem or task, write a program from scratch of up to a hundred lines of properly-formatted, tested, and documented Python code to solve the problem or carry out the task.
Write useful Python programs working with scientific data stored in open file formats.
Write programs that create plots, using Matplotlib.
Use various forms of iteration (for, while) in programs.
Describe the basic memory model for mutation of basic types, lists, and objects in Python.
Distinguish between constant, linear, quadratic and exponential running times of algorithms.
Explain the relative advantages and disadvantages of lists and dictionaries.
Use NumPy to work with numerical data in arrays.
Identify situations where recursion is an appropriate tool, and use it.

Tentative Course Schedule

WeeksDatesContent
1-2Sep 7-16M1: Basics of Computation
3Sep 19-23M2: Making Decisions
4Sep 26-30M3: While loops
5Oct 3-7M4: Strings and Lists
6Oct 17-21M5: Other iterables
7Oct 24-28M6: Files
8Oct 31-Nov 4M7: Plotting
9-10Nov 7-Nov 15M8: Classes
10-11Nov 16-25M9: Recursion and Fractals
12Nov 28-Dec 6M10: Efficiency

 

Texts / Materials

Title / Name Notes / Comments Required
Learn CMS https://learn.uwaterloo.ca/ Yes
Online Interactive Textbook https://online.cs.uwaterloo.ca/ Yes

Student Assessment

Component Value
Assignments 45%
In-Class Participation 5%
Module Review Quizzes 5%
Midterm Exam 15%
Final Exam 30%

To pass the course, your weighted assignment average must be 50% or greater and your weighted average for the midterm and final must be 50% or greater.

 

Assignment Screening

Measure of Software Similarities (MOSS) is used in this course as a mean of comparing students' assignments in order to support academic integrity.

Administrative Policy

Assignments: Assignments will be submitted to MarkUs. Once you submit an assignment to MarkUs, you will receive an email consisting of basic tests that you passed or failed. Students should check their basic tests email to ensure that the code meets the specification exactly. We will not accept submissions that do not match our test output exactly. There will be no extensions on assignments. If ill, please complete a complete a Verification of Illness Form and contact the course coordinator to discuss alternate arrangements. Reweighting of assignments is not automatic even with a valid doctor's note and is up to the sole discretion of the instructor and coordinator to allow for reweighting. Remark requests for assignments can be made up to one week after the assignment has been returned by filling out the remark request form and submitting it to the appropriate drop box in our LEARN course shell.

University 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. [Check the Office of Academic Integrity for more information.]

Grievance: A student who believes that a decision affecting some aspect of their 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.

Discipline: A student is expected to know what constitutes academic integrity to avoid committing an academic offence, and to take responsibility for their actions. [Check the Office of Academic Integrity for more information.] 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.

Appeals: 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 they have a ground for an appeal should refer to Policy 72, Student Appeals.

Note for students with disabilities: AccessAbility Services, located in Needles Hall, Room 1401, 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 AccessAbility Services at the beginning of each academic term.

Turnitin.com: Text matching software (Turnitin®) may be used to screen assignments in this course. Turnitin® is used to verify that all materials and sources in assignments are documented. Students' submissions are stored on a U.S. server, therefore students must be given an alternative (e.g., scaffolded assignment or annotated bibliography), if they are concerned about their privacy and/or security. Students will be given due notice, in the first week of the term and/or at the time assignment details are provided, about arrangements and alternatives for the use of Turnitin in this course.

It is the responsibility of the student to notify the instructor if they, in the first week of term or at the time assignment details are provided, wish to submit alternate assignment.