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

  1. Be able to design and develop code using structured programming methods

Assessments

  1. 25/May/2016 Assessment A112.2: Software Coding Final

Week 5 Lesson Activities - Ticket Machine Improvements (18-May-2016)

  1. Refactor your naive Ticket Machine, and make it more realistic
  2. Take screen shots of three example syntax errors for your final report.
  3. 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.
  4. Produce a final report containing screen shots of your completed Ticket Machine in operation together with the code.
  5. 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)

  1. Create a random Game Map for Foxes and Rabbits
  2. Produce a Word report showing a random map and the code used to produce it.
  3. Document and explain examples of using selection and repetition in Java
  4. In your report explain the life time of variables, and how data can be passed between modules
  5. 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

Lesson Index