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.
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"
|