Question: How many values can the heights array hold? 100 O 101 2 Why was the heights array declared to hold double values? Because the mean

How many values can the heights array hold? 100 O 101 2 Why was the heights array declared to hold double values? Because the mean was computed as a double. o Because the standard deviation result is a floating-point value. o Because the input file contains floating-point values. O Because the sumOfSquares variable is a double. 3 Why is the input data for this program stored in an array after being read? O Because the formula requires a square root operation. O Because the input data is formatted into rows and columns. O Because the input is stored in a file. Because the data needs to be processed twice to compute the result. 4 What would happen if there were more than 100 values in the input file? O The extra data would be ignored. A run-time error would occur. O The array would be expanded automatically to accommodate the extra data. O The compiler would flag that situation as an error. How many values can the heights array hold? 100 O 101 2 Why was the heights array declared to hold double values? Because the mean was computed as a double. o Because the standard deviation result is a floating-point value. o Because the input file contains floating-point values. O Because the sumOfSquares variable is a double. 3 Why is the input data for this program stored in an array after being read? O Because the formula requires a square root operation. O Because the input data is formatted into rows and columns. O Because the input is stored in a file. Because the data needs to be processed twice to compute the result. 4 What would happen if there were more than 100 values in the input file? O The extra data would be ignored. A run-time error would occur. O The array would be expanded automatically to accommodate the extra data. O The compiler would flag that situation as an error
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
