110
play

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


  1. 110 Announcements

  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

  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

  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!!!

  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." YES!!!!! THIS IS HOW COMPUTER SCIENCE IS DONE. 5

  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.

  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!

  8. Example Setup """Practice defining functions!""" 1. Open your COMP110 Workspace def square(x: float) -> float: File > Open Recent > comp110-workspace • """Returns the parameter value squared.""" squared_value: float = x ** 2 2. Open the File Explorer Pane lessons return squared_value • 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. Done? Be sure to indent the last three lines by one tab! Respond to the questions on Gradescope. 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()

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend