There are 3 small projects needed to be programmed in java. Within these three are a couple smaller parts to make the entire program work. It should not take long at all for a java programmer with experience since these are beginner programs.
1) a) 7.7 Create a class called DeckofCards that stores 52 objects of the card class. Include methods to shuffle the deck, deal a card, and report the number of cards left in the deck. The shuffle method should assume a full deck. Create a driver class with a main method that deals each card from a shuffled deck, printing each card as it is dealt.
b) [url removed, login to view] Define a class called quiz that manages a set of up to 25 question objects. Define the add method of the quiz class to add a question to a quiz. Define the Give Quiz method of the quiz class to present each question in turn to the user, accept an answer for each one, and keep track of the results. Define a class called QuizTime with a main method that populates a quiz, presents it, and prints the final results.
c) 8.3 Design and implement a set of classes that define various types of reading material: books, novels, magazines, technical journals, and textbooks. Include data values that describe various attributes of the material, such as the number of pages and the name of the primary characters. Include methods that are names appropriately for each class and that print an appropriate method. create a driver class to instantiate and exercise several oft he classes.
d)8.8 Design and implement a set of classes that define various courses in your curriculum. Include information about each course such as the title, number, description, and department which teaches the course. Consider the following categories of classes that comprise your curriculum when designing your inheritance structure. Create a driver class to instantiate and exercise several oft he classes.
2)PP8.4 Design and implement a set of classes that keep track of various sports statistics. Have each low level class represent a specific sport. Tailor the services of the classes to the sport in question, and move common attributes to the higher level classes as appropriate. Create a driver class to instantiate and exercise several of the classes.
PP8.6 Design and implement a set of classes that define a series of three dimensional geometric shapes. For each shape, store fundamental data about its size and provide methods to access and modify this data. In addition, provide appropriate methods to compute each shape’s circumference, area, and volume. In your design, consider how shapes are related ans thus where inheritance can be implemented. Create a driver class to instantiate several shapes of differing types and exercise the behavior you provided.
PP9.3 Modify the RationalNumber class from chapter five so that it implements the Comparable interface. To perform the comparison, compute an equivilent floating point value from the numerator and denominator for for both RationalNumber objects, then compare them using a tolerance value of 0.0001. Write a main driver to test your modifications.
PP9.6 Design a java interface called Priority that includes two methods: setPriority and getPriority. The interface should define a way to establish numeric priority among a set of objects. Design and implement a class called Task that represents a task (such as on a to do list) that implements the Priority interface. Create a driver class to exercise some Task objects.
3) PP9.8 Design a java interface called Lockable that includes the following methods: setKey, loco, unlock, and locked. The setKey, lock, and unlock methods take an integer parameter that represents the key. The lock and unlock methods lock and unlock the object, but only if the key passed in is correct. The locked method returns a Boolean that indicates whether or not the object is locked. A Lockable object represents an object whose regular methods are protected: if the object is locked, the methods cann