Que.How do we break from an infinite loop without keeping a break statement within the loop?
|
a. Press Ctrl+C |
b. Press Ctrl+Z |
c. Loop won’t be terminated |
d. Press Ctrl+X |
Que.What will the following code do?j=0;i=5;
while(j<0)
j=j-1; i=i+5;j=i;
end
|
a. Nothing |
b. j=0 & i=5 |
c. Error |
d. Cannot be determined |
Que.How would you plot multiple graphs in MATLAB?
|
a. Using the hold function |
b. Using the mplot function |
c. Using the mstem function |
d. It cannot be done in MATLAB |
Que.How do you show the program of an MAT file?
|
a. The program should contain the echo command |
b. The program should contain the showprog command |
c. The program should contain the diary command |
d. The program cannot be shown while running a MEX file |
The program cannot be shown while running a MEX file
Que.The help command works only for a pre-defined function in MATLAB.
|
a. True |
b. False |
c. May be True or False |
d. Can't say |
Que.What is the equivalent of subplot (1, 1, 1)?
|
a. subplot() |
b. plot |
c. It is not possible |
d. axes |
Que.It is not possible to store graphs as MAT-file.
|
a. True |
b. False |
c. May be True or False |
d. Can't say |
Que.The command used to reflect the files from a disk into the workspace is _______
|
a. load |
b. show |
c. disp() |
d. it is not possible |
Que.The format for 5 digit representation along with exponent is __________
|
a. short e |
b. short g |
c. short exp |
d. 4 digit along with exponent value can be represented |
Que.Which operator is used to prevent the printing of insignificant zeros?
|
a. %o |
b. %nz |
c. %g |
d. It is not possible |