Which of the following would be a recursive case for a summation algorithm (the sum of the numbers from 0 to n)?
a. If n = 0 then summation(n) = 0
b. if n > 0 then summation(n) = 5
c. If n > 0 then summation(n) = getValue(n)
d. If n > 0 then summation(n) = n + summation(n-1)
e. None of these
d. If n > 0 then summation(n) = n + summation(n-1)
You might also like to view...
The Append query is used to add additional records to an existing table
Indicate whether the statement is true or false
Telnet is rarely used on the Internet, having been replaced by _______________, which looks just like Telnet, but encrypts data.
Fill in the blank(s) with the appropriate word(s).
The term _______________ refers to mobile operating systems tracking and in many cases recording your location for an extended amount of time.
Fill in the blank(s) with the appropriate word(s).
Match each acronym to its function:
I. VGA II. DVI III. ATSC IV. HDTV V. HDMI A. provides new standards for digital television B. converts digital data to an analog signal to send to a CRT monitor C. high-speed connection that does not require compression D. sends digital signals directly to LCD monitors E. broadcasts digital television signals