1 of 16

Newton Girls Who Code

Monday Session 14, 2019-02-10

2 of 16

Welcome!

(Let us know if you would like advice about your project)

3 of 16

Plan for Today

  1. Spotlight: Women Who Code
  2. Name Game: GWC Name game
  3. Programming Concept: Functions
  4. Project Time
  5. Stand Up meeting
  6. Coding Time

4 of 16

Spotlight: Women Who Code

Tarah Wheeler

Watch Video

  • Being a computer scientist is about more than just being great at coding - How does Tarah Wheeler inspire people to become better consumers?

  • According to Tarah, why is security important for online transactions, products, and toys? Do you agree?

  • What are some steps you can take to become more secure as a consumer?

5 of 16

Plan for Today

  1. Spotlight: Women Who Code
  2. Name Game: GWC Name game
  3. Programming Concept: Functions
  4. Project Time
  5. Stand Up meeting
  6. Coding Time

6 of 16

Name Game

  • The oldest person in the room starts with the bag of questions
  • Remove a question from the bag and read it out loud
    • each person can have one redo, if necessary
  • Answer the question
  • Choose the next person by calling out their name and passing them the bag
    • it's okay to ask their name if you're not sure
  • Play until everyone has has had one turn.

7 of 16

Plan for Today

  • Spotlight: Women Who Code
  • Name Game: GWC Name game
  • Programming Concept: Functions
  • Project Time
  • Stand Up meeting
  • Coding Time

8 of 16

Programming Concept: Functions

  • What is a Function?
    • a named section of a program that performs a specific task
  • Why use Functions?
    • Abstraction

☎️

(617) 559-9102

👩‍🏫

"Black box" - don't need to know how it works

Has a known _interface_

what does it need: a phone number

what does it do: calls a particular person

Modularity

🎧

📱

Different self-contained pieces

allows re-use, mix & match

  • each piece is small enough to understand and troubleshoot (debug)
  • once built, can be re-used with other modules for more complex programs

9 of 16

Programming Concept: Functions

keyword

name

Parameters (zero or more)

Body (indented lines)

get_input()

10 of 16

Plan for Today

  • Spotlight: Women Who Code
  • Name Game: GWC Name game
  • Programming Concept: Functions
  • Project Time
  • Stand Up meeting
  • Coding Time

11 of 16

Continue working on your projects!

12 of 16

Plan for Today

  • Spotlight: Women Who Code
  • Name Game: GWC Name game
  • Programming Concept: Functions
  • Project Time
  • Stand Up meeting
  • Coding Time

13 of 16

… Stand Up Meeting

Stand Up Routine

  1. Get together in your project groups.
  2. Take turns sharing your answers to today’s questions to the rest of the class.

Possible Questions to Answer

  • What kinds of Women Who Code would you like to hear more about?
  • What question(s) would you like to add to the bag of questions?
  • What would you like to see more of / less of at our sessions?
  • Is there something new you'd like to do at GWC in 2019?

14 of 16

Plan for Today

  • Spotlight: Women Who Code
  • Name Game: GWC Name game
  • Programming Concept: Functions
  • Project Time
  • Stand Up meeting
  • Coding Time

15 of 16

Coding Time

  • Go to the Learn section of hq.girlswhocode.com.

  • Sit with someone from your project group if you're focusing on project work

Instructors take attendance

16 of 16

See you in two weeks!

Don’t forget to be awesome!