a) Write an algorithm for a program which prompts the user to enter the five test scores, determine total of the five tests and determine the weighted average of each test supposing that each test weighs 20%.
b) Explain the index number as relates to the time series analysis? In the regression of a time series which states data as the function of calendar year, state the requirement of regression is violated? Explain how might one overcome this requirement and still carry out a successful time series analysis?