5th Matlab MCQ

For each question, click on the correct solution(s). One or more propositions can be correct.

mandatory answer

Identification

Enter your name :

Question 1

What is the best function to read a file, line by line (file is in readable text/ASCII format)?

uncheck

Question 2

What is the best function to read data into a file and return an array of them (data types are known and are in readable text/ASCII format)?

uncheck

Question 3

What is the best function to read binary data into a file?

uncheck

Question 4

How to draw a 3D object or a mesh or polygons?

Question 5

How to initialize an array ('a') with 1 x n values (1 line of n columns).Values can be 0, 1 or whatever, the most important is to initialize the array with the right size.

Question 6

A=magic(9); % returns a 9x9 array
We want to pick the columns 3 to 6 and the rows 3, 6 and 9, and put the values into a new array, 'B'.
Which statement(s) is/are correct?

Question 7

Which statement(s) create(s) a break in the execution of Matlab and force it to wait 8 seconds before continuing?

Question 8

In a conditional structure, which comparison(s) is/are correct ('a' and 'b' are real numbers)?




You too, create your online questionnaire!
It's free and easy.
Let's go!