Engineering Problem Solving with C++, 3e Chapter 6 Test Bank
14. Which of the following statements properly invokes the random number generator storing the
resulting random number into myNumber.
15. A good way to assure that the random number generator will not give the same sequence of
random numbers each time your program is run is to
16. The incremental search method for finding the root of an equation requires that the two
guesses , a and b, at the root, satisfy the following criteria
17. If a variable which is declared to be an integer is passed by value to a parameter which is
declared to be a double, an error message will occur at compile time.
19. Constants that are declared to be global are available throughout the program in the main
20. The Newton–Raphson method algorithm for locating the root of a function is guaranteed to
locate a root in a known number of iterations.
21. A better approximation of the area under a function is obtained by decreasing the number of
trapezoids used.