(1). The clc
command is used to
(a) clear the command window.
(b) erase everything in the m-file.
(c) delete all saved (workspace) variables.
(d) save the existing m-file.
(2). The command to place a comment into the m-file is
(a) %
(b) !
(c) ;
(d) &
(3). Which m-file is named correctly
(a) 1assignment.m
(b) assignment 1.m
(c) assignment1.m
(d) assignment/1.m
(4). The clear all
command is used to
(a) clear the command window.
(b) erase everything in the m-file.
(c) delete all saved (workspace) variables.
(d) save the existing m-file.
(5). Clicking “Run” in MATLAB in an m-file with five sections runs
(a) the whole m-file.
(b) only the first section of the m-file.
(c) nothing because “Run” does not work with an m-file containing sections.
(d) only the last section of the m-file.