Question: Question{07}: Which statement is false about a for loop? A. the values maybe created from any valid vector B. the vector increment may be positive

Question{07}: Which statement is false about a "for" loop?

A. the values maybe created from any valid vector

B. the vector increment may be positive or negative

C. a "for" loop must run at least once

D. a "break" can be used to exit a "for" loop early

E. none of the above

Answer{07}='';

Reason{07}='';

Question{08}: Which statment is true about a "while" loop?

A. an incorrectly written "while" loop will run "forever"

B. the value of a "while" expression should change to false to exit the

loop

C. a "break" can be used to exit a "while" loop early

D. it is best used when the number of loops is unknown (at design time)

E. all of the above

Answer{08}='';

Reason{08}='';

Question{09}: Which statement is true about a function

A. it may have zero, one or multiple input arguments

B. it may have zero, one or multiple output arguments (in Matlab)

C. in order for it to be ran from the command window, the filename

must match the function name

D. it has a signature based on the three parts: input arguments, function

name and output arguments

E. all of the above

Answer{09}='';

Reason{09}='';

Question{10}: Which statment is true about fileread?

A. can be used to read matlab .mat files

B. can be used to read text/string from a .txt file

C. parses contents of a file based on a space (default)

D. parses contents of a file based on a newline or other delimiter

E. none of the above

Answer{10}='';

Reason{10}='';

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!