hts.StevenWood.com

Activity 2-2

Home ] Up ] Activity 2-1 ] [ Activity 2-2 ] Activity 2-3 ] Activity 2-4 ] Activity 2-5 ] Activity 2-6 ] Activity 2-7 ][ Last Page ]

Machine Code
Simple Program
Assignment 2-1
Syntax Errors
Logic Errors
Assignment

Simple Java Programmes    

Unit 2 Activity 2

Time:  160 minutes

Description  

Students create simple programmes, including an applet, while looking at the format and structure of Java programs. The concepts of Objects, Characteristics, and Methods are introduced. Students will use the Java IDE for the first time.

Strand(s) & Learning Expectations  

Strand(s):  Theory and Foundation, Skills and Processes

Overall Expectations
SPV.01 develop effective programs by following the steps in the software design process;
SPV.02 use defined programming practices (e.g., headers, indentation, internal documentation, informative variable names);
SPV.03 produce appropriate internal and external documentation;
Specific Expectations
SP1.01 resolve ambiguities and missing information in problem statements;
SP1.02 use the input, process, and output model to solve problems;
SP1.04 develop and maintain a project plan that covers all aspects of the development process for a computer program;
SP1.07 solve the same problem using various tools (e.g., a calculator and a computer program, sort program and a spreadsheet/data-base/ word processor sort function);
SP1.09 incorporate modularity into the design process.
SP2.07 implement a program design using sequence, selection, and repetition structures;
SP2.09 adhere to defined programming style, including naming conventions for variables and subroutines, indentation, and spacing;
SP2.10 incorporate and maintain internal documentation to a specific set of standards, including author, date, file name, purpose, and explanatory comments of major statement groups;
SP2.13 interpret errors during testing and program execution;
SP2.14 trace program execution using manual methods and software debugging tools;
SP2.15 identify and correct logic, runtime, and syntax errors in programs;
SP3.03 use common Internetworking services to access and navigate global information resources;
TF2.07 describe the purpose of functions and procedures, and how they are expressed in a programming language;
TF2.10 identify differences among logic, runtime, and syntax errors;
TF2.14 explain the importance of external and internal documentation and programming style;

Prior Knowledge & Skills  

  • Make sure that Java is installed and working on the workstations.
  • Make sure that the Java IDE is installed and working.

Planning Notes

  • Check that students have the proper hand outs for the class.
  • Use PowerPoint presentation to present format to students.
  • See that all students have a working copy of the program.
  • Give students time to work on the Assignment 2-1 (Appendix 2.2.1).

Teaching/Learning Strategies  

Assessment & Evaluation of Student Achievement  

  • a formative assessment of the assigned work in the form of roving conferences as students work on in-class tasks (a checklist could be used);
  • a summative assessment in the form of evaluating Assignment 2-1 (Appendix 2.2.1)
  • a summative assessment in the form of a quiz on this activity;
  • a summative assessment in the form of a test on this unit.

Accommodations

Resources

  • Hume, J.N. Patterson and Stephenson, Christine. Introduction to Programming in Java. Toronto, Ontario, Canada. Holt Software Associates Inc. 2000.
    ISBN 0-921598-39-4
  • Lambert, Kenneth A. and Osborne, Martin. Java Complete Course in Programming & Problem Solving. Cincinnati, Ohio, USA. South-Western Educational Publishing. 2000.
    ISBN 0-538-68707-X
  • Arnow, David M. and Weiss, Gerald. |Introduction to Programming Using Java: An Object Oriented Approach. Don Mills, Ontario. Addison-Wesley. 2000.
    ISBN 0-201-61272-0
  • Deitel, H.M. and Deitel P.J. Java: How to Program. 3rd ed. Upper Saddle River, New Jersey. Prentice Hall.1999.
    ISBN 0-13-012507-5
  • Eckel Bruce. Thinking in Java. 2nd ed. Upper Saddle River, New Jersey, USA. Prentice-Hall. 2000.
    ISBN 0-13-027363-5 available for download from http://www.mindview.net/Books/TIJ/ in various formats
  • Eck,  David J. Introduction to Programming Using Java 3.1 ed.  2001. Open Publication License. 2000. <http://math.hws.edu/javanotes>
  • Stein, Lynn Andrea. Interactive Programming in Java. Morgan Kaufmann Publishers. 1999. 
    ISBN 1-55860-557-6 Available for download from http://www.mkp.com/ipij/
  • Roedy Green. How to write unmaintainable code. http://mindprod.com/unmain.html
 
Home ] Up ] Activity 2-1 ] [ Activity 2-2 ] Activity 2-3 ] Activity 2-4 ] Activity 2-5 ] Activity 2-6 ] Activity 2-7 ][Last Page]
All material on this site is copyright © 1997- by Steven Wood or as credited. All right reserved. Use of this site indicates you agreement with the  terms of use.
Send comments or questions to about this page.
Every attempt has been made to credit work under copyright. If there are any claims that copyright has been missed please contact the .
+SDG+