Computer Science 101 Quiz E Name ______________________ 1. Suppose the number of distinct values of type float is 2^32. The number of values that lie in the interval (-1, 1) is closest to: a. 2 b. 2 ^ 16 c. 2^31 2. The number of bits in the Exponent component of an IEEE 32 bit float is a. 1 b. 8 c. 23 d. 24 3. The fgetc() function a. reads at most one byte each b. may read more than one byte time it is called depending on the format code c. always consumes data until a newline is found. 4. The fgets() function a. reads a single byte from b. always reads a specified number a file of bytes from a file c. stops reading when it finds d. stops reading when it finds a a '\n' newline character or null character or fills the fills the specified buffer specified buffer space. space. 5. Suppose the fputs() function is called as follows: fputs(buf, stdout); Which best describes how the function will operate. a. A single byte stored at address b. bytes commencing at address buf buf will be sent to stdout will be sent to stdout until a \n (newline) character is found. c. bytes commencing at address buf will be sent to stdout until a NULL (binary 0) character is found.