Home / CSE MCQs / MATLAB ::

CSE MCQs :: MATLAB

  1. If the coefficient matrix of a linear system has rank 4, and the augmented matrix has rank 5, then:
  2. A.
    The system has infinitely many solutions
    B.
    The system is inconsistent
    C.
    There are fewer variables than equations
    D.
    The system is homogeneous

  3. Which of the following is not a pre-defined variable in Matlab?
  4. A.
    pi
    B.
    inf
    C.
    i
    D.
    gravity

  5. To print a newline in a fprintf statement, you must use the following escape character:
  6. A.
    t
    B.
    nl
    C.
    nxt
    D.
    n

  7. Let x and y be solutions to a system of n homogeneous linear equations. If z = ax + by
  8. A.
    z is a solution to the system for all a and b
    B.
    z is a solution only if a = 0 and b = 0
    C.
    The solution has n - 2 parameters
    D.
    There are at most 2 leading variables

  9. What are the characters in Matlab are represented in their value in memory?
  10. A.
    decimal
    B.
    ASCII
    C.
    hex
    D.
    string

  11. Which one of the following lists contains only legal MATLAB variable names?
  12. A.
    year-2012, time
    B.
    myTime, 1stVar
    C.
    MyScore1, student1_ID
    D.
    2nd_Var, my_currency

  13. This Matlab command clears all data and variables stored in memory:
  14. A.
    clc
    B.
    clear
    C.
    delete
    D.
    deallocate

  15. What does MatLab consist of?
  16. A.
    MatLab Language
    B.
    MatLab working environment
    C.
    Handle Graphics
    D.
    All of the above

  17. What are the things for which MATLAB can be used
  18. A.
    Performing very simple calculations
    B.
    Plotting mathematical relationships in two dimensional and three dimensional
    C.
    For operations of matrix
    D.
    All of these

  19. Which of the following is used to see if two elements are equal in MATLAB?
  20. A.
    !=
    B.
    ==
    C.
    isequal
    D.
    =