Microprocessors - Engineering

Q1:

A computer program is used to read N and print the sum 12 + 22 + 32 +.....+ N2. If N = 10, the print out will show the number

A 100

B 10

C 385

D 285

ANS:C - 385

SUM = 1+ 22 + 33 + 44 + 52 + 62 + 77 + 82 + 92 + 102 = 385.