Que.What is the output of the following line of code?t=0:pi/8:4pi;
|
a. No output as we’ve closed the line of code with a semi-colon |
b. 1 2 3 4 5 6 7 8 90 1.5708 3.1416 4.7124 6.2832 7.8540 9.4248 10.9956 12.5664 |
c. Error: Unexpected MATLAB expression |
d. Undefined function or variable ‘pi’ |
Error: Unexpected MATLAB expression
Que.What is the error in the code?a=[[1;2];(2,3)]
|
a. Third brackets are wrong |
b. The semicolon within the second third brackets |
c. There is no error |
d. Error: Expression or statement is incorrect–possibly unbalanced |
Error: Expression or statement is incorrect–possibly unbalanced
Que.What is the output of the following code?isvector((49 32));
|
a. Error in () |
b. Error due to absence of comma |
c. Error due to command |
d. Logical 1 |
Que.What is the output of the following code?clipboard('Do re Mi fa','copy')
|
a. Error in hierarchy |
b. Copies the input text to the system clipboard |
c. Replaces any text, in the clipboard, with the input text |
d. Syntactical Error |
Que.What is the output of the following code?commandhistory[]
|
a. Error |
b. Shows command history |
c. Shows the previous command used |
d. Prints all the commands used for the current session |
Que.What is the output of the following code?pd=makedist('Uniform','Lower',3)
|
a. Error in giving limits |
b. A uniform distribution with lower limit 3 and upper limit Infinity |
c. Error in syntax |
d. Error due to the command |
Que.What is the output of the following code?p=input('');
po
|
a. ‘po’ gets assigned to p |
b. Error in the input |
c. Error due to syntax |
d. Cannot be determined |
Que.What is the output of the following code?p=input[''];
|
a. Asks for an input |
b. Error in the input |
c. Error due to syntax |
d. Cannot be determined |
Que.What is the output of the following code?pd=makedist('Uniform','-Inf',lower,'Inf',upper)
|
a. Makes a uniform distribution ranging from -Inf to Inf |
b. Error due to Inf |
c. Error due to syntax |
d. Logical Error |
Que.What is the output of the following code?sumsqr([1 2; 'NaN' 4])
|
a. 21 |
b. Error due to NaN |
c. Error due to ‘NaN’ |
d. 9 |
Que.The uniform distribution can range from -infinity to 0 or 0 to Infinity but not from -infinity to infinity.
|
a. True |
b. False |
c. May be True or False |
d. Can’t say |