Saturday, November 29, 2014

Blog tools

We've gotten feedback that it is hard to find particular content and navigate our blog. Today, I added two utilities that should help.

Search bar: pretty standard for all of us who use Google search everyday.  I haven't experimented much to see how the pages get ordered, so I'm interested to hear whether this is helpful.

Tag cloud: we try to tag all of our posts with key words.  These are shown with the most frequent tags at the top in a larger size, while the least used are small at the bottom. Clicking on a tag will take you to the collection of posts with that label. Make sure to check out some of the little-used tags as they are references to fun games or explorations.

What do you think? Is this enough structure to get you to the content you want to see?

Flowers, Squares, and Functions (programming class 11)


who: Baan Pathomtham Grade 5
when: Monday morning
where: at school



Homework review
Forests/flower gardens (some of these were old?): 

Boongie made two versions: 
The first led very nicely into functions, the topic of the day as he had put the petal drawing into a function.  The second was a really nice cap to our discussions about for loops. In his original version, it drew one lime flower and three blue ones. Working together, the class modified the code so that all the flowers were a different color.

Win showed us his flower program, cryptically named untitled5: http://win.pencilcode.net/edit/untitled5

This is a good candidate for streamlining using a function.  Something for him to consider over the week.

To round out the discussion, I showed two related programs that I had found from other users and modified: http://jgplay.pencilcode.net/edit/otherPpl/flowerPattern
and http://jgplay.pencilcode.net/edit/otherPpl/forestRand


We didn't discuss this program as Titus thought it had gotten lost: http://titusorc.pencilcode.net/edit/flower/flowers

Focus for the day: Functions and vectors
Today, our plan was to build up a more complex function structure based around drawing some simple squares.

The first task was just to create a function that would draw a single red square. This code is an example.

Once completed, we added an input variable that would allow them to control the size of the square. Finally, we wanted them to make nested squares that would show why it is useful to capture a block of generic code in a function.  Here's our example.

At this point, Kan had two interesting ideas: First, he wanted to add the color as a parameter to the function.  That was pretty easy, but it was a nice way to see that functions can take numbers and words (in this case a color keyword) as arguments and that they can take multiple arguments.  His next idea was to include a variable that would tell the turtle to move after drawing the square. I've copied his code here 

http://jgplay.pencilcode.net/edit/class/kanBoxboxboxbox1234

He wasn't quite sure how to properly call the function.  Notice what he did: three arguments to the function, one of which is a vector!  Good stuff . . . and we will discuss this more next time.


