Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2
Introduce Java Programming
to Kids
James Weaver, @javafxpert
Arun Gupta, @arungupta
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3
Introducing Kaleb & Jillian
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4
Introducing Aditya & Mihir
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
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
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
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”
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
Mighty Battle of Thumpback, Hothead, & Eruptor
scratch.mit.edu/projects/The_Frog/3191476
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11
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
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16
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
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
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20
NXT-G Snapshot
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
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
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
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30
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

CON 3431 - Introducing Java Programming to Kids

  • 1.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.1
  • 2.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.2 Introduce Java Programming to Kids James Weaver, @javafxpert Arun Gupta, @arungupta
  • 3.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.3 Introducing Kaleb & Jillian
  • 4.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.4 Introducing Aditya & Mihir
  • 5.
    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
  • 6.
    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
  • 7.
    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
  • 8.
    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”
  • 9.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.9 Mighty Battle of Thumpback, Hothead, & Eruptor scratch.mit.edu/projects/The_Frog/3191476
  • 10.
    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
  • 11.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.11
  • 12.
    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
  • 13.
    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
  • 14.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.14
  • 15.
    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
  • 16.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.16
  • 17.
    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
  • 18.
    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
  • 19.
    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
  • 20.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.20 NXT-G Snapshot
  • 21.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.21
  • 22.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.22
  • 23.
    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
  • 24.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.24
  • 25.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.25
  • 26.
    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
  • 27.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.27
  • 28.
    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
  • 29.
    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
  • 30.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved.30
  • 31.
    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