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. |
Evaluate the expression: |
| A. | 2045 |
| B. | 2070 |
| C. | Error since sind() is a wrong function |
| D. | 0View Answer |
| Answer» C. Error since sind() is a wrong function | |
| 2. |
The expression cos(90) is equal to1 in MATLAB. |
| A. | True |
| B. | False |
| Answer» C. | |
| 3. |
What is the output of the expression |
| A. | Inf |
| B. | Error |
| C. | Incomprehensible |
| D. | NaNView Answer |
| Answer» E. | |
| 4. |
INF?$ |
| A. | Error |
| B. | Incomprehensible |
| C. | NaN |
| Answer» C. NaN | |
| 5. |
The_expression_cos(90)_is_equal_to1_in_MATLAB.$ |
| A. | True |
| B. | False |
| Answer» C. | |
| 6. |
What is the difference between the expressions (9*1-8) & (9-1*8)? |
| A. | Computational difference |
| B. | Final results are different |
| C. | No difference |
| D. | Cannot be determined |
| Answer» B. Final results are different | |
| 7. |
What operator helps in the transpose of a matrix? |
| A. | “ .’ ” |
| B. | “ ‘ ” |
| C. | “./ ” |
| D. | “ .\ ” |
| Answer» B. ‚Äö√Ñ√∂‚àö√ë‚àö‚à´ ‚Äö√Ñ√∂‚àö√ë‚àö‚â§ ‚Äö√Ñ√∂‚àö√ë‚àöœÄ | |
| 8. |
Choose the correct option. |
| A. | any() shows all the elements in a matrix while all() shows every element of a vector |
| B. | any() is ‘true’ if elements in a vector is zero |
| C. | all() is ‘true’ if every element in a vector is non zero |
| D. | all() is ‘true’ if every element in a vector is 0 |
| Answer» D. all() is ‚Äö√Ñ√∂‚àö√ë‚àö‚â§true‚Äö√Ñ√∂‚àö√ë‚àö¬• if every element in a vector is 0 | |
| 9. |
Which symbol is used to initialise a variable? |
| A. | = |
| B. | -> |
| C. | == |
| D. | init |
| Answer» B. -> | |
| 10. |
All MATLAB computations are done in |
| A. | Single Precision |
| B. | Double Precision |
| C. | Linear accuracy |
| D. | Multi-level precision |
| Answer» C. Linear accuracy | |
| 11. |
Which is an escape sequence constant? |
| A. | Esc |
| B. | /n |
| C. | \b |
| D. | nargout |
| Answer» D. nargout | |
| 12. |
Which function is preferable to find the magnitude of a complex number? |
| A. | abs() |
| B. | sqrt() |
| C. | cart2pol() |
| D. | MATLAB does not support complex arguments |
| Answer» B. sqrt() | |