We also talked about the idea of functions in mathematics and worked through three examples:

  • f(x) = x+2
  • goal(y) = 2y
  • birthday(name) = {the day of that person's birthday}


Homework
The challenge this week is to write the birthday function that will work whenever a member of their immediate family is entered as the input variable.  This is not going to be easy, so we expect them to experiment, explore, and ask questions if they get stuck.

Some other interesting code
In preparation for the class today, I noticed Kan had created this program:
http://jgplay.pencilcode.net/edit/otherPpl/kanthapStinky

Both Win and Kan had these programs

At some point, we will return to these programs to talk about what they do and why.  I know the two were experimenting with them at the end of class and I'm eager to see what they can discover.

Wednesday, November 26, 2014

เกมคณิตศาสตร์ ป.1 - ป.2 (25/11/2014)

เกมใกล้เข้ามาอีกนิด

Source: Snugglenumber by Anna Weltman 
Link: http://recipesforpi.wordpress.com/2013/10/16/snugglenumber/

สิ่งที่ต้องเตรียม: ไพ่ 1 สำรับเอา 10, J, K ออก
วิธีเล่น:
     ๑. แจกไพ่คนละ ๑๑ ใบ
     ๒. ให้ A แทนเลข ๑ และ Q แทนเลข 0
     ๓. เด็กๆจะต้องนำไพ่ทั้ง ๑๑ ใบมาใช้ โดยที่ไพ่แต่ละใบใช้ได้ครั้งเดียว ให้เอาตัวเลขตามไพ่ที่ได้มา             ใส่ในช่องตามแผ่นเกมที่แจก (ดูตัวอย่างข้างล่าง)

              0     ____
              5     ____
             10    ____  ____
             25    ____  ____
             50    ____  ____
            100   ____  ____  ____
   
     โดยนับคะแนนดังนี้
            - ได้ ๓ คะแนนถ้าไพ่เท่ากับจำนวนพอดี
            - ได้ ๑ คะแนนถ้าค่าต่างไพ่กับจำนวนที่ต้องการไม่เกิน ๖
            - ไม่ได้คะแนนถ้าค่าต่างไพ่กับจำนวนที่ต้องการเกิน ๖
            
     ตัวอย่าง:
            มีไพ่ในมือดังต่อไปนี้  2, 2, 3, 5, 6, 6, 7, 8, 9, Q, Q  นำมาเรียง

              0     _Q__
              5     _6__
             10    _2__  _7__
             25    _2__  _8__
             50    _5__  _3__
            100   _Q__  _9__  _6__
  
         คะแนนที่ได้คือ 3, 1, 0, 1, 1, 1 รวมกันได้ 7
 
Update: some pictures of players in action




Monday, November 24, 2014

Nested Loops Review (Programming Class 10)

who: Baan Pathomtham Grade 5
when: Monday morning
where: at school



Reviewing last week assignment

Last week, students were asked to draw this shape using double for loops if possible.  Only 1 in 4 students managed to use double for loops but none of them see this as drawing a triangle 3 times.


                                      

Nested for loops revisit

Using the homework as a starting point, I simplified the task by having them imagine the triangle to be just a line.  After they wrote the simplified program, I asked them to change the line into a triangle.  Eventually, we made our program to take any number of petals.

    num_petals = 3
    speed 10
    pen blueviolet
    for [1..num_petals]
      for [1..3]
        fd 50
        rt 120
      rt 360/num_petals

The next task is to get the students to understand how the use the counter in the for loops and the importance of placement of commands and indentation inside the for loops.  I actually had them do a simplified program before we get to the one below which creates 3 rows of colored dots (I first asked for one row of all the colored dots.)  Even these few lines of codes, it's still useful to breakdown the task into smaller, more simplified programs to learn the concepts.

    rt 90
    for x in [blue,green,pink]
      jump 25,-75
      for y in [yellow,orange,red]
        dot x, 21
        dot y, 7
        fd 25

Homework

Draw a flower garden using at least double loops.  I encouraged students to use triple loops or as many as they fancy.  I also mentioned that I didn't get to review functions but that could be handy for them to use for this homework.  Some of them seemed intrigued and I am hopeful that they will do their own review of functions to do this homework.

Fun with Polygons (Programming Class 9)

who: Baan Pathomtham Grade 5
when: Monday morning
where: at school



Reviewing last week assignment

As usual, I started with homework review which is to draw a scary ghost with a bonus point if they can make their ghosts disappear and reappear.  Turned out to be a nice segue into my main agenda this week which is to review the for loop and a little bit of geometry.  I pointed out that their codes could be shorten by using for loops.

Fun with Polygons

Although my main goal for this session was to review for loops, I wanted to throw in a bit of geometry review (have been noticing that the kids were using too much trial and error strategy when they drew non-quadrilateral shapes).  The structure of this session was I asked them to draw various polygons using for loops: 
  - we started off with the basics: square and equilateral triangle   
  - Then I asked them to generalize their program to make any polygon.  This requires two things:
       1) Understand how to change the number of iterations in the for loops
       2) Recognize that the angle for the turtle to turn is 360/n where n is the sides of the polygon.  I showed them Josh's little program to illustrate this fact (http://jgplay.pencilcode.net/edit/explainer/extAngles)
  - Next I asked them to use for loops to draw a rectangle.  Here they have to recognize that the input into for loops can be other things than a sequence of natural numbers.

