Default Variables MCQ’s

Read Time:1 Minute, 9 Second

This set of MATLAB Multiple Choice Questions & Answers (MCQs) focuses on “Default Variables”.

1. What is the default variable while evaluating a transfer function?
a) s
b) p
c) z
d) Any

2. What is the default variable while evaluating a Laplace transform?
a) s
b) t
c) Any
d) l

3. What is the output of the following code?

q=0;syms p,q

a) q=0
b)

   p
   q=0

c)

    p
    q

d) Error

4. The output of the following code is

laplace(exp(-3*t),p)

a) Error due to p
b) 1/(s+3)
c) 1/(p+3)
d) Error due to t

5. The default variable in case of solve(‘f(x,y,p,a,l)’) command is __________
a) x
b) Variables near to x
c) Variables away from x
d) No default variable

6. What is the default parameter for dsolve() command?
a) t
b) No default parameter
c) Input differentiating variable
d) Defined input parameter

7. The output of the following code is

solve(‘w+z=0’)

a) -z
b) -w
c) Error
d) No such fuction

8. What is the default parameter for the ztrans() command?
a) z
b) w
c) s
d) no default parameter

9. The default variable, to which the result of any computation.
a) True
b) False

10. What is the output of the following code?

syms t; laplace(exp(-3*t),y)

a) Error
b) 1/(3+s)
c) 1/(3+y)
d) 1/(3+js)

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

Average Rating

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Sums and Products – 2 MCQ’s
Next post Fourier Analysis and Filtering – 1 MCQ’s