MATLAB Programming set 15

Que.What is common to evalc and the eval commands, apart from the output?
a. The error message is displayed separately
b. The outputs are of different accuracy
c. There is nothing common
d. evalc does not exist
Que.What is the output of the following code?
P=eval(‘ ’)

a. P= ‘ ’
b. P will be an empty character array
c. Error
d. No such function
Que.What is the output of the following code?
feval(“sum”,1234,1)

a. Syntactical error
b. Logical Error
c. 1235
d. ‘1234’
Que.What is the output of the following code?
feval[‘round’,123.12]

a. 123
b. 123.12
c. 123.1
d. Error
Que.The feval command can evaluate __________
a. A single command
b. Multiple commands
c. Multiple functions
d. No such function exists
Que.The eval command can evaluate __________
a. A single function
b. Only a single command
c. The function does not exist
d. Multiple commands
Que.The input to the eval command is given using [].
a. True
b. False
c. May be True or False
d. Can’t say
Que.The input to the evalc command is given using {}.
a. True
b. False
c. May be True or False
d. Can’t say
Que.What is the value of ans from the following code?
feval(‘sin(0),cos(0),123’)

a. 123
b. 0,1,123
c. Error
d. 0
Que.What is the output of the following code?
evalc(‘Laplace(t)’)

a. Syntactical Error
b. Symbolic error
c. ‘1/s²‘
d. 1/s²