1 of 14

Welcome!

Section 1

TA 1 & TA 2

1

CSE 160

2 of 14

Today’s Agenda

  • Quick introduction and administrivia (5 min)

General overview of section (5 min)

  • Icebreakers (10 min)

Lecture Review and Demo (remainder)

2

1

2

3

4

3 of 14

Intro Slide for TA’s

3

4 of 14

Administrativa

  • Check to make sure you’re in Gradescope
    • Most assignments will be here
    • Make a post on the Ed board if you’re not in the Gradescope and we’ll get things sorted out
  • Complete Section Assignment 1 on Gradescope by 4/3 at 11:59PM
  • Complete Programming Practice 1 on Gradescope by 4/7 at 11:59PM
  • Complete Practical on Gradescope by 4/10 at 11:59PM
    • More on Loops and Nested Loops during Friday’s and Monday’s lectures

4

5 of 14

Assignment Structure

  1. Section Assignments
    1. Open on Thursday morning and are due Friday at 11:59PM.
    2. There will be a secret word given in-person during your assigned section that will be worth 50% of the points for that check-in.
  2. Programming Practices
    • Open on Monday morning and are due the following Tuesday at 11:59PM.
  3. Homeworks
    • Open on Thursday morning and are due the following Friday at 11:59PM.
  4. Quests and Final Exam
    • 3 quests throughout the quarter in lecture
    • 1 final exam during the finals week time-slot (June 8th, 2:30-4:30PM)

5

6 of 14

What Will Section Be Like?

A bridge between homework and lecture

  • Review topics from lecture
  • Work on practice problems
  • A place to ask questions
  • Working on Section Assignments

6

7 of 14

Section Is Meant to Help You

  • It helps us so much if you participate
  • It’s ok to get stuff wrong
  • There’s no such thing as a stupid question
  • Group work is highly highly encouraged
    • Meet new people!
    • Stronger learning experience!

Let us know at any point whether what we’re doing is useful! There’s always a plan, but there’s always room to change the plan

7

8 of 14

Ice Breakers

Get to know the people around you! With 3-4 people next to you, share your:

  • Name and pronouns
  • Major and some interests
  • What made you want to take CSE 160

Then find two things in common (hopefully more in common than ‘we’re all taking 160 together!’)

8

9 of 14

If / Else Overview

10 of 14

If/ Else Structure

  • Checks that condition is True/False, and executing code based on that condition

is_raining = True

is_sprinkling = False

if is_raining:

print(“Bring an umbrella”)

elif is_sprinkling:

print(“Bring a raincoat”)

else:

print(“Bring sunglasses”)

11 of 14

If/ Else Structure

  • Checks that condition is True/False, and executing code based on that condition

is_raining = True

is_sprinkling = False

if is_raining:

print(“Bring an umbrella”)

elif is_sprinkling:

print(“Bring a raincoat”)

else:

print(“Bring sunglasses”)

Output:

Bring an umbrella

12 of 14

JupyterHub Demo

13 of 14

Extra Time - Get Started on Practical!

14 of 14

Section Code: