How can you improve the efficiency of a nested decision?
What will be an ideal response?
When you nest two decisions, you must choose which of the decisions to make first. Logically, either expression in an AND decision can be evaluated first.You often can improve your program's performance, however, by correctly choosing which of two selections to make first.?If you do know the probabilities of the conditions, or can make a reasonable guess, the general rule is: In an AND decision, first evaluate the condition that is less likely to be true. This eliminates as many instances of the second decision as possible, which speeds up processing time.
You might also like to view...
Which of the following is not true about printing and deleting an Excel worksheet?
a. If you attempt to delete a worksheet with data, Excel will display a warning and permit you to cancel the deletion. b. In Normal view, the vertical dotted line between columns indicates that as currently arranged, only the columns to the left of the dotted line will print on the first page. c. It is necessary to delete unused sheets to save storage space and remove any doubt that additional information is in the workbook. d. Scaling shrinks the width (or height) of the printed worksheet to fit a maximum number of pages, and is convenient for printing formulas.
________ determine where you are by using GPS or wireless networks
A) Positioning services B) Location services C) Positioning saving mode D) Location saving mode