1 of 13

CSE 163

Section AX

Week 1!

2 of 13

Agenda

  1. Introduction
  2. Icebreaker
  3. Navigating CSE 163
  4. python-fundamentals.ipynb
  5. Reminders

2

3 of 13

Get to know your peers!

Get in groups of 3-4 and share:

  • Name
  • Year
  • Major
  • If you could instantly be an expert in something, what would it be?

3

4 of 13

The course website + quick links!

4

  • Canvas
  • OH schedule

5 of 13

Assignment Types and Schedule

Type

Location

Due Days

Section Check-in

Gradescope

Fridays

Lesson Reviews

Gradescope

Mon., Wed., Fri.

Homework

Gradescope

Friday

Programming Practice

Gradescope

Thursdays

6 of 13

6

Jupyter Notebooks

7 of 13

What are cells?

In Jupyter, you can run, edit, and insert individual code chunks separately through cells! The two types of cells we’ll use are:

Code cells:

  • Includes your Python code
  • Can be run to show output or test validation

Markdown cells:

  • Includes blocks of text
  • Can include formatting options (bolding, size)
  • Can be run to display written text seamlessly within the notebook

8 of 13

Scope of cells

Do variables carry over from one cell to another?

Yes! But only if the previous cell was run first, even out of order.

  • Running cell 1 before cell 2 results in an error because a does not yet exist!
  • Running cell 1 after cell 2 successfully prints 1, even though cell 2 exists after cell 1.

9 of 13

Notebook�Shortcuts

With cell selected:

  • a = add cell above
  • b = add cell below
  • dd (quickly) = delete cell
  • shift + enter = run cell 💫
  • z = undo delete cell
  • m = convert to markdown cell
  • y = convert to code cell

10 of 13

10

Practice Problems

11 of 13

Solutions!

12 of 13

Section Code!

Replace with code

13 of 13

Logistics & Reminders:

  • Section 1 Check-in on Gradescope due 11:59 PM tomorrow (6/26)
  • Programming Practice 1 due Thursday 7/2
  • Homework 1 (Processing) released tomorrow 6/26 and due Friday 7/3
  • Optional Lesson Reviews due 11:59 on the day of each lecture

Remember you can come into office hours or post on Ed if you have any questions. Good luck and thanks for coming to section :)