# Sums and Products – 1 MCQ’s

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Sums and Products – 1″.

1. If the result of our summation is Infinity, what will MATLAB show?

a) Infinity

b) Nan

c) Inf

d) Error

2. How does MATLAB get the symbolic character in the function, if it is not mentioned in symsum() command?

a) It cannot

b) It uses symvar()

c) It uses symsvar()

d) It uses symbvar()

3. What will be the output of the following code?

sin(symsum(k^2,1,Inf));

a) Nan

b) Inf

c) Error

d) Output is suppressed

4. We can generate the summation of a series, formed with a character, using ________

a) symsum

b) sum

c) symssum

d) int

5. The sum() command cannot do ____________

a) Infinite summation

b) Numeric summation

c) Long summation

d) signed summation

6. What is the output of the following code?

sumsqr([1 2; NaN 4])

a) 21

b) Nan

c) Error

d) Inf

7. To calculate the sum of only absolute variables in a series, we use _________

a) sum(abs())

b) abssum()

c) sumabs()

d) abs(sum())

8. What is the output of the following code:

sumsqr([Inf Inf; Inf Inf])

a) Inf

b) Nan

c) 0

d) Error

9. To find the absolute value of the sum of squares of numbers in a series, we use_________

a) abs(sumsqr())

b) sumsqr()

c) sumsqr(abs())

d) abs(sqrsum())

10. We can find the mean value of a series (upto n) using _________

a) meanabs()

b) mean()

c) sumabs()

d) sum()/n

11. What is the output of the following code?

sumabs([Inf Inf; Inf Inf])

a) Inf

b) 0

c) Nan

d) Error

112. We need to define a function separately to find the factorial of a number.

a) True

b) False

13. The function to evaluate the following series is

1^{2}+2^{2}+3^{2}+4^{2}+5^{2}+…83^{2}

a) sqr()

b) sqrsum()

c) sumsqr()

d) sumsqr[]

14. We can find the summation of an A.G.P. series using __________

a) sum()

b) symsum()

c) Depends on the series

d) Cannot be done

15. What is the output of the following code?

mean[1:10]

a) Syntactical Error

b) 4.5

c) 5.5

d) Parse Error

## Average Rating