1 of 15

SORT YOURSELVES!

WITH

2 of 15

  1. Make a team of 2 to 6 people
  2. Everybody picks a random number
  3. All people together go through the network, following rules next page
  4. Post a picture on Facebook or Twitter hashtag #WeGotSorted #CSUnplugged

TRY SORTING NETWORK FOR HUMANS!

3 of 15

Start in a random position

4 of 15

Follow lines,

proceeding row by row

5 of 15

Compare number with person at the same station

6 of 15

Bigger numbers go left, smaller go right

7 of 15

8 of 15

9 of 15

#WeGotSorted

with

#CSUnplugged !!!

10 of 15

11 of 15

COMPLETE RULES:

  1. Each member stands in a square in the first row (IN) of the court. Your numbers should be in random order.
  2. Organise yourselves into groups of 2 to 6 people. Only one team uses the network at a time. Choose one set of cards, then each team member takes a card from the set.
  3. You move along the lines marked, and when you reach a cross you must wait for someone else to arrive. If there are less than 6 people in the team and nobody can reach you, go right.
  4. When another person arrives in your cross compare your cards. The person with the higher number takes the exit to their left. If you have the smaller number on your card take the right exit.
  5. When you get to the other end of the court, take a picture! Then post it on Facebook or Twitter with hashtag #WeGotSorted #CSUnplugged !

If somebody in the team makes an error then everybody needs to start again from first row.

12 of 15

1

5

3

6

2

4

5

6

3

4

1

2

1

5

3

6

2

4

2

3

1

4

5

6

4

6

3

5

4

5

2

1

2

3

3

4

4

3

EXAMPLE:

Check that you have understood the operation of a node (circle) in the network, where the bigger value goes left and the smaller goes right. For example:

13 of 15

4

2

6

3

5

1

5

6

3

4

1

2

2

4

3

6

1

5

1

3

2

5

4

6

5

6

3

4

4

5

1

2

2

3

3

4

EXAMPLE:

Check that you have understood the operation of a node (circle) in the network, where the bigger value goes left and the smaller goes right. For example:

14 of 15

Why?

Most people think of Computer Science as an obscure discipline they will never understand.

This is sad! So, how can we dispell fear and promote CS, especially among the youngest?

This network has been invented for teaching kids computer science by the CS Education research group at University of Canterbury, New Zealand, at the so-called ‘Department of Fun Stuff’. They also made plenty of similar activities you can find on csunplugged.org. At CoderDojo Trento (and CoderDojo Master group @ DISI for high-school students) we try to teach kids programming in a creative way, and also promote CS Unplugged activities.

Most people don’t know about these ways to present things, so as an example here we propose a distributed sorting network, to sort people in parallel. Adults included! Don’t forget this is a social activity: find people and get sorted with them! You can also write down your names and sort them alphabetically (it’s a great way to remember names)! We hope you enjoy it!

Also, chances are there is a CoderDojo club in your city (see zen.coderdojo.com). If you have children, at CoderDojo you will find mentors who will volunteer to teach programming to your kids! Or maybe you can become a mentor, too!

15 of 15

Brought to you by...

CoderDojo

Master

With material adapted

from super cool site