Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

All techniques in Java are dynamic polymorphic as a plan decision. Talk about the benefits and disservices of making dynamic polymorphism discretionary for Java techniques.

All techniques in Java are dynamic polymorphic as a plan decision. Talk about the benefits and disservices of making dynamic polymorphism discretionary for Java techniques.

Segment C 5 Numerical Methods (a) Consider number division of one two's-supplement paired number by another. Programming dialects might shift in the outcome when one contention is negative. What contrasting shows could they be following? (b) Describe cautiously, or give pseudocode for, the standard double whole number longdivision strategy. What normal shortcoming must it guard against? (c) Describe the cycle strategy known as progressive estimation by division. What does it share practically speaking with standard long division? (d) Describe cautiously, or give code changes to, the standard long division calculation from part (b) with the goal that it processes two pieces of result for each cycle. (e) Single-accuracy drifting point portrayal utilizes a sign piece, eight pieces of example, a secret piece and 23 pieces of put away mantissa. Utilizing a steady encoding, comparative or indistinguishable from the IEEE standard, give hexadecimal portrayals of the accompanying four numbers: 1.0, 0.125, 4096.0 and ?0.0.

(f ) Consider various renditions of an advancing compiler, every one of which utilizes IEEE standard portrayal for all factors. Give two justifications for why they may order a drifting point program into code that, when run, produces varying results. 6

6 Numerical Methods A picnicker brings hot dark espresso and cold milk in two indistinguishable protected jars and then, at that point, blends them for his beverage. His companion asserts that the beverage would have wound up a similar temperature assuming that he had blended the two at home and brought one jar. Note: The temperature of an article is the hotness energy inside it separated by its hotness limit. The pace of hotness energy stream from a more smoking to a cooler item is their temperature distinction partitioned by their protection obstruction. Whenever two liquids are blended the resultant temperature is the amount of their underlying temperatures weighted by their extents. (a) Give a reasonable state vector for a basic, limited contrast, time area reenactment of the beverage framework. (b) List the underlying qualities and whatever other boundaries that are required for the reenactment. Sketch pseudocode for every one of the two situations. Expect to be consistent surrounding temperature and express any further suppositions. (c) How might you select a decent time venture for these two recreations or ought to the time steps be versatile? What precision could you hope to accomplish? Is the decision of time step prone to influence whether the companion is demonstrated set in stone?

(d) Suppose the two-flagon recreation were expressed in stream grid structure. What decides what number of columns the lattice could have? Is this a reasonable methodology to displaying the framework? (e) Why is in reverse security typically a valuable property of mathematical techniques? Does that thought apply to this recreation?

imageimage

Pseudocode is very important for programmers. It helps to sort out your thoughts before coding and is for humans (programmers), not machines. Eventually, the pseudocode will need to be converted into an actual program for the machine to read. Write detailed pseudocode for a program that is designed to organize a family's property tax payments for the past 20 years. The program should accomplish the following tasks: 1. Prompt the user for the property tax amount and also the year. 2. Use appropriate data structure to store the property tax amount and the year. 3. Use a linear search algorithm to determine which year the family paid the highest property tax, and display the result. 4. Calculate the average amount of property tax paid over the years, and display the result. Expectations The program should: Allow user input Select appropriate data structure Apply linear search algorithm Write the program in pseudocode. Please note that this is not an actual program but a program in pseudocode which can be converted into a working program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Foundations of Financial Management

Authors: Stanley Block, Geoffrey Hirt, Bartley Danielsen, Doug Short, Michael Perretta

10th Canadian edition

1259261018, 1259261015, 978-1259024979

More Books

Students also viewed these Computer Network questions

Question

What kind of rays are X-rays?

Answered: 1 week ago

Question

What does the term mutually exclusive investments mean?

Answered: 1 week ago

Question

Discuss macroeconomic factors that would influence the yield curve.

Answered: 1 week ago