SC025: COMPUTER SCIENCE |
Title:
Construct a program that performs one-dimensional array operations for problems involving linear search.
Objectives:
● To know the purpose of using array structure.
● To study linear search in a one-dimensional array.
● To understand how to implement a linear search algorithm.
QUESTION
Every day, 5 weather stations have recorded temperatures expressed in degrees Fahrenheit (°F). Write a program that will accept each weather station ID, station name, Fahrenheit temperature in a day, convert it to degree Celsius (°C) and display all the converted temperatures with the station name on the screen.
Calculate the average temperature, and print a temperature report of minimum and maximum temperature in degrees Celsius (°C) with their index location respectively. In addition, the program also provides access to temperature based on the station ID. Test the system’s ability to receive and display records based on a station ID. If a record is found, relevant information
will be displayed together with the index location or no record will be found otherwise. After all, temperatures have been processed, the words ‘All temperatures processed’ are to be displayed on the screen.
Outcomes:
On completion of this assignment, students should be able to:
● Implement a one-dimensional array operation for problems involving
linear search.
The post SC025: COMPUTER SCIENCE Title: Construct a program that performs one-dimensional array operations for problems involving linear search. Objectives: ● To know the purpose of using array structure. ● To study linear search in a one-dimensional array. ● To understand how to implement a linear search algorithm. QUESTION Every day, 5 weather stations have recorded temperatures expressed in degrees Fahrenheit (°F). Write a program that will accept each weather station ID, station name, Fahrenheit appeared first on My Academic Papers.