Question: q 1 part 2 . , 28. Using the following function prototype which statement about the argu passed to parameter A istr void Flconst int

q 1 part 2
. , 28. Using the following function prototype which statement about the argu passed to parameter A istr void Flconst int Al l, int Cnt) a. The argument is modified when ch b. The argument passed to parameter A changes are made to parameter A in function F must always have the same number of elements, every time function F is invoked. C. Changes can not be made to parameter A in functionF king function F d. Every element of the argument passed to parameter A must be initialized prior to invo 29 Given the declaration char Sentence[15]: and that the data entered from the keyboard The game is today what is the value stored into Sentence by the statement: cin >> Sentence; E. None of the above A. The B. The game is C. 30. The Newton-Raphson method algorithm for locating the root of a function is guaranteed to locate a The game is tod D. The game is today root ina known number of iterations. A. TRUE B. FALSE 31. A better approximation of the area under a curve is by decreasing the trapezoid number use d. A.TRUE B.FALSE 32. Which of the following is a disadvantage of the Newton-Raphson method? It converges more rapidly than many other methods It requires you to be able to determine the derivative of the function which may not be easy to It may diverge if the guess is not close enough to the root of the equation a. do b. c. d. You have to guess many times to get a single root 33 If a subscript in a C++ program is outside of the declared range for that array an error message specifying that t b. subscript is out of range will always be generated. A, True False 34. Assuming the declaration statement char s cout > N A=A+N+B ) while (N 10 B 2; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
