MCQOPTIONS
Saved Bookmarks
This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Matlab knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
To delete one variable but not the entire workspace, we need to mention the variable name after the clear command. |
| A. | True |
| B. | False |
| Answer» B. False | |
| 2. |
___________ will give a hint that the file is closed. |
| A. | Fopen |
| B. | Fclose |
| C. | Gclose |
| D. | clc |
| Answer» C. Gclose | |
| 3. |
clc in a function will clear the function. |
| A. | True |
| B. | False |
| Answer» C. | |
| 4. |
How can we close all graphs in MATLAB? |
| A. | Using the close command |
| B. | Using the clear all command |
| C. | Using the close all command |
| D. | Using the clear command |
| Answer» C. Using the close all command | |
| 5. |
Graphs are not suppressed by the ‘;’. |
| A. | True |
| B. | False |
| Answer» C. | |
| 6. |
HOW_CAN_WE_CLOSE_ALL_GRAPHS_IN_MATLAB??$ |
| A. | Using the close command |
| B. | Using the clear all command |
| C. | Using the close all command |
| D. | Using the clear command |
| Answer» C. Using the close all command | |
| 7. |
clc in a function will clear the function.$ |
| A. | True |
| B. | False |
| Answer» B. False | |
| 8. |
i will be printed thrice as 0,1,2 successivel? |
| A. | Infinite loop |
| B. | No output |
| C. | i=2 |
| Answer» B. No output | |
| 9. |
Clear will removes all graphs. |
| A. | True |
| B. | False |
| Answer» C. | |
| 10. |
y=5; i=2 |
| A. | y=5, printed twice |
| B. | Loop will run once, y=2 |
| C. | Infinite loop |
| Answer» B. Loop will run once, y=2 | |
| 11. |
No value will be stored |
| A. | The result will be printed |
| B. | The result will be printed twice but no value will remain in the Workspace |
| C. | The loop will not run |
| Answer» C. The loop will not run | |
| 12. |
Graphs are not suppressed by the ‘;’. |
| A. | True |
| B. | False |
| Answer» C. | |