Download presentation
Presentation is loading. Please wait.
Published byIsabel O’Neal’ Modified over 9 years ago
2
2
3
Explore the challenge of algebra Get comfortable with programming Work through the entire curriculum Discuss pedagogy At the end: discuss integration 3
4
Theory Overview Practice Pedagogy 4
5
5
6
A train leaves Chicago at 6pm, traveling East at 70mph…
7
xF(x) -524 -38 -23 f(x) = x+2 object 6 = x +2 6 = ☐ +2 ☐ = 4+2 process process 7
8
f(x) = x 2 - 1 8
10
10
11
(1/x)*x = 1 x = 10 x = x+2 x = 10 x = x+2 foo = 0 function f(x){ return foo++ } foo = 0 function f(x){ return foo++ } 11
12
Theory Overview Practice Pedagogy 12
13
>70% below the poverty line >70% self-report as African-American or Latino Grades 6-7: First Exposure to Algebra Grades 8-10: Algebra Enrichment Grades 11-12: Algebra Remediation 13
14
Software: In the cloud, or on your machine. Lesson Plans: Detailed[*] curricula, student handouts, integrated workbooks, and supplemental activities. Standards: All lessons are aligned to Common Core Standards for Mathematics. Language: Algebraic semantics, simple syntax, rich media and integrated testing 14
15
Brainstorming, and Circles of Evaluation Datatypes, Domain &Range * 2 3 9 / = f(9, g(2, 3)) 15
16
Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game height : Number -> Number height(1)7 * 1 height(2)7 * 2 height(3)7 * 3 height(t) = 7 * t 16
17
17 Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game Booleans and Inequalities Piecewise Functions 0 < f(x) < 640
18
Brainstorming, and Circles of Evaluation Datatypes, Domain &Range Defining Functions Animating your Game Booleans and Inequalities Piecewise Functions Pythagorean Theorem Game Release Party! 18
19
Introduction Theory Practice Pedagogy 19
20
Physical Materials (workbooks, pens, etc) One computer for each pair of students Gmail Account (per-class? per-pair?) Log into www.WeScheme.org (IE9+, FF, Chrome)www.WeScheme.org Go to www.BootstrapWorld.org/materialswww.BootstrapWorld.org/materials 20
22
Dogx-coordinate 22 positionmoves to the left
23
In Space Astronaut Squirrel Candy Alien Shark! 23
24
In www.WeScheme.org…www.WeScheme.org Start a New Program About the Editor… Let there be Numbers! 24
25
- 10 8 / 6 2 - 8 8 - (- ) (- 10 ) (- 10 8) (/ 6 ) (/ 6 ( ) ) (/ 6 (- 10 8) ) 25
27
+ 12 * 37 - - + 12 3 - 3 * 56 + 1 (- ) + 12 * 37 (- 3 (+ 1 2) ) (- 3 (+ 1 (* 5 6) ) ) (+ 1 2)(* 3 7) (3 * 7) – (1 + 2) 27
28
: ; MrCoffee: Beans Water Coffee ; + : Number Number Number ; - :Number Number Number ; sqrt :Number Number ; sqr:Number Number Can you fill out the contracts for +, -, *, and / ? 28
29
One of these things is not like the other… 12 -53 “hello” 4.9 A String is anything with quotes around it: “hello!”, “Houston” and “42” are all strings. How would you convert this to code? 50 “solid” “red” star (star 50 “solid” “red”) 29
30
; circle :Number String String Image ; ellipse:Number Number String String Image ; triangle: Number String String Image ; rectangle: Number Number String String Image ; text:String Number String Image ; rotate :Number Image Image ; scale:Number Image Image …and dozens more! 30
32
Open the “Game Template” link from the teachers-only page, and Run What do you think the code on line 5 does? Line 6? What will happen if I evaluate TITLE in the Interactions window? How could we change the title of our game? Click “Save”, and name your file What other definitions do you see? Playing with SCREENSHOT… Make your images!!! 32
33
(triangle “solid” “green”) I just loooove green triangles…. Write a function ‘gt’, which takes in a number and gives back a solid, green triangle of the given size. radius size gtNumber Image gt (triangle 10 “solid” “green”) 10 gt (triangle 11 “solid” “green”) 11 gt size 33
34
(circle “solid” “blue”) Confession: I lied. I actually prefer blue circles! Write a function ‘bc’, which takes in a number and gives back a solid, blue circle of the given radius. radius bcNumber Image bc (circle 16 “solid” “blue”) 16 bc (circle 99 “solid” “blue”) 99 bc radius 34
36
rocket-height Number Given the number of seconds, how high is a rocket, traveling at 7m/s? rocket-height 15 105 (* 7 15) (* 7 289)rocket-height 289 36 radius seconds
37
Can you make the rocket fly faster? Slower? Can you make it fly backwards? Can you make it fly faster over time? Connecting to word problems…. “A university has ten times as many students as professors. Write a function p(s), which describes the number of professors as a function of the number of students.” 37
39
Go back to your saved videogame file Complete update-target and update-danger 39
41
A game of True or False… Evaluate the following 3 pieces of code: (+ 1 4) (* 7 5) (< 3 4) Try using other Boolean functions There’s also string=? Introducing Sam the Butterfly… Complete page 19 41
42
Let’s have a volunteer… safe-left?Number Boolean safe-left? (> -100 -50) -100 (> 320 -50) 320 safe-left? x x x x x x x x Given an x-coordinate, check if it is greater than -50 42
43
Complete safe-right? and change onscreen? so it uses safe-right? instead How can onscreen? use both functions? Copy the safe-left?, safe-right? and onscreen code into the game template! 43
45
What does (cost “cheese”) evaluate to? What will happen for (cost “onion”)? What is this function doing? Add “mushroom” to the menu, for $11.99 Change the code to add your favorite topping! Change the code to charge customers $1000.00 for anything not on the menu
46
10.50 9.00 11.25 10.25 cost String Number cost “pepperoni” cost “cheese” 10.50 9.00 cost “chicken”11.25 cost “broccoli”10.25 costtopping 46 (string=? topping “pepperoni”) (string=? topping “cheese”) (string=? topping “chicken”) (string=? topping “broccoli”) cond price topping
47
update-player Number String Number update-player 320 “up” update-player 100 “up” (+ 320 20) (+ 100 20) update-player 320 “down”(- 320 20) update-player 100 “down”(- 100 20) update-playery key 47 (string=? key “up”) (string=? key “down”) else cond (+ y 20) (- y 20) y operation y y y y key
49
Share your programs! Use the “tilt” teachpack to support phones/tablets Add data structures to support 2d motion and graphing Building on what you know…all the way to collegeall the way to college 49
51
Transferable Skills Circles of Evaluation Design Recipe Rocket-Height Target/Danger Motion Sam the Butterfly Luigi’s Pizza Player Motion Collision Detection 51
52
Transferable Skills Circles of Evaluation Design Recipe Rocket-Height Target/Danger Motion Sam the Butterfly Luigi’s Pizza Player Motion Collision Detection 52
53
You’ll need access to a computer lab You’ll need Google accounts Join our Google Group for questions and answers Figure out your integration plan 53
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.