We use cookies on this site in order to make it works, and for the traffic analysis.
You can refuse or configure cookies by purposes.
Another message from the Google Adsense consent management platform will ask you for your choices relating to the use of your personal data via cookies for advertising.
We thank you to accept cookies which makes this site work.

5th Matlab MCQ

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

mandatory answer

Question 1

Enter your name :

Question 2

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

uncheck

Question 3

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 4

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

uncheck

Question 5

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

Question 6

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 7

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 8

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

Question 9

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!