Transcript
Page 1: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1

Page 2: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 2

Introduce Java Programming to Kids James Weaver, @javafxpert Arun Gupta, @arungupta

Page 3: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 3

Introducing Kaleb & Jillian

Page 4: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 4

Introducing Aditya & Mihir

Page 5: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 5

Introduce Programming to Kids

§ What is a good age ? –  Analytical skills –  Logic –  Structure –  Maths

§ Analogies from their daily life § Find what will motivate them § Keep it Fun

Page 6: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 6

Scratch

§ FOSS created by MIT Media Lab § 2-D visual programming language § Drag-and-drop blocks § Make interactive stories, animations, games, music, art

–  No need to learn syntax –  Share them on web within tool

§ Teach mathematical and computational concepts § Make kids think creative, reason systematically, work collaboratively

mit.scratch.edu

Page 7: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 7

Blocks for programming sprites

Start or Stop Sprite

Scripts Area Drag blocks in, snap them to create scripts

Stage

Sprite List

Page 8: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 8

What do you want to make, Jillian? “Game that puts clothes into a suitcase”

Page 9: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 9

Mighty Battle of Thumpback, Hothead, & Eruptor

scratch.mit.edu/projects/The_Frog/3191476

Page 10: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 10

Alice

§ FOSS created by University of Virginia and Carnegie Mellon § 3-D environment to teach OO and event-driven § Three core issues

–  Teach programming theory –  Comes with IDE, no syntax to remember –  Less focus on computation, appeal to specific sub-populations, such as

female students of middle school

Page 11: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 11

Page 12: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 12

Alice

§ Specially targeted at girls in middle school §  Installers: Windows, Linux, Mac, Generic Zip installer

–  Uses NetBeans platform for installer –  NetBeans plugin

§ help.alice.org § www.aliceprogramming.net § Supported by Oracle

Page 13: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 13

Greenfoot

§ FOSS created as university research project at University of Kent, Canterbury, UK

§ Create visual and interactive world and teaches OO concepts in Java §  ‘Actors’ live in ‘world’ to build games, simulations, etc. § Programmed in standard textual Java code §  IDE provides auto completion, syntax highlighting, etc

Page 14: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 14

Page 15: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 15

Greenfoot

§ Joy of code: thorough introduction using short video tutorials –  blogs.kent.ac.uk/mik/category/joy-of-code/

§ Text-based tutorials, javadocs § Greenroom: Exclusive to instructors § Greenfoot Hub: Workshops for teachers, F2F training, support, etc.

–  Encouraged to open local chapter

§ Supported by Oracle

Page 16: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 16

Page 17: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 17

BlueJ

§ FOSS created as university research project at University of Kent, Canterbury, UK

§ Teaches object-orientation § Supports

–  Fully integrated environment –  Graphical class structure display –  Graphical and textual editing –  Built-in editor, compiler, VM, debugger, etc. –  Interactive object creation, object calls, testing

Page 18: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 18

BlueJ

§ Specially targeted at girls in middle school §  Implemented in Java §  Installers: Windows, Linux, Mac, Generic JAR installer

–  Available as NetBeans plugin as well § Supported by Oracle

Page 19: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 19

LEGO Mindstorms

§ Software + Hardware to create small, customizable, programmable robots

–  1 NXT brick –  4 modular sensors (ultrasonic, sound, touch, light) –  3 servo motors –  7 connection cables –  USB interface –  NXT-G GUI to create/download programs to brick

§ NXT-OS -> Lejos

Page 20: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 20

NXT-G Snapshot

Page 21: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 21

Page 22: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 22

Page 23: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 23

Introduction to Minecraft

§ Breaking and Placing Blocks in 3D environment –  ~Infinite bucket of LEGO

§ Game –  Modes: Creative, Survival, Adventure, Hardcore –  Redstone: Logic gates

§ Download and Purchase § Minecon

Page 24: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 24

Page 25: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 25

Page 26: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 26

Minecraft Mods

§ Changes the game from what it originally was § Client-side and server-side mods § Several ways to mod

–  Minecraft Forge and Bukkit are popular ones

Page 27: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 27

Page 28: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 28

What do you want to make, Kaleb? “Minecraft mods”

§ Kaleb already loved playing Minecraft § Downloaded Minecraft Forge files and an IDE § Watched a Minecraft mod in Aditya’s videos §  Implemented the mod example with a twist § Watch and implemented several more of

Aditya’s mod examples

Page 29: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 29

Minecraft Workshop

§ Elementary/Middle/High school Kids § None/basic programming experience § Built several Minecraft mods

–  Show and Tell

http://java4kids.java.net/minecraft-worshop

Page 30: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 30

Page 31: CON 3431 - Introducing Java Programming to Kids

Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 31

Resources

§ New to Java: http://www.oracle.com/technetwork/topics/newtojava/overview/index.html

§ http://java4kids.java.net


Recommended