McqMate
| Q. |
Which of the following gives the sum of the first n natural numbers? |
| A. | nc2 |
| B. | (n-1)c2 |
| C. | (n+1)c2 |
| D. | (n+2)c2 |
| Answer» C. (n+1)c2 | |
| Explanation: the sum of first n natural numbers is given by n*(n+1)/2, which is equal to (n+1)c2. | |
View all MCQs in
Design and Analysis of AlgorithmsNo comments yet