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

  What do u get when u type in that subarray and why?

so there is an array called arr2=[ 1 2 3; -2 -3 -4; 3 4 5]; what does it mean to access the subarray arr2(:, 1:2:3)? like what do u get when u type in that subarray and why?

  Determine the first sets of each of the rhss

determine the FIRST sets of each of the RHSs of each of the productions. Assume that upper case letters are nonterminals and lower case letters are terminal symbols. A -> abD | acD | D D -> d | eD Apply the pairwise disjointness test to show that ..

  Explain throughput and capacity for effectiveness of system

Do you agree or disagree that throughput and capacity are finding factors for effectiveness of system more so than processor speed?

  Determine access time when there is cache miss

Determine the access time when there is cache miss? Suppose that cache waits until line has been fetched from main memory and then re-executes for hit.

  How many block of main memory is needed-direct mapped cache

Suppose a computer using direct mapped cache has 2^32 words of main memory and a cache of 1024 blocks, where each cache block contains 32 words. How many block of main memory are there?

  How to choose optimal location of pipeline for oil field

A Consultant is to lay oil pipeline running east to west through the oil field of n wells. From each well spur pipeline is to be connected directly to main pipeline along shortest path.

  Design a program to produce a sales report

Design a program that will read a file of sales records and produce a sales report. Each record in the file contains a customer's ID, name, a sales amount, and a validated GST code.

  Advantage to process the data

You can write your program to next the loops in either direction, that is, process row by row or column by column. Explain which way you would choose to process the data. What is the advantage?

  List typical reports needed by this business

List typical reports needed by this business that would be generated from this database and specify their use. For one of the reports listed, define the report, in terms of selection criteria, sort order, data elements and use of the report.

  Evaluate project at work or home where scope creep occured

Evaluate a situation or project either at work or at home where scope creep occurred. Describe the situation, including the additions to the scope and what could have been done differently to reduce.

  Which of the following addresses are not allowed on internet

Which of the following addresses are not allowed on the internet?

  Factors finding whether something is politically feasible

Describe political feasibility. What factors go into determining whether something is politically feasible in an organization? Answers may include whether a sponsor exists

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