1 of 46

Welcome to the Module 2

CSA Workshop

@TeachCode | #TeachCode

  1. Digital Digest to get slides: bit.ly/CSADigest
  2. Enroll in the workshop if you have not already:
    • UC San Diego:
    • Riverside:
  3. Take attendance

UC San Diego: https://studio.code.org/pd/attend/VHWY

Riverside: https://studio.code.org/pd/attend/LMJS

  • Introduce yourself in the chat with the kitchen appliance you couldn’t live without.
  • Add where you are in the curriculum at this point on the next slide.

2 of 46

Where are you in the curriculum?

Unit 1

Unit 1

Unit 2

Unit 3

Unit 4

L1

L16

L1

L1

L1

L2

L2

L2

L2

L3

L3

L3

L3

L4

L17

L4

L4

L4

L5

L5

L5

L5

L6

L6

L6

L6

L7

L18

L7

L7

L7

L8

L8

L8

L8

L9

L9

L9

L9

L10

L19

L10

L10

L10

L11

L11

L11

L11

L12

L12

L12

L12

L13

L20

L13

L13

Patricia Chen

L13

L14

L14

L14

L14

L15

L15

L15

L15

Have not started yet:

@TeachCode

3 of 46

Who’s In The Room?

Insert Pic (optional)

Insert Pic (optional)

Chris Meglio

Bobbie Bastian

Katie Ingram

@TeachCode

4 of 46

Agenda Overview

Plan for our time together:

  1. Reconnect with our community
  2. Learn about Unit 4 material
  3. Use The Theater package

* Note: A “question parking lot” is on the last slide for questions that come up during the call.

Workshop Opener

Katie

Unit 4 and Theater Introduction

Bobbie

Unit 4 Project-Katie

FRQ Overview - Chris

Wrap-up

Chris

@TeachCode

5 of 46

Norms

To help us create a productive and respectful space that is conducive to learning together, we propose the following norms:

  • Be present.
  • Make space and take space.
  • Seek to understand.
  • Take risks.
  • Expect and accept non-closure.

@TeachCode

6 of 46

Check-in in breakout rooms

  • Lockheed Coding Competition

5Z87-XW8G-Q424W

@TeachCode

7 of 46

Check in

8 of 46

Check-in in breakout rooms

Prompts:

  • How are you feeling about your pacing of the course? What adjustments are you making to adjust your pace?

@TeachCode

9 of 46

Share out

10 of 46

High Level Overview: Unit 4 and The Theater

11 of 46

Context

12 of 46

Unit Overview

Do this:

  1. Go to the Unit 4 Landing Page
  2. Click on “Teacher Resources”
  3. Select “Unit 4 Overview”
  4. Read the Unit 4 Overview
    1. As you read, consider what you “know” and “want to know” about Unit 4.

@TeachCode

13 of 46

Know and want-to-know

After reading the Unit 4 Overview, add what you “know” and “want to know” to the grid below. Add a “+1” to any item that another person wrote but you agree with.

Know

Want to know

When to use == vs equals()

How to better example what static variables are

The needs for overriding the equals() methods in their own classes

@TeachCode

14 of 46

Unit 4

@TeachCode

15 of 46

Introducing the theater

@TeachCode

16 of 46

Navigate to Lesson 1, Level 1

The Theater - Activity

  1. Predict the output of the program

There are no wrong answers!

  1. Run it to compare your prediction with the results

CSA

✅ Do This:

Predict

and Run

🔮

17 of 46

Waterfall in chat

Prompt: Based on U4L1, Level 1, finish the sentence “I notice that…”

@TeachCode

18 of 46

playScenes() documentation

Do this:

  1. Go to the “documentation” tab.
  2. Read the documentation in the Theater class for playScenes.
  3. Consider: As you review the documentation, what vocabulary do you notice being used in the documentation?

@TeachCode

19 of 46

Share out

Prompt:

What vocabulary do you notice being used in the documentation?

@TeachCode

20 of 46

Navigate to Lesson 1, Level 2

The Theater - Activity

  1. Investigate the code
  2. Complete the Investigating The Theater activity guide

CSA

✅ Do This:

Investigate

and Modify

📝

21 of 46

Theater Free-play

22 of 46

Try creating your own scene!

Do this:

  • In Unit 4, Lesson 1, Level 2, try creating your own scene in the level!
  • Read the documentation or use the following 6 slides to create something using The Theater.
    • Use images, sounds, or shapes!
    • The following 6 slides goes through some features you might find interesting.

@TeachCode

23 of 46

You can draw images in a scene using the method