Things to Note (Debate?) for Future Lessons
 
Up til now, our main teaching approach has been to show them codes, run it to see what happens, and then ask the students to extend the codes.  While this show-don't-tell approach is great at stimulating their creativity and interest in class, my opinion is that our G5 students need a bit more explicit blackboard instructions to get a strong grasp of the concept.  Thus, I think we need a balance between learning by exploration vs. with explicit instructions.

Math Games (Class 3)

Who: Baan Pathomtham First and Second grade classes

Where: at school
When: mid-morning

Here is the third installment of our math games series.  Despite shortage of staff (Josh is traveling), it's a successful session -- the kids loved it so much they begged for more after they finished their first round.

Indian Poker Addition Game
Source: www.mathsticks.com

This game is a twist to the indian poker.  Although it's more fun and challenging with more players, for younger kids, I find that 3-4 players work out best.

Equipment: A pack of cards with face cards (J,Q,K) removed.
Here's what we do:
- Deal one card face down to each player.  When given the signal, they hold the card outward on their forehead so they cannot see their own cards but only see their friends' cards.
- The card dealer announces the sum of all the cards. 
- Each player guess his or her number.

We have 7 children in each class so they have to add up 6 cards and then subtract from the announced sum.  For children who struggled, I gave additional hints -- I told them the sum of his or her card plus two other friends' cards so they only have to add up 2 cards.  

Close to 100

Equipment: A pack of cards with 10 and face cards (J,Q,K) removed.
Procedure: 
- Deal out 6 cards to each player
- Each player picks 4 cards from the 6 cards they were dealt to form a pair of 2-digit numbers.  The goal is to get the sum of the two numbers as close to 100 as possible but cannot exceed 100.





Wednesday, November 12, 2014

Multiply my love

Who: J1 and J2
When: while not hacking minecraft on raspberry pi
where: in my home office

Recently, we found a couple of nice games and puzzles built around multiplication that I wanted to share with y'all.  The important point is that these aren't drill-in-disguise where the primary objective is reciting multiplication facts, they are games with their own goal that is facilitated by multiplication.

Bojagi 
In this puzzle, you have to cover a grid with rectangles. The trick is that the grid has numbers sprinkled throughout and every rectangle you draw has to contain exactly one number that is equal to the area of the rectangle.

Solving (left) and make-your-own (right)


Here's the game and a collection of puzzles: http://bojagi-gotmath.rhcloud.com/

For credit, the game was built by David Radcliffe (@daveinstpaul) and I originally read about this game on Moebius Noodles.

Why do I love it?
(1) Fun and challenging puzzle worth doing on its own
(2) Great reinforcement of the area model for multiplication
(3) Tremendous scope for further investigations
(4) YOU CAN MAKE YOUR OWN PUZZLES!

The last two points are related. Creating a puzzle helps stimulate thoughts about the structure of the puzzle.

