In a program that uses an endfile-controlled loop to compute product of a list of numeric input data, the product variable must be initialized to __________.

a. 0
b. 1
c. -1
d. the EOF value
e. none of the above


B

Computer Science & Information Technology

You might also like to view...

A(n) _______________________ graph is a graph in which each node has a connection to every other node.

A. directed B. cyclic C. acyclic D. fully connected

Computer Science & Information Technology

Comparison operators are ________ used to compare two values, such as less than or not equal

Fill in the blank(s) with correct word

Computer Science & Information Technology

An EAP failure message is sent to the ____.

A. authenticator B. authentication server C. client D. RADIUS server

Computer Science & Information Technology

When the out-of-balance condition has been created by a  right high subtree of a left high tree, we must balance the tree by rotating the ____.

A. out-of-balance node to the left B. out-of-balance node to the right C. left subtree of the out-of-balance node to the left and then the left subtree to the right D. right subtree of the out-of-balance node to the right and then the right subtree to the left

Computer Science & Information Technology