MCQOPTIONS
Saved Bookmarks
This section includes 22 Mcqs, each offering curated multiple-choice questions to sharpen your Matlab knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
______ is NOT a common bitmap-based file type extension. |
| A. | ODT |
| B. | TIFF |
| C. | PNG |
| D. | PCX |
| Answer» B. TIFF | |
| 2. |
Which command enables a title for the y-axis? |
| A. | vertlabel() |
| B. | ylabel() |
| C. | ylabel[] |
| D. | no command |
| Answer» C. ylabel[] | |
| 3. |
The font style of the input text can be changed by the ____ |
| A. | fontname{} |
| B. | fontstyle{} |
| C. | fontname() |
| D. | fontname[] |
| Answer» B. fontstyle{} | |
| 4. |
A semi-log graph cannot be plotted in MATLAB. |
| A. | True |
| B. | False |
| Answer» C. | |
| 5. |
What is the short name for black as input to the surf command? |
| A. | b |
| B. | bl |
| C. | k |
| D. | blk |
| Answer» D. blk | |
| 6. |
What does the set command do? |
| A. | The operation of the fill command |
| B. | The operation of changing intervals of axes |
| C. | The operation of the plot command |
| D. | The operation of the figure command |
| Answer» C. The operation of the plot command | |
| 7. |
A stacked horizontal bar-chart can be made in MATLAB by ___________ |
| A. | Mentioning stacked as input to the bar3() command |
| B. | Mentioning stacked as input to the bar3h() command |
| C. | Mentioning stack as input to the bar3[] command |
| D. | Mentioning stacked as input to the bar3h[] command |
| Answer» C. Mentioning stack as input to the bar3[] command | |
| 8. |
The default colour of graph generated by the plot command is blue. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 9. |
The text given to the graphs can be made bold. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 10. |
How do we create horizontal bar graphs in MATLAB? |
| A. | bar3h() |
| B. | barh() |
| C. | bar3() |
| D. | not possible |
| Answer» B. barh() | |
| 11. |
What is the period of the sawtooth() waveform which is generated by the sawtooth() command? |
| A. | 2*pi |
| B. | pi*2 |
| C. | pi |
| D. | 3*pi/2 |
| Answer» B. pi*2 | |
| 12. |
The command to draw the nature of a function over a default fundamental period is _________ |
| A. | ezplot() |
| B. | plot() |
| C. | stem() |
| D. | plot3() |
| Answer» B. plot() | |
| 13. |
The limits of the axes drawn are only specified in the command used to plot the graph itself. |
| A. | True |
| B. | False |
| Answer» C. | |
| 14. |
What is the slope of the sawtooth waveform generated by the sawtooth command? |
| A. | 1/pi |
| B. | pi |
| C. | 1/(2*pi) |
| D. | 2*pi |
| Answer» B. pi | |
| 15. |
What is the default range used by the fplot command? |
| A. | [-5,5] |
| B. | (-5,5) |
| C. | No default range |
| D. | No such command |
| Answer» B. (-5,5) | |
| 16. |
The command used to generate an array of arrows is ________ |
| A. | quiver[] |
| B. | arrows() |
| C. | quiver() |
| D. | arrows[] |
| Answer» D. arrows[] | |
| 17. |
The general graph of f(a,b)=0 is plotted by ______ |
| A. | ezplot() |
| B. | plot() |
| C. | stem() |
| D. | not possible |
| Answer» B. plot() | |
| 18. |
Using the set command for axes can be replaced by setting the ___ to a variable. |
| A. | gca |
| B. | gcf |
| C. | gco |
| D. | not possible |
| Answer» B. gcf | |
| 19. |
Which command is suitable to change the axes of the graph plotted? |
| A. | axes |
| B. | axis |
| C. | yxaxes |
| D. | no command |
| Answer» C. yxaxes | |
| 20. |
The meshc() command takes complex inputs. |
| A. | True |
| B. | False |
| Answer» C. | |
| 21. |
What is the purpose of the figure command? |
| A. | Opens a blank window |
| B. | Opens a blank window to draw graphs |
| C. | Opens a window containing axes |
| D. | Opens a window containing grid and axes |
| Answer» C. Opens a window containing axes | |
| 22. |
What is the period of square wave generated by the square() command? |
| A. | User-defined |
| B. | pi |
| C. | 2*pi |
| D. | pi/2 |
| Answer» D. pi/2 | |