MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following pseudo code. What is the total number of multiplications to be performed?D = 2for i = 1 to n dofor j = i to n dofor k = j + 1 to n doD = D * 3 |
| A. | Half of the product of the 3 consecutive integers. |
| B. | One-third of the product of the 3 consecutive integers. |
| C. | One-sixth of the product of the 3 consecutive integers. |
| D. | None of the above |
| Answer» D. None of the above | |