Higher Nationals in Engineering
Overview - Unit 112: Computer Programming Techniques
This week will focus on introducing Java, and how to
create simple classes with attributes and methods
Learning Outcomes
- Be able to design and develop code using structured programming methods
Assessments
-
25/May/2016
Assessment A112.2: Software Coding
Final
Week 5 Lesson Activities - Ticket Machine Improvements (18-May-2016)
-
Refactor your naive Ticket Machine, and make it more realistic
-
Take screen shots of three example syntax errors for your final report.
-
Take a screen shot of one example of a semantic error. Take
screen shots of using the debugger to identify why the code
is incorrect.
-
Produce a final report containing screen shots of your completed
Ticket Machine in operation together with the code.
-
For M1 add an evaluation of the Ticket Machine clearly
identify its limitations, and suggest ways that the simulation
could be made more realistic
Week 5 Lesson 2 Activities - Java Programming (18-May-2016)
-
Create a random Game Map for Foxes and Rabbits
-
Produce a Word report showing a random map and
the code used to produce it.
-
Document and explain examples of using selection and repetition
in Java
-
In your report explain the life time of variables, and
how data can be passed between modules
-
For M1 add an evaluation of the random map and clearly
identify its limitations, and suggest ways that the simulation
could be made more realistic
Useful Resources