Examples of things you might want to explore
a. Is there always a single solution or could there be several?
b. How many ways are there to partition a rectangle into sub-rectangles?
c. If there can sometimes be multiple solutions, can we recognize this or recognize that the solution will be unique in advance (before we solve the puzzle)?
d. If you put numbers into the square grid, will they always form a puzzle that can be solved? If not, what conditions are necessary? What conditions are sufficient?
e. Is there an algorithm that will always find the solution (when one exists)?
f. Are any game versions fun (and what mathematical structure do they have?

Times Square
This game comes from Calculation Nation. They have several good games, so it is worth taking a look at their collection. Other than this one, I particularly enjoy Nextu.

The objective here is to get 4 in a row before your opponent does. On each turn, you move one of the sliders below the playing square and capture the square that is the product of those two.


Why do I love it?
(1) The game is fun and challenging (this is the sine qua non of games, no?)
(2) Players have to use multiplication and division when planning their next move
(3) The interaction with  your opponent is not straightforward
(4) J1, J2 and I had a delightful conversation about which numbers are in the playing board, which are missing, and why.

In this case, I don't see as much scope for further investigation, but  you might have more ideas than I do. At least I will leave you with one:

Why should we have expected that the playing board would be a square, thus justifying the name?


Some other things related to multiplication
Prime Climb
A beautiful multiplication table emphasizing prime factorization, from Math4Love:


This is linked with their game Prime Climb (which I don't have, so insert unhappy smileys here!)

Factor Game
As the name suggests, a game related to factorization.  Rules here.  I will blog about this when we play the game at home or with one of the school classes.  Also, I noticed a pencilcode user that started building a program related to implement this game (Introbot's FactorGame).

An alternative algorithm
A video (here) and picture (below) are getting pushed around the web. My take:
thoughtlessly teaching/learning/applying any algorithm isn't very useful, but playfully investigating and thoughtfully considering why it works is always worthwhile.




Tuesday, November 11, 2014

Subtraction Games (math class 2)

Who: Baan Pathomtham First and Second grade classes
Where: at school
When: mid-morning

Today was our second session playing mathematical games with the younger kids at J1's school. Another fun session with a new game the kids can teach to their parents.

As usual, we were too occupied to take any pictures.

Agenda
We are settling into a standard agenda:

  1. Warm-up questions: quick questions that are intended to require 10-20 seconds of thought, but are not very challenging for the kids.
  2. Mathematical observations: based on a picture, the kids practice making observations about number, measure, shape, sequence, etc.
  3. Something from an old game
  4. A new game
  5. Homework

Old Game: Euclid
As a reminder, the rules for this game are here: Euclid's Game.
Last time, we played on a 100 grid with the second graders and a 60 grid with the first graders. This time, we had them all on a 100 grid.

To start out, we had a refresh by playing the game once: the kids on one team and I was on the other team. As we played, I did the following things to spark thoughts about the game:
(1) always explained full equations to justify my moves. Example: 40 (pointing to the 40 that has already been crossed) minus 5 (pointing to the 5 that has already been crossed) is 35 (crossing out the 35)
(2) I got them to say full equations and had one student per turn cross out the number for their move.
(3) I asked them to confirm my calculation.  Sometimes I said the wrong answer, so this wasn't an empty activity.
(4) I asked them what was the largest number we could cross out in our game (once the first two numbers had been chosen)
(5) I asked them to look for emerging patterns in the numbers we were crossing out.
(6) I asked them to look ahead in the game to see who was going to win.
(7) I asked what would happen if we somehow manage to cross out 1 in our game.

After playing the game to make sure we all got the rules, I posed the following:
- last week, I saw two students play a game where the starting choices were 60 and then 36.
- What pattern of crossed out squares do you think emerged by the end of the game?
- Do you think you can start with 60 and 36 but get a different pattern?
- Who do you think won?


Look: another 100 grid for you to cherish!

Note: even though this game seems to only involve subtraction, analyzing the game and finding a winning strategy is more related to multiplication, division, and factoring.

New Game: Card subtraction
Source: Motion Math

Another subtraction game with a nice feature that many people can play at one time.
Prep: take a standard deck of playing cards and remove all 10s and face cards.

Each round:
- Deal 4 cards to every player
- Deal 2 cards in the center, the first of these becomes the 10's digit and the second the ones digit in a 2-digit number that is the Target
- players make two 2-digit numbers with their 4 cards and find the difference.
- Players then find how far their difference is from the Target and this gives their number of points.
- Lowest points win

For example, say we deal 5 and 3 as the central cards, making the target 53. Now, let's say one player gets an 8, 7, 2, 3.  One way they could play is making 38 and 27 for a difference of 11.  That is 42 away from the target for the round (remember 53), so they could claim a score of 42 points. Think about it and you will see that there are other combinations that get much closer to the target and score far fewer points.

Observation: the two digit subtraction problems that come up in this game were challenging for the kids.  When playing this game with your children, encourage them to use the following tools to help with their calculations:
(1) write down the calculations on a piece of paper
(2) use concrete objects to work on the subtraction questions
(3) use the 100 grid from the Euclid game.  Ask them to show you how they can use this grid to help them analyze a subtraction problem.
(4) use a number line.

Let us know what other strategies you use.

Finally, encourage them to look for patterns and relationships.  What pair of 2 digit numbers could they form that has the smallest difference? What about the largest difference? Which grouping gets closest to the target? which gets farthest? Are there several combinations that are the same difference from the target?

Homework
Euclid:
- play a game with your parents and show the grid to us at the next class
- try the game starting with 60 and 36.  See if you get the same pattern we got in class?

Card subtraction:
- play this game with your parents or siblings for 5 rounds (or more!) and bring us the scoresheet.

Photo Math, computer based math, and hand calculations

Who: J2
Where: all over the house
when: after school almost every day last week and all weekend


Recently, there has been a lot of excitement about the photo math app (on-line community at-large) and hand calculations (just within our house). Is there a place for doing hand calculations and learning standard calculating algorithms when technology has already automated so many mathematical operations and is attacking problems of increasing complexity?

I'm not going to attempt to answer comprehensively or theoretically, I'd just like to make some observations based on J2's explorations this past week.

It started with squares



Who knows why, but J2 was building a sequence of squares one afternoon with our colored tiles. I think he had seen something when we were doing another investigation or had heard me make a remark and wanted to investigate square numbers himself.  Making these squares was a fun and colorful way to do the calculations.

At some point, he realized that he wasn't going to have enough tiles to keep making separate squares and he consolidated into one square which he kept growing. I think this 13x13 is where he stopped that day.


What was he thinking?
He was absorbing the numbers and looking for patterns.  Early on, he realized that it was annoying to keep counting all the tiles to calculate the new square, so he wanted a faster way.  At one point he came to report his progress and explained: "I have 100 tiles in my 10x10 square.  When I make the 11x11, I know it will have 100 + 10 + 11 tiles."

Symbolically, he was recognizing (n+1)^2 = n^2 + n + (n+ 1)

After that, he kept using this relationship to check his results. We also played around with doing the multiplication directly. Whenever we did a multiplication, I would find a way to illustrate the distributive property and usually invoked some number bonds.  Here is one illustrative example, though mostly I just drew diagrams like this on a paper:


Incidentally, I got this design from Mike Lawler's video giving a physical illustration of why the product of two negatives is positive.

Another tool:
For several of the calculations, J2 was using a 100 chart or our 100 board.  He spent a bit of time looking at the board thinking about whether the squares were easy to see on this board.  his intuition was that, somehow, it would be nice to see them as the vertices of growing squares within the grid.

I suggested he build his own 100 spiral and look for patterns along the way.  This is slightly less than halfway (well 40% of the way, to be exact):

While he did this, he noticed three things:
(1) the squares are appearing along diagonals
(2) the even squares are rise moving northeast and the odd squares increase going southwest.
(3) we also get non-square rectangles at 1x2, 2x3, 3x4, 4x5, etc

I have it on good authority that  you can see something interesting with the primes in this configuration (see Ulam's Spiral) but that will have to come later for our J's.

Some further adventures
Along with his hand calculations, J2 started entering his squares into a spreadsheet. This let him explore larger squares than he could multiple right now and well beyond our tile collection. Also, we could explore first and second differences, seeing his old recursive relationship in a new way.

Beyond the squares, he has since done similar things with cubes (constructing physical cubes out of trio blocks, building a table in the spreadsheet, looking at differences), powers of 2, and quartics. Looking at these all together allowed him to start seeing connections around more advanced questions:
- which powers of 2 are squares?
- which cubes are also squares?
- which quartics are squares?
- how fast do the different sequences grow?

A hint of what is to come: before going to sleep last night, J2 mentioned that he wants to talk to me about triangular numbers next . . .

What do I conclude
For J2, the hands-on manipulations and associated hand-calculations are helping him see number patterns more closely and become familiar with a lot of interesting relationships.  This work has provided him with a platform to then engage with more computationally powerful tools. Importantly, he doesn't see it as a binary choice between manual and automated calculation, but is very happy to alternate between the two.

Further reading
For a more thoughtful and comprehensive discussion of the app and the impact on teaching, see Dy/Dan.

Sunday, November 9, 2014

Creating new creatures (Programming Class 8)

who: Baan Pathomtham Grade 5
when: Monday morning, bright and early
where: at school



Sharing our Work
First, we looked at programs we have written:

  1. Birthday animation for an uncle
  2. Win's flower
  3. Spirals: Boongie and Titus.  Remember, this was the inspiration: popSpiral.
For the spirals, we discussed briefly differences in how these were implemented and then flagged the key similarity of the nested loop.

Nested For Loops
What does this code create?

speed 50
for x in [0..200] by 25
  for y in [0..200] by 25
    moveto x, y
    dot 10, rgb(x, y, 0)
ht()

This is going to come back next week when Pooh is leading the class and there will be some other examples of nested for loops.

Creating a new creature
Another block of code for experimenting.  The kids played with this and then started trying to build their own versions with spooky ghosts:

ant = new Sprite
  color: transparent #can use other colors or 
#  width: 500
#  height:50
  
drawon ant
turtle.speed 100
fd 9
pen black
lt 60, 15
lt -60, 15
rt 60, 15
rt -60, 15
lt 75
fd 10
bk 10
rt 150
fd 10
bk 10
lt 75
pu()

dot crimson, 10
bk 9
pd()
lt 90
fd 10
bk 20
fd 10
rt 90
pu()
dot crimson, 8
bk 10
pd()
rt 75
bk 10
fd 10
lt 150
bk 10
fd 10
rt 75
pu()
dot crimson, 12

# sync makes the ant wait until
# the turtle is done.

drawon() sync ant, turtle

ant.pen orange
for [1..5]
  ant.fd 100
  ant.rt 100

Homework
(1) look at the program antGamer (http://jgplay.pencilcode.net/edit/class/antGamer) and try to figure out what it does.  What can you change?
(2) work on your ghost programs

Feedback
Two points I thought were worth flagging from the feedback cards this week:
(1) when asked what they learned, the kids still generally talk about the whole program, not the underlying concept.  This makes me concerned that they don't see the more general idea and won't think of using it when it is appropriate.  Based on this, we are going to spend a bit more time next week talking about how the programs work.

(2) I love this other answer to what I learned: "I learned that there are things I don't know yet."

Tuesday, November 4, 2014

Math games (class 1)

Who: Baan Pathomtham First and Second grade classes
Where: at school
When: mid-morning

Today was our opportunity to play some mathematical games with the younger kids at J1's school. It was fun and we played two games that the kids can take home to play with their families for further investigation.

Apologies, no pictures: we were too occupied to take any snaps.

Warming-up
We start each session with some quick question warm-ups.  Going around the class, everyone gets a question in turn. These are meant to be fairly easy, but get them actively engaged.

Examples:
- questions about days of the week e.g., what day comes before Monday?
- months of the year, e.g,. what month comes after December? How many days in June?
- continuing number sequences, e.g., What comes after 19, 20, 21? What about 35, 34, 33? What about 75, 73, 71?
- Skip counting, e.g., counting to 20 by 2 starting at 0.  Counting up by 2 starting at 1.
- What are some ways to make 10 with addition?

Making mathematical observations
After warm-ups, we gave the children a picture and asked them to make mathematical statements or ask mathematical questions about the picture.   The types of statement depend on the picture, but examples include:
- counting specific objects, e.g., There are 5 apples in the picture. My favourite is something like "There are zero footballs in the picture" or another object that is totally unrelated to the picture.
- comparing numbers of objects, e.g,. There are more people than lions.
- number sentences: there are five children and three adults, all together there are 8 people
- comments about shapes

This is an idea we got from Mathematics Mastery.  For younger grades, they have developed a series based on fairly tales that are really good.  Naively, I had thought it would be possible to take random photos off the web, but most just aren't that detailed or there is limited variation.

Game 1: Euclid
Our first game was from Let's Play Math: Euclid's Game. The rules are simple:
- start with a 100 grid (we used 60 for the 1st graders)
- First player chooses a number and draws an X over it
- Second player chooses another number and draws an X over it
- players take turns crossing out numbers that are the difference between two numbers already crossed out.
- last player with a legal move is the winner

We played several rounds on the whiteboard, J0 against the kids and also half the class against the other half. We recommend using contrasting colors to make it easier to see any patterns that emerge.

At the basic level, this is just practice subtracting two digit numbers.  We found that both grades were struggling a bit with this, so the extra practice was useful. For the next level, ask about patterns, during and at the end of the game:
- can you see what pattern of squares we are crossing out?
- how do you know if there are any moves left?
- who do you think is going to win?
- what is the largest number we are going to cross out?
- what is the smallest number we are going to cross out?

On their own, the first grade class started to speculate about whether they could know in advance who would win.

We gave out 100 sheets so the kids could play at home with family and friends.
Look: your very own 100 grid!



Game 2: Don't Make a triangle
This game comes from Math4Love and is called Don't make a triangle.  All  you need to play at home is a pencil and paper.

We actually didn't play the Math4Love version, but instead showed them a simpler variation where players take turns connecting the starting dots and they try to avoid forming a triangle with vertices on the starting dots. Here is a progression of variations and explorations we considered:

- variation 1: students start with 6 dots, take turns connecting pairs. the one to make a completed triangle first loses (a segment drawn by either player counts)
- variation 2 (as suggested in Math4Love): start with 6 dots, students use different colors and only a triangle with all sides their color count
- exploration 1: will it make an interesting game if you are trying to be the first to complete a triangle? Test this for variations 1 and 2
- exploration 2: is there a winning strategy? do you want to be the first or second player?
- exploration 3: try these games and questions with a different number of dots


For future sessions:
There is a lot more we can do to explore the two games we introduced today.  I plan to spend at least part of the next session on a bit more of an investigation into Euclid's Game.  Here are some other ideas we may explore

(1) three chips puzzle

(2) Always truthful/always lying logic puzzles.  there are many of these, here are two examples:
a) Tom always tells the truth, Dick sometimes tells the truth and sometimes lies, Harry always lies. You don't know who is who, but start to ask their names.  Their answers:
- First person: I'm Dick
- Second person: I'm Harry

When you ask the third person, what answer does he give?

b) A family has 2 sons, one who always tells the truth and the other always lies. Their house is next to a Y- intersection.  Walking by there house, you get confused about which direct you need to go (left or right). You go to their house and one son comes to the door. What can you ask that son so that you find out the correct way to go?


(3) Nim variations
- 1-2 Nim
- 1-2-3 Nim
- Nim on 10 frame
- Poison
- points for taking counters and bonus for ending condition

(6) Einstein/elimination puzzles
I did a lot of these around this age, so am curious to see how the kids find them.  I just found this collection, so will see if any seem suitable.

Sunday, November 2, 2014

Doing the challenges (programming class 7)

Who: Baan Pathomtham 5th grade class
Where: at school
When: Monday morning, first day after a 1 month break


Well, the kids hadn't worked on the challenges I posted here, so we worked on them in class.

Homework: work on challenge 3
This challenge is to reproduce the spiral below. They all made some progress and I am keen to see what they can figure out. Having reviewed my own code, I expect they will produce something more elegant than what I wrote.

Notes from today

As usual, they all did well with some finding different tasks easier and others harder. Mainly, I think it was an effective refresh of some things they might have forgotten and helped me assess where they are starting for this term.

Challenge 2: They all did this first.  I think they enjoy replicating a block of code and then experimenting with it. If I hadn't pushed them to move on, they would have been stuck playing with this for the whole session.
 
Challenge 1: All of them found it pretty easy to figure out what code was missing from the two short programs.  Also, they were able to copy and save the code, demonstrating that they haven't forgotten how to move around the system.

Kan did the most experimenting with code and came up with some really interesting stars by increasing the number of iterations on the star loop. For next time, I will ask them about some of these patterns, compare what would happen with a 5 or 6 pointed star and see if we can figure out why they get created.

Challenge 3: They all found this to be hard and have only started making progress. The key point is that they remember how to use for loops, but will need to be reminded of the different ways they can be structured and how they can be put together.

Feedback form
At the end of each class, I will ask them to fill out a short feedback form:
(1) Two things they learned:
They all said they learned how to make a submarine and many mentioned fixing the missing line programs from challenge 1.
Refresh of how to use for loops
Some talked about learning how to debug their programs when they made a mistake

(2) One question they have about the lesson or 1 new question they have because of the lesson
Everyone asked some variation of how to make the spiral, either how do we make it larger as we iterate or how do we change colors?

(3) One piece of feedback about what we did in class today
- Like making the submarine
- I liked working on the spiral
- I don't like doing calculations because they are hard and made me tired
- Don't like making the spiral because it is hard and uses too many techniques

Square One TV (A talking math with your kids experience)

who: whole family
when: dinner (and then at odd times for the next week)
what did we use: internet connected TV

So, you've been reading Talking Math with Your Kids and are eager to kick off some chats? Here's one effortless cheat that has led to many conversations in our house.


Let's Play Math had a link to a Square One TV skit that reminded me about the show.  Of course, I loved it as a kid and have been pleased to find that I enjoy it just as much now. I had to introduce these to my kids.

This is the one we watched:


Some parts of the presentation haven't really kept up with the times, I admit, and the youtube video quality is low, so I think there's a lot the kids don't catch.  However, it has led to a lot of interesting follow-up discussions and not necessarily about the most typically entertaining parts of the show. For example, when we got to this point, suddenly the kids were quite and focused:


What was so interesting?  A grey screen with an equation and enough space to promise more equations! After this segment played, we paused the video and had a good chat about it.  J2 was particularly excited and explained the patterns he saw.  Over the next several days, he returned to these equations and added steps to the sequence.

The other segment that has stuck with them was the Dirk Niblick cartoon.  J1 has been doing a post mortem analysis of almost every part of the sketch.  The crescendo came yesterday when he wanted to analyze the cost of the car, the percentages and the mistake.  We spent about 2 hours talking about different percent calculations, translating to and from fractions, comparisons.  I'm not sure he completely got it, even at the end, but he continues to be intrigued and brings up the points.

After all of that, I showed them a couple of the SQ1TV songs, like Perfect Squares (to which I linked on my last post) and 8% of My Love.  Some resulting discussions and explorations:

- Perfect Squares caught J2 in a phase of thinking about square numbers and has spurred him to more questions about them (specific squares and patterns between them).  One specific thing I've been doing here is drawing area models for his squaring calculations, so that is getting to be a familiar diagram for him.

- Battle of the bulge sandwiches (also from the very first SQ1TV episode): J1 and J2 wanted to know how many sandwiches could be made if multiple meats and cheeses were allowed.  J1 made a guess it would be about 30 and then they worked on a systematic way to organize the list.