Calculate the number of points a publication provides

Assignment Help Data Structure & Algorithms
Reference no: EM13334539

In this exercise you shall work with a system of records for publications associated with research and development.

In order to refine the task we take only two types of publications: books and journal articles. For all publications, we register a unique publication number, title, year of publication, subject, author and institutional affiliation (Hine, UIN, NTNU, University etc). For books, we record the number of pages, while articles we record the journals they are published in. The article gives 2 points, while the books will be calculated with 0.02 points per page book contains.

We get the following classes diagram:

Create classes in the class diagram above with the following specifications:

Each class will have __ init__ () which takes appropriate attributes as the argument (s). See description above.

Publication Index contains a list of objects of subclasses of Publication.

For any object (book, article) shall be able to:

• Calculate the number of points a publication provides.
• Find / Change values ??for all attributes.
• Using print () where all the attributes of a publication is printed.

For Publikasjontregister shall be made two ways:

• Prints all the products that are registered in the register
• Find the number of points as a particular institution has earned.Send the name of the institution as an argument.

Reference no: EM13334539

Questions Cloud

Write a program that first prompts the user : Write a program that first prompts the user (repeatedly , if necessary) to supply a single digit(0,1,2..9) The program should repeatedly prompt the user for integer values until a sentinel value of 0 is entered to terminate the program.
Where z is marginal utility per dollar spen : Where z is marginal utility per dollar spent, x is the amount spent on product A, and y is the amount spent on product B.
Explain the case if the constant c were not multiplied by n : For the following, use the function U= V^(a) n^(1-a) exp(bS/n) + cn 1.find dU in terms of S, V , and n where a, b, and c are constants. 2. Show explicitly that U=ST -PV +?n. 3. Show that this would not be the case if the constant c were not multip..
What arguments would make for allowing insurers to set rates : what arguments would you make for allowing insurers to set their own rates and be regulated by market or competitive forces. what arguments would you make for continuing regulatory approval of insurance rates.
Calculate the number of points a publication provides : In this exercise you shall work with a system of records for publications associated with research and development.
How many patient days does the hospital need to break even : How many patient days does the hospital need to break even and what level of revenue is needed to earn a target income of $540,000?
How many people must attend for the sorority to break even : Each person would pay $40 to attend; 200 attendees are expected Will the event be profitable for the sorority? Show computations and how many people must attend for the sorority to break even?
What was the work done on the object : a variable force f(x) =8x^3 -2x acts on a 2.4 kg objects movinf it from x=0.2 to x=1.4 m. what was the work done on the object
Important task confronting international marketers : what is the meaning of " the most challenging and important task confronting international marketers is cultural judgments because judgments are derived from experience that is the result of acculturation in the home country"

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Create a program that reads product number and prices

The Rinky Dooflingy Corporation produces different kinds of doofingies, each identified b a product number. Create a program that reads product number and rates and stores these values in two arrays,

  Find maximum possible amount of money by optimal strategy

Removes it from row permanently, and receives value of coin. Find out the maximum possible amount of money we can definitely win if we move first.

  Design a model using a flow diagram

Design a model using a flow diagram or pseudo code, hardware, and a software driver that can display the BCD digits 0-9 on a single-digit LED display. Build the BCD to seven-segment decoder in the software.

  What is the time complexity of running the below bubblesort

Show a simple modification that can be made to the below bubblesort that significantly improves the time complexity for an array of sequential integers.

  Question about key encryption

Assume Alice wishes to send an e-mail to Bob. Bob has a public private key pair, Alice has Bob's certificate. But Alice does not have a public, private key pair.

  Opens an output file with the external name

Design an algorithm that does the following: opens an output file with the external name number_list.dat, uses a loop to write the numbers 1 through 100 to the file and then closes the file.

  Write a breadth-?rst search algorithm

Write an algorithm to classify the edges of a directed graph G into the four categories: tree edge, back edge, forward edge and cross edge (de?ned in De?nition 7.14, pages 342-343).

  Convert the following expression in postfix

Convert the following expression in postfix (reverse Polish notation). Remember the rules of precedence for arithmetic operators. To get full credit, you need to show all work done. i.e. sample snapshot of the stack

  Factors-principles considering indecency regulation issues

What factors and principles should the federal government take into account when considering indecency regulation issues?

  Question about site structure

Browse the Web to discover examples of the following site structures Linear and Hierarchical and describe how the content fits the structure.

  How two types of assets are valued for balance sheet purpose

Explain how the 2-types of assets are valued for balance sheet purposes, using the following assets owned by a corporation that writes and sells software packages

  Evaluate the average complexity of an enqueue operation

Evaluate the average complexity of an enqueue operation. Determine the average complexity of the dequeue (remove) operation.

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