Lecture 1 - Announcements /
Notes
Announcements
- Grading: for Exercises and POTDs, we’ll aim for prompt turnaround in
the steady state.
- Please give the grader a bit of time to get their processes and
systems worked out.
- Aiming to post office hours by Monday.
- Lab 1 is next week!
- Program (POTD) 1 is due Monday!
Survey Statistics
Quarters at Western

Months of Programming
Experience

Planning to Major?

Neglected terms from last
class:
What is (see L00 slides “Let’s write some code already”):
- programming language
- Python
- Integrated Development Environment (IDE)
- Thonny
Discussion: Academic Honesty
(E00 #5)
According to the academic honesty policy, which of the following are
permitted?
- Talking about your approach to a problem with your classmates.
- Submitting someone else’s program as your own.
- Copying a few lines of someone else’s code into your solution, if
you understand those lines in detail.
- Asking ChatGPT for help interpreting an error message your code
produces.
- Looking at a classmate’s code, then immediately sitting down and
typing out a very similar program, but with different variable
names.
- Looking at a classmate’s code, then taking a half hour break before
sitting down to write your own.
- Using an IDE with code completion.

In Teams: E01
Agree on and submit answers to the Lecture 1 Exercises. As a
reminder, you can find the link to the submission form in the Quick
Links section.
I want to come talk to you during this time!
- If your team is unsure about something and I’m not talking with
another group, flag me down by raising your hand.
- The submission form also asks if there are any you want to discuss -
I’ll use this as an indicator of common points of confusion that are
worth discussing as a whole class.
Discussion: Pseudocode
- Write pseudocode for a program that repeatedly prompts a user for
non-negative integers; once the user inputs a negative number, the
program ends and outputs the sum of the input positive integers.
Pseudocode does not come naturally to many beginning students! Let’s
look at a few solutions and talk it over a little.
Programs of the Day -
Introduction / Demo
Demo: download the POTD skeleton and tests, and run the program and
the tests in Thonny.
See the POTD Guide, which also explains this
process.