If the value sought by a recursive binary search algorithm is in the array, which of the following is true?
a. the algorithm makes the same comparisons as a sequential search
b. the algorithm is successful without reaching a base case
c. the algorithm searches the entire array
d. the algorithm searches only the array half containing the value
d. the algorithm searches only the array half containing the value
You might also like to view...
At the bottom of the editing area are ____ (do in order, count, while, for each in, if, and so on) that can be used to build Alice statements.
A. tools B. navigators C. variables D. controls
Keeping a program up-to-date and correcting previously undetected errors is part of __________.
a. testing b. step-wise refinement c. software development d. maintenance e. compiling
What is the second step of the A+ troubleshooting methodology?
A. Identify the problem B. Establish a probable cause C. Test the theory D. Document
Answer the following statements true (T) or false (F)
1. MIME is an extension to the old RFC 822 specification of an Internet mail format. 2. MIME provides the ability to sign and/or encrypt e-mail messages. 3. Recipients without S/MIME capability can view the message content, although they cannot verify the signature. 4. The recipient of a message can decrypt the signature using DSS and the sender’s public DSS key. 5. As an alternative the RSA public-key encryption algorithm can be used with either the SHA-1 or the MD5 message digest algorithm for forming signatures.