Details of this Paper

Use object-oriented design to design a parent class

Description

solution


Question

Question;Use object-oriented design to design a parent class called Book that will receive the ISBN, author, title and price of a book, and select and print records for all books with a price of more than $50.00. Design a child class called TextBook that will use the existing methods of its parent class and receive an extra data field called grade that can be a number from 0 to 12. This class is to select and print records of all textbooks of grades 3 to 6. Design another child class called PictureBook that will use the existing methods of its parent class and receive an extra data field called age that can be a number from 0 to 5. This class is to select and print records of all picture books for ages 3 to 4.;a Design the class table and UML diagram.;b Write an algorithm for each operation.;c Write a test or driver algorithm to test the solution.;Instructions from WS 5.4;i. Create one design of the class table. (What will our design be to solve this programming request?);Defining Diagram;Input Processing Output;ii. Create one UML diagram of the entire process. (We need to develop a big picture diagram of our solution algorithm?);iii. Create four flowcharts for each class including the driver algorithm. (Each class flowchart needed is Driver, Book, Textbook and Picturebook);iv. Create four psuedocode algorithms include the following classes;1. Driver Algorithm.;2. Book Algorithm.;3. Textbook Algorithm.;4. Picturebook Algorithm.;v. Create three desk checks for each class algorithm.;a. In a Word document do the following;i. Create one design of the class table.;ii. Create one UML diagram of the entire process.;iii. Create four flowcharts for each class including the driver algorithm.;iv. Create four psuedocode algorithms include the following classes;0. Driver Algorithm.;1. Book Algorithm.;2. Textbook Algorithm.;3. Picturebook Algorithm.;v. Create three desk checks for each class algorithm.

 

Paper#31511 | Written in 18-Jul-2015

Price : $54
SiteLock