Lecture 1 - Announcements / Notes

Announcements

Survey Statistics

Quarters at Western

Quarters at Western

Months of Programming Experience

Months Programming Experience

Planning to Major?

Neglected terms from last class:

What is (see L00 slides “Let’s write some code already”):

Discussion: Academic Honesty (E00 #5)

According to the academic honesty policy, which of the following are permitted?

  1. Talking about your approach to a problem with your classmates.
  2. Submitting someone else’s program as your own.
  3. Copying a few lines of someone else’s code into your solution, if you understand those lines in detail.
  4. Asking ChatGPT for help interpreting an error message your code produces.
  5. Looking at a classmate’s code, then immediately sitting down and typing out a very similar program, but with different variable names.
  6. Looking at a classmate’s code, then taking a half hour break before sitting down to write your own.
  7. 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!

Discussion: Pseudocode

  1. 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.