110 Announcements Announcements - Houses How-to use Zoom for - - PowerPoint PPT Presentation

110
SMART_READER_LITE
LIVE PREVIEW

110 Announcements Announcements - Houses How-to use Zoom for - - PowerPoint PPT Presentation

110 Announcements Announcements - Houses How-to use Zoom for Office-hours Video Posted on Course Site We will be doing house zooms today! Join yours via Sakai > Postem Password: comp110! Additionally, houses have setup GroupMes


slide-1
SLIDE 1

110

Announcements

slide-2
SLIDE 2

Announcements - Houses

  • How-to use Zoom for Office-hours Video Posted on Course Site
  • We will be doing house zooms today! Join yours via Sakai > Postem
  • Password: comp110!
  • Additionally, houses have setup GroupMes you can find on Postem
  • Join for the lols, stay for the community.
  • GroupMe is for Community not Collaboration!
  • Good Vibes (TM) and non-COMP talk encouraged!
  • Organize a house board game night!
  • Bring your PMA not BDE!
  • Positive Mental Attitude not Brainless Depressing Energy
slide-3
SLIDE 3

Great work on EX01!

  • The current grade distribution is shown above, out of 90 points:
  • Median: 90
  • 86% of you have handed in for full credit +/- a couple points
  • For the other 14%: it's not too late.
  • Submit through Friday and I'll waive the late penalty this week.
3
slide-4
SLIDE 4

How-to Work on Exercises and Projects

  • Start early. Start early. START EARLY!
  • Read the instructions closely and follow them step-by-step:
  • They are written to help guide you through the assignment!
  • Do not skip around or try to move past a step before completing.
  • Have open:
  • Lecture notes and slides for related topics
  • Instructions for the assignment!
  • When you get stuck:
  • Stare at your code for a while. Look it dead in its eyes.
  • Take a break, take a walk, do something else.
  • See us in office hours!
  • START EARLY!!!
slide-5
SLIDE 5

In the words of a peer doing CS right...

"Hi everyone stressing, I also was super lost and played trial and error for four hours but I got it, [..] so don't stress too much! I went online and read what each function meant and looked at examples and wrote out my steps. I wrote out the math for some because I found an error in my arithmetic. What also helped me was making a separate file to run things line by line to better pinpoint the issue."

5

YES!!!!! THIS IS HOW COMPUTER SCIENCE IS DONE.

slide-6
SLIDE 6

How-to Get Help when Stuck

  • Do
  • Come work with us in office hours! Before a deadline day!
  • Ask for clarification for on something you're confused about over e-mail

by e-mailing both of your house head TAs

  • Don't
  • E-mail screenshots or code... come to office hours!
  • Share screenshots or code... come to office hours!
  • Slide into DMs... send an e-mail with both house heads CC'ed.
  • I've instructed TAs to leave your DMs on read.
  • Contact TAs on other platforms... send an e-mail with both heads CC'ed.
  • Everything else cited as out of bounds per the syllabus.
slide-7
SLIDE 7

Announcements - EX02

  • Exercise 02 - Goes up by tomorrow, due Monday at 11:59pm
  • After today's sync + async lessons you will know all you need to!
slide-8
SLIDE 8

Example Setup

1. Open your COMP110 Workspace

  • File > Open Recent > comp110-workspace

2. Open the File Explorer Pane

  • lessons

3. Create a new Python module in lessons directory

  • Right click lessons
  • Select New File
  • Name it "ls08_functions.py"

4. Reproduce the program to the right. Be sure to indent the last three lines by one tab! 5. Begin a python REPL and try the following command:

>>> from lessons.ls08_functions import square >>> square(4.0) 16.0 >>> square(5.0) 25.0 >>> quit()

"""Practice defining functions!""" def square(x: float) -> float: """Returns the parameter value squared.""" squared_value: float = x ** 2 return squared_value

Done? Respond to the questions

  • n Gradescope.