Examlex

Solved

Ten Students in a Graduate Program at Carleton University Were

question 9

Multiple Choice

Ten students in a graduate program at Carleton University were randomly selected.Their grade point averages (GPAs) when they entered the program were between 11.5 and 12.0.The following data were obtained regarding their GPAs on entering the program versus their current GPAs.  Entering GPA (E)   Current GPA (C)  11.511.611.811.711.611.911.611.611.511.911.911.812.011.711.911.911.511.811.712.0\begin{array} { c c } \text { Entering GPA (E) } & \text { Current GPA (C) } \\11.5 & 11.6 \\11.8 & 11.7 \\11.6 & 11.9 \\11.6 & 11.6 \\11.5 & 11.9 \\11.9 & 11.8 \\12.0 & 11.7 \\11.9 & 11.9 \\11.5 & 11.8 \\11.7 & 12.0\end{array}


Definitions:

Scanf

A standard function in C that allows for formatted input from the user or a file.

"%lf"

A format specifier in C/C++ used in conjunction with printf or scanf functions to represent or read a double precision floating point number.

Comment

Text within source code used to explain code functionality or to make notes, which is ignored by the compiler or interpreter.

Flush()

A method often used to clear or empty a buffer in programming, ensuring that all output operations are performed immediately.

Related Questions