Unit 5

In unit #5, students will put everything (except SQL, although if you can think of a use tell me!) together

Structured, Object Oriented Programming and recursion can all be used together to solve very complex problems. In this final Unit / Assignment students will use everything they have learned to create the sequences to solve a 2x2x2 Rubik's Cube

Key concept students will learn is:

  • Design before code
  • Structured programming
  • OOP
  • Recursion
  • ...

Problem:

  • given users a method to input the placements of the colors on a 2x2x2 Rubik's Cube
  • the program will then present to the user the steps they need to take to actually solve the Rubik's Cube
  • the final solution will be marked like a weekly assignment
  • you MUST use classes and recursion (I know there are better ways to solve it!)
  • I am the customer, so if you have any questions, ask me

You can practice here: https://www.randelshofer.ch/rubik/virtual_cubes/pocket/instructions/2x_instructions_big.html

We will go over the class diagrams together.