WorksheetsGEM of MATLAB
Total questions: 59
Worksheet time: 1hrs 9mins
34 25 35;
94 51 75;
40 52 55]
What is the dimension of A ?
12 < 14
sin(pi/2) + cosd(0)
mod(100,5) + rem(100,5)
34 25 35;
94 51 75;
40 52 55]
sort(A), will sort A in what order ?
.mlx file belongs to
Matlab Script
Matlab Live Editor Script
Matlab App
None of the mentioned above
The file type used by Matlab app is
.mapp
.mlxapp
.mlapp
.app
What will printed on Command window?
4 5 6
6 4 5
nothing
4 6
Which command in MATLAB performs matrix operation on elements?
a’
a.*b
a^3
a_4
MATLAB stands for
Matrix laboratory
Mat laboratory
Maths laboratory
None of these
The basic building block of a matlab is ____
Array
Matrix
Vector
Scalar
A___at the end of the command suppresses the screen outputs
,
:
;
:
The meaning of command clc
Clear command history pane
Clear command window
Clear editor window
Clear current directory pane
The command to delete the 3rd column of matrix A is
A(:,3)=0
A(3,:)=[ ]
A(:,3)=[ ]
None of these
the output line will be ?
The command prompt will display ?
101
1 x 101
1 x 2
101 x 1
fprintf and disp do same function in matlab ?
Yes
No
Satvik wish to get the scalar value of the number of the element in the vector . What should he prefer ?
size()
length()
Anyone of size() or length()
Don't know
The variable q represent ?
Phase angle
Frequency of Sinusoidal
Wavelength
Can't Say
The waveform shown represents
AC
DC
Both AC as well as DC
Don't Know
The circuit used to convert AC to DC is
Rectifier
Filter
Capactor
None
The number of element in the vector p = 1:4 is
3
4
1
2
The result of following operation will be
Matrix Multiplication of the two vector
Element to Element Multiplication of two vector
Error
Can't Say anything
What will be the output on executing this program?
What is displayed in the command window when user gives a number 12 during the program execution?
mod(100,5) + rem(100,5)
Which of the following is not a tool in MATLAB
Command Window
Current Directory
Terminal
Workspace
Which of the following ,an expression shouldn't have in MATLAB
manual entry
built entry
built-in functions
user-defined function
Which of the following is not a part of MATLAB
Computation
Object Orientation
Visualization
Programming
How to plot a graph in MATLAB
x : [value ofarray]
y : [value ofarray] plot(x, y)
x : [value ofarray];
y : [value ofarray]; plot(x, y)
x=[value ofarray];
y=[value ofarray]; plot(x, y)
x : [value ofarray]
y : [value ofarray] plot(x, y);
WHAT ARE THE SPECIAL MATRIX IN MATLAB
HILBERT MATRIX
HILBERT INVERSE MATRIX
PASCAL MATRIX
SQUARE MAGIC
TOEPLITZ MATRIX
VANDERMONDE MATRIX
EIGEN VALUE TEST MATRIX
SQUARE MATRIX
What is the disadvantage of the whos function in MATLAB?
It does not show the name of the variable
It does not show the class of the variable
It does not show the size of the variable
It does not show the values of the variable
What is the number of trapeziums if there are 6 ordinates?
6
7
5
4
Using the trapezoidal rule will yield the following results except
The answer is just an approximation
The answer is over-estimated
The answer is under-estimated
The answer is not an exact answer
Approximate the area under the curve over the given interval using 4 trapezoids.
A
B
C
D
The approximate value for ∫011+x2dx with 5 strips is
1.25
1.05
1.15
1.35
Which of the followings statement is FALSE.
8 strips , n = 8
6 sub interval, n = 6
7 ordintes , n = 7
10 interval, n = 10
Sum of the Eigen values of a matrix is equal to ----- of the matrix
determinant
product
trace
sum
Eigen vectors corresponding to distinct Eigen values are
linearly independent
linearly dependent
normalized
none of the above
Eigen values of an Identity matrix of order 4 are
0, 1. 0, 1
0, 0, 0, 0
1, 1, 1, 1
none of these
If Eigen values of a matrix are 0, 1, 2 , then matrix will be
Non-singular
Singular
Both
None of these
What is the trace of A = [ 2 3 6 ; 9 0 8 ; 6 2 3 ]
5
11
17
4
Eigen values of the matrix [ 1 1 1 ; 1 1 1 ; 1 1 1 ] are
0, 0, 0
0, 0, 3
1, 1, 1
0, 0, 1
Eigen Vectors corresponding to distinct Eigen values are
Linearly Independent
Linearly Dependent
normalized
None of the above
What are the Eigen vectors with eigen values Zero?
They are the one in RowSpace
They are the one in NullSpace
They are the one in ColumnSpace
What is the rank of the matrix
4
3
2
1
Estimate f(1.5) using Lagrange interpolation.
−0.8673
-0.7214
−0.9773
-0.9113
For first-order ODEs, a type of auxiliary condition called an _____ is required to determine the constant and obtain a unique solution.
Initial Value
Boundary Value
both answers are correct
This method is called the Predictor-Corrector Method or Approach
Heun's Method
Euler's Method
Runge-Kutta Method
Equation for Modified Euler’s Method can be derived using _____
Trapezoidal Method
Simpson's Method
Gauss Quadrature Method
What is the formula for the regression line?
y=mx+b
y=a+bx
y∧=a+bx
Factorize 3x+9
3(x+3)
x(3+3)
9(x-3)
3x(x+9)
The common data type for numeric value(s) in MATLAB?
int
array
char
double
WHAT ARE THE SPECIAL MATRIX IN MATLAB
HILBERT MATRIX
HILBERT INVERSE MATRIX
PASCAL MATRIX
SQUARE MAGIC
TOEPLITZ MATRIX
VANDERMONDE MATRIX
EIGEN VALUE TEST MATRIX
SQUARE MATRIX
i
inf
NaN
gravity
Consider the following line of commands
>> A = magic(5);
>> size = 5;
>> size(A);
What will be the output?
MATLAB produces an error message
5, 5
No output because of the semicolon operator
