Object-oriented design to design a parent class called book

Assignment Help Basic Computer Science
Reference no: EM13283345

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.

Reference no: EM13283345

Questions Cloud

The command sequence in a normal smtp session : 1.What would the command sequence in a normal SMTP session be? Use C: to preface a command issued by the client and S: to preface a command issued by the server.
Advertising during the super bowl is pricey : Advertising during the Super Bowl is pricey and reserved for mega brands, but local television stations are allowed to air local advertisements during the broadcast.
Refuse to produce an energy-gobbling appliance : Should a marketing manager or a business refuse to produce an energy-gobbling appliance that some consumers are demanding? Should a firm install an expensive safety device that will increase cost but that customers do not want? Are the same principle..
How to set up or improve their cybersecurity : How should government justify telling private industry how to set up or improve their cybersecurity?
Object-oriented design to design a parent class called book : 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 th..
Immanuel kant would support the golden rule of religion : Immanuel kant would support the golden rule of religion. ethical relativism has been widely adopted as an ethical theory because of its universal moral norms and strict guidelines
Risk averse-risk seeking or risk neutral : Interview a businessperson who makes decisions, some of which are likely to involve some degree of risk. Assess their utility curve for money similar to the one that was constructed in the Measuring Risk (page three) lecture from earlier this week.
Social responsibility is the branch of philosophy : A socially responsible business person believes that the formal legal law is inferior to universal moral and ethical principles that can be determined by intuition. Social responsibility is the branch of philosophy that focuses on morally right and w..
Observe social responsibility standards higher : Corporations should not merely obey the law but rather should seek and observe social responsibility standards higher than the law since at times the law is silent or is not enforced. Corporate profit-seeking at times involves unacceptable social cos..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain how engineers be assigned to maximize sales

A sales manager has 3 areas and 5 sales engineers. If assignment of sales engineers to areas will result in expected sales as shown, how must engineers be assigned to maximize sales?

  Explain about how device works

Write down what first comes to mind as to what is good and bad about the way the device works. The range of tasks a typical user would want to do using it.

  Explaining discrete-time system which moves between states

A decision maker observes a discrete-time system which moves between states {s1,s2,s3,s4} according to the following transition probability matrix?

  Plan for processing the potential crime incident scene

Describe your plan for processing the potential crime/incident scene. Some of the items you will want to cover include

  Computer the value of the given number

Prompt the user for a number and an exponent. Computer the value of the given number (the base) raised to the power of the exponent.

  Examine graph which compares segment sequence numbers

Why does Segment Sequence Number remain unchanged (indicated by the horizontal line in graphs) with every drop in congestion window?

  Write maximum and minimum rotational latency of disk

Write down the maximum and minimum rotational latency of this disk? Determine the average rotational latency of this disk?

  Evaluating average degree of a vertex for geometric graph

For random geometric graph, G(n, r), evaluate average degree of a vertex: at least distance r from boundary, on boundary (convex hull), and estimate time (big Oh) of determining all edges employing: all vertex pairs testing.

  Design an application to take and process a pizza order

Design an application to take and process a pizza order. The user should be able to make pizza order choices from listboxes, and the application should display the order price.

  Change the hello program to print out your name

The contents of the file are given below. Name the file hello.c. #include #include int main() { printf("hello your-name-here\n"); exit(0)

  Business rules that are reflected in the erd

Write the business rules that are reflected in the ERD shown below. (Keep in mind that the ERD reflects some simplifications. For example, this ERD states that each book is only written by one author, but in reality, there are many books written by m..

  How a large output impedence effect the behavior op circuit

How would a large OUTPUT impedence effect the behavior of an op amp circuit? please talk about how the large output impedence would effect the circuit.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd