CSC 151 Spring 2020 Topic: Documenting your Procedures February 5, - - PowerPoint PPT Presentation

csc 151 spring 2020 topic documenting your procedures
SMART_READER_LITE
LIVE PREVIEW

CSC 151 Spring 2020 Topic: Documenting your Procedures February 5, - - PowerPoint PPT Presentation

CSC 151 Spring 2020 Topic: Documenting your Procedures February 5, 2020 Day 07 Agenda for today Quiz 1 Feedback Peer Support Opportunities Documentation Wrap-up QUIZ 1 Feedback Peer Support Opportunities Mens


slide-1
SLIDE 1

CSC 151 Spring 2020 Topic: Documenting your Procedures

February 5, 2020 Day 07

slide-2
SLIDE 2

Agenda for today

  • Quiz 1 Feedback
  • Peer Support Opportunities
  • Documentation
  • Wrap-up
slide-3
SLIDE 3

QUIZ 1 Feedback

slide-4
SLIDE 4

Peer Support Opportunities

  • Men’s Basketball, Wednesday, 5:30pm
slide-5
SLIDE 5

Academic Extra Credit

  • Lunch with Grinnell CS Alumni

Friday 12:00-1:00pm Noyce 3821 There will be Pizza (plus a vegan option) Hear about Jobs/Internships in CS

  • “Love Data” Events 2/10 – 2/14

More details to come on Friday

slide-6
SLIDE 6

Why do we document code?

Discuss with your partner.

slide-7
SLIDE 7

What are the 6 P’s?

Try to come up with all 6 with your partner.

slide-8
SLIDE 8

A few other thoughts..

Who are we writing documentation for? Ourselves, the people evaluating our work, my team, perhaps a paying customer, anyone who might use our code When should we write documentation? Any time we write a procedure. Possibly before you write the code so you can plan. Where should documentation go? Immediately before the procedure we are documenting.

slide-9
SLIDE 9

Practice Documenting

(increment n) Test in DrRacket, (require csc151) What happens if n is:

  • Real? Complex?
  • Exact? Inexact?
  • Others?
slide-10
SLIDE 10

More Practice Documenting

(max a b) (take lst n) (sort lst cmp) Test in DrRacket, (require csc151) What happens if n is:

  • Real? Complex?
  • Exact? Inexact?
  • Others?
slide-11
SLIDE 11

Upcoming Work

(take lst n)

  • Notes on submitting exercises

To: csc151-02-grader@grinnell.edu CC: Your partner Subject Line: CSC 151-02 Lab 2/5 Include your responses in the body of the email, not as an attachment! You will receive full credit for serious attempts at lab exercises.

  • Readings for Class
  • Assignment 2: Due Tomorrow!