presentation week3
play

Presentation Week3 Presented by: Hanan Alnizami Wednesday June - PowerPoint PPT Presentation

Presentation Week3 Presented by: Hanan Alnizami Wednesday June 11,2008 sdsa Plans for week 3: Reading-Teaching CS1 with Karel the Robot Introduction to Programming Using Java- Chapter 3 Problem Solving/Research Java Code and


  1. Presentation Week3 Presented by: Hanan Alnizami Wednesday June 11,2008

  2. sdsa Plans for week 3: •Reading-Teaching CS1 with Karel the Robot •Introduction to Programming Using Java- Chapter 3 •Problem Solving/Research Java Code and programming •DMP Website- Uploaded •Shapes Applet Project •Shapes Applet Project •Adding Icons to an applet •Drag and Drop (DnD) •Applying the Icons to an interactive panel Hanan Alnizami- week 3 2 presentation

  3. Lit Review: sdsa • Using interesting predefined classes to introduce the fundamentals of OOP followed quickly by the traditional fundamentals of iteration and selection, also using the same predefined classes • Shift the paradigm from procedural programming to OOP • Karel ++: A General Introduction to the Art of OOP • Translate Karel++ and use Karel the Robot • Translate Karel++ and use Karel the Robot Karel the Robot inhabits a simple world with streets, intersections and avenues. Robots carry beepers that may be placed on intersections. Several robots may exist in the same world. Hanan Alnizami- week 3 3 presentation

  4. Lit Review (continue): sdsa • Differences from previous Implementation and the New approach: i. Old uses Karel and Karel++; New uses Java ii. Old does not support parameters; Java uses objects, local and instance variables and threads. and threads. iii. Old integrated a development environment with simulator; New uses standard Java development environment. Hanan Alnizami- week 3 4 presentation

  5. Lit Review (continue): sdsa • Course Outline i. Week One: Describe Robot and the world they Inhabit. Introduce Objects and methods. ii. Week Two: Extend Robot class with behaviors; move left, move right..etc iii. Week Three: Introduce Selection and Iteration; value returning methods. value returning methods. iv. Week Four: Adding Parameters to methods. v. Week Five: Extending robots with instance variables; DeliverRobot, how many moves a robot takes to deliver a service Hanan Alnizami- week 3 5 presentation

  6. Lit Review (continue): sdsa • Discussions: • Robots are overly used! • Robots are fun! Students learn and have fun! • Course is learning about robots?! • Robots are tool to teach programming. • Robots are tool to teach programming. • Visual representation of a subject makes it easier to learn Hanan Alnizami- week 3 6 presentation

  7. Lit Review (continue): sdsa • Future Plans: i. Discuss attributes along with behaviors ii. Adding richer collections of classes, more interaction with the environment. iii. Adding GUI applications to enhance learning experience. Becker is writing a book that starts off with Karel and also include all CS1 courses topics. Hanan Alnizami- week 3 7 presentation

  8. sdsa Tasks: •Documents: •Introduction to Programming Using Java: Chapter 3 •Projects: •Adding objects (icons) to form •Adding objects (icons) to form •Drag and Drop icons to panel •Drawing 3D shapes into canvas Hanan Alnizami- week 3 8 presentation

  9. sdsa Accomplished: •Readings •DMP website Partially Accomplished: Partially Accomplished: •Shapes Applet Project Hanan Alnizami- week 3 9 presentation

  10. sdsa What’s learnt: •Importing icons to labels in NetBeans •Drag and Drop– how it works. Hanan Alnizami- week 3 10 presentation

  11. Problems: sdsa •Enable drop to a panel. The framework for drop is in place for the following components: •JList •JTable •JTree •How I am going about it? -- Google -- Sun Forums (http://forum.java.sun.com/forum.jspa?forumID=54) --Mahjoob Forums (http://www.mahjoob.com/en/forums/forumdisplay.php?f=21) Hanan Alnizami- week 3 11 presentation

  12. sdsa Week 4 Plans: •Readings– Chapter 4, Lit Review •How to add drop to a jEditorPane •Update DMP website •Play a few games Hanan Alnizami- week 3 12 presentation

  13. sdsa References: • Becker, Byon. Teaching CS1 with Karel the Robot in Java. Ontario, CA, 50-54. • Sun Developer Network-- Forums (http://forum.java.sun.com/forum.jspa?forumID=54) • Mahjoob Tech Talk Forums (http://www.mahjoob.com/en/forums/forumdisplay.php?f=21) (http://www.mahjoob.com/en/forums/forumdisplay.php?f=21) • Editor Drop Target (http://www.java2s.com/Code/Java/Swing-JFC/EditorDropTarget.htm) • Eck, D. J. Introduction to Programming Using Java . November 2007, Geneva, NY 1-676. Hanan Alnizami- week 3 13 presentation

  14. sdsa The End •Any questions or comments? Hanan Alnizami 14

Recommend


More recommend