|
Machine Code Simple Program Assignment 2-2 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):
A. Programming Concepts
and Skills
B. Software Development
C. Computer Environments and Systems
D. Topics
in Computer Science
|
Overall Expectations
|
| A2. |
demonstrate the ability to use control structures and simple
algorithms in computer programs; |
| A4. |
use proper code maintenance techniques and conventions when creating
computer programs. |
| B2. |
design software solutions to meet a variety of challenges; |
| C3. |
demonstrate an understanding of the software development process. |
|
Specific Expectations
|
| A4.1 |
demonstrate the ability to identify and correct syntax,
logic, and run-time errors in computer programs; |
| A4.2 |
use workplace and professional conventions (e.g., naming,
indenting, commenting) correctly to write programs and internal
documentation; |
| A4.3 |
demonstrate the ability to interpret error messages
displayed by programming tools (e.g., compiler, debugging tool),
at different times during the software development process
(e.g., writing, compilation, testing); |
| A4.4 |
use a tracing technique to understand program flow and to
identify and correct logic and run-time errors in computer
programs; |
| A4.5 |
demonstrate the ability to validate a program using a full
range of test cases. |
| B2.1 |
design programs from a program template or skeleton (e.g.,
teacher-supplied skeleton, Help facility code snippet); |
| C3.1 |
demonstrate an understanding of an integrated software
development environment and its main components (e.g., source
code editor, compiler, debugger); |
| C3.2 |
work independently, using support documentation (e.g., IDE
Help, tutorials, websites, user manuals), to design and write
functioning computer programs; |
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 Learning
As Learning
Students will be given time to:
- reflect on their progress/
understanding/areas of concern
based on teacher/student/peer
suggestions (e.g. after test take up)
- journalize their reflections
- reflect on the work of others
For Learning
The teacher will
- observe student progress/performance
- ask questions based on student work
- check homework correctness/completion when appropriate
- review formative quiz results
Of Learning
- 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-2 (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
- Machine Code (Appendix 2.2.1)
- Simple Java Programs (Appendix 2.2.2)
- Syntax Errors (Appendix 2.2.3)
- Common Logic Errors in Java (Appendix 2.2.4)
- 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
|