This draws an specified image file (such as "house.png" at the x and y location.

The size sets the width of the image. The height scales proportionately.

The Theater - Activity

drawImage(String filename, int x, int y, int size)

CSA

24 of 46

Click Manage Assets to upload images or sounds to add to your project.

CSA

25 of 46

The Theater - Activity

You can draw lines, polygons, shapes, circles, and rectangles using the methods

drawLine(int startX, int startY, int endX, int endY)

Draws a line from a starting x and y position to an ending x and y position.

drawEllipse(int x, int y, int width, int height)

Draws an oval or circle at the specified x and y location with the given width and height.

drawRectangle(int x, int y, int width, int height)

Draws a rectangle at the specified x and y location with the given width and height.

CSA

26 of 46

The Theater - Activity

You can play sounds or notes using the methods

playSound(String filename)

Plays the specified sound file (must be a .wav file).

playNote(int note, double seconds)

Plays a note with the default instrument for a given number of seconds.

playNoteAndPause(int note, double seconds)

Plays a note with the default instrument for a given number of seconds then pauses.

CSA

27 of 46

The Theater - Activity

Calling drawing methods will display the images and shapes as one final image in your scene.

If you want to display images or shapes one after the other instead of all at one time, use the pause(seconds) method.

myScene.drawRectangle(0, 350, myScene.getWidth(), 50);

myScene.pause(2);

myScene.drawImage("house.png", 200, 150, 200);

Pauses for 2 seconds before drawing the image.

CSA

28 of 46

The Theater - Activity

The Theater class has static methods to play one or more scenes.

This means we do not need to instantiate a Theater object to play our scenes.

Theater.playScenes(Scene scene)

Plays a single Scene object.

Theater.playScenes(Scene… scenes)

Plays multiple Scene objects. For example Theater.playScenes(sceneFirst, sceneSecond);

Theater.play(Scene[] scenes)

Plays each Scene from first to last in the array of Scene objects.

CSA

29 of 46

Show and tell!

30 of 46

Think-Share (AKA “hold that thought”)

Prompts:

  • How do you think your students will use the Theater for personally relevant practice?
  • What will be exciting to them? What will be a source of frustration?

HOLD thatTHOUGHT

@TeachCode

31 of 46

Unit 4 Project Overview

32 of 46

Reviewing the work

For the Unit 4 project, students will create “Abstract Data Art” using data and the Theater.

@TeachCode

33 of 46

Reviewing the work

Do this:

  • Go to U4L11 - Level 1.
  • Open the Example Solution.
  • Run the Exemplar. As you look at the output and the code, what do you notice? What do you wonder?

@TeachCode

34 of 46

Think-Share (AKA “hold that thought”)

Prompts:

  • What surprised you when you looked at this project?
  • What prior skills will students use in this project?

HOLD thatTHOUGHT

@TeachCode

35 of 46

Unit 4 FRQ Overview

36 of 46

Reviewing the work

Do this:

  • Go to U4L12
  • Open the Bingo Caller FRQ
  • Mark up the BingoCaller text using the annotation guidelines on the next slide

@TeachCode

37 of 46

Annotate the question using the following shapes and symbols.

BingoCaller FRQ - Warm Up

circle

conditions (look for keywords such as if, when, as long as something is true or false or within certain conditions, etc.)

arrow

information to return or output as a result of an action

star

variables / lists / methods used either to return / output or needed to perform an action

square

parameters or information needed to perform an action to produce a result

underline

words or concepts you are not sure of

CSA

✅ Do This:

38 of 46

What do you foresee students will struggle with when working on FRQs?

What strategies can we use to support students in success with FRQs?

💡Discuss:

Retrieve

your knowledge and ideas and write it down silently

Pair

up with a neighbor and talk about your reflections

Share

your thoughts in a class discussion

CSA

39 of 46

Wrap-Up

40 of 46

Reflection

Review the Know-Want-to-know chart created at the start of the time together on slides 12 & 13.

Do this

  • Add to the chart if you have additional “knows” or “want to knows”
  • Put an X next to items that you would now remove from the “Want-to-know” column because you were able to learn this over the workshop today.

@TeachCode

41 of 46

Asynchronous Post-Work For Module 2

You will be:

  • Learning how to check for equality between objects.
  • Considering how students will connect to the content with personally relevant examples.
  • Continue working with the Theater

@TeachCode

42 of 46

What will we be doing in Module 3?

Module 3 will dive deeper into Unit 4 lessons and explore where students will experience The Theater throughout the unit.

@TeachCode

43 of 46

Question Parking Lot

44 of 46

45 of 46

Thank you!

See you on our next call on 11/19

Module 2

Asynchronous Work

46 of 46

Question Parking Lot

Add your question to the space below:

@TeachCode