# Search Algorithm

[You have been provided three Scenarios (A, B and C.) You should choose only one scenario for your entire task.]

You are employed as a software engineer for the Department of the Environment. You create programs/ application for making calculations and predictions on data concerning environmental issues.

Choose one of the following Scenarios (A, B and C.) for your programming assignments.

Scenario A (Sort and Search Algorithm).

The company has received a number of issues from the beta testers of their latest administration software released in early January 2018, the testers have been stress testing the system and outlined that when adding in data files contain statistics the program is slowing and making it difficult to import large amounts of data.

You have been tasked with creating an application which can read in large amounts of data maximum 1 million entries contained within an CSV file.

The software should sort the data into ascending order and displayed for users to analyse. Then allow for the data to be searched to look for specific data entries if required.

This software algorithm designed and developed needs to be explained by you. This will aid the programmers within the company to analyse your solution to provide a patch for their application recently released.

Scenario B (Fuel efficiency calculator).

According to studies backed by the department of energy, the average car will be at its advertised MPG at 55 mph. But as the speed increases:

– 3% less efficient at 60 mph

– 8% less efficient at 65 mph

– 17% less efficient at 70 mph

– 23% less efficient at 75 mph

– 28% less efficient at 80 mph.

Write a program that calculates the fuel consumption of a car at these speeds. The user should be able to input the advertised fuel efficiency in Miles Per Gallon and the program should display fuel efficiency of the car at the speeds indicated above. The Program should allow for the % less efficiency to be increased or decreased for the mile per hour (mph) as well, if required by the user.

Scenario C (Global warming tipping point).

The concept of tipping points is well established in climate science and some examples include the melting of the Greenland ice sheet, the destruction of the Amazon rainforest, the thawing of Arctic permafrost and the slowdown of the global ocean conveyor belt that transports heat around the globe – called thermohaline circulation.

But while scientists are confident that tipping points exist in theory, predicting when they might occur is far more difficult.

The global warming tipping point is believed to be when CO2 in the atmosphere reaches 400 parts per million. Current concentration of atmospheric COis at 392 parts per million.

For the past ten years (2005 – 2014), the average annual rate of increase of atmospheric COis 2.11 parts per million. (This rate of increase is more than double the increase in the 1960s).

Write a program that predicts when the global warming tipping point will be reached.

[You have been provided three Scenarios (A, B or C.) You should choose only one scenario for your entire task]

Need help with this assignment or a similar one? Place your order and leave the rest to our experts!