# Limits – 1 MCQ’s

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

1. What is the output of the following code?

`limit(x^2,x,1,’left’)`

a) 1
b) 0
c) x should be declared symbolic
d) Cannot be determined

2. What is the error in the following code?

`limit(x^2,y,1,'left')`

a) The function
b) The symbolic argument
c) Left should’ve been without
d) No error

3. Can we check the continuity of a function in MATLAB?
a) Yes
b) No
c) Sometimes
d) Rarely

4. What is the output of the following code?

`syms n;limit(n-1,n,Inf,’right’)`

a) Inf
b) Nan
c) 0
d) Error

5. How can we check whether the limn→3+ n-1 exists?
a) limit(n-1,n,3)
b) syms n;limit(n-1,n,3,’right’)
c) syms n;limit(n-1,3,’right’)
d) syms n;limit(n-1,3,n,’right’)

6. What is the output of the following code?

`syms n;limit(n-1,n,nan,'left')`

a) 0
b) Inf
c) Nan
d) Error

7. What is the output of the following code?

`syms x;limit(((1-cos(x))/(x^2)),x,Inf)`

a) Inf
b) 0
c) Nan
d) Error

8. What is the output of the following code?

`syms x;limit(((1-cos(x))/(x^2)),x,0)`

a) 0
b) 12
c) Error
d) Infinite

9. What is the output of the following code?

`syms x;limit((((Inf*x)-cos(x))/(x^2)),x,0)`

a) limit(Inf/x, x, 0)
b) Inf
c) Nan
d) Error

10. If a function is differentiable, the function is continuous.
a) True
b) False

11. What is the output of the following code?

`limit(0/0, x, 0)`

a) Nan
b) Inf
c) 0
d) Error

12. What is the output of the following code?

`sym x;limit(log(x)^(log(x)),x,1)`

a) Error
b) 1
c) 0
d) Cannot be defined

13. What is the code to solve limx→1(logx)logx?
a) syms x;limit(‘log(x)^(log(x))’,x,1)
b) limit(‘log(x)^(log(x))’,x,1)
c) syms x;limit(log(x)^(log(x)),x,1)
d) Cannot be solved

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

`sym x;limit(‘log(x)^(log(x))’,1,’right’)`

a) Error
b) 0
c) 1
d) Nan

15. What is the output in the following case?

`syms x; limit(sin(x)/x)`

a) 0
b) 1
c) Error
d) garbage value

Happy
0 %
0 %
Excited
0 %
Sleepy
0 %
Angry
0 %
Surprise
0 %

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%