AP Computer Science :: Projects :: Elevens Lab Parts 3 and 4
Rubric
Due: Database Error
Due: Database Error
Problem
You will need to complete the shuffle method of the Deck class that you wrote in part 2. Use this class to implement the perfect shuffle and efficient shuffle methods as specified in the packet. You should create this class in the project from part 2. Use the DeckTester class from part 2 to test you shuffle method.
You will need to write the following methods in the Shuffler and Deck classes:
- perfectShuffle (Shuffler class)
- selectionShuffle (Shuffler class)
- flip (Shuffler class)
- arePermutations (Shuffler class)
- shuffle (Deck class)
The instructions for this project are in this packet. You do not have to turn in any of your answers to the questions from the packet.