Q.1
What would be the output of the following code (in editor window)? X = [1.4+2.3.1-2.-5.3+10.9i] X = 1.+ 2. 3.- 2. -5.+10.Y = fix(X)
  • a) Y = 1.0000 + 2.0000i 3.0000 – 4.0000i -5.0000 +10.0000i
  • b) Y = 2.0000 + 3.0000i 3.1000 – 2.2000i -5.3000 +10.9000i
  • c) Y = 1.0000 + 2.0000i 3.0000 – 2.0000i -5.0000 +10.0000i
  • d) Y = 2.0000 + 3.0000i 3.1000 – 2.2000i -5.3000 +10.9000i
Q.2
Computemodulo b = mod(24,5)
  • a) b = 3
  • b) b =4
  • c) b =5
  • d) b =6
Q.3
If one operand is a scalar and the other is not, then MATLAB applies the scalar to every element of the other operand. This property is known as ______________
  • a) operand divergence
  • b) scalar expansion
  • c) vector expansion
  • d) dimension declaration
Q.4
Matrix operations follow the rules of linear algebra and are not compatible with multidimensional arrays.
  • a) true
  • b) false
Q.5
Conversion Function intuses_________ range of value?
  • a) -27 to 27-1
  • b) -215 to 215-1
  • c) -231 to 231-1
  • d) 0 to 216-1
Q.6
Largest and smallest values for integer classes isto -128.
  • a) True
  • b) False
0 h : 0 m : 1 s