20ec0454_matlab Programming_bit Bank With Solution
20ec0454_matlab Programming_bit Bank With Solution
UNIT – I
INTRODUCTION TO SIGNALS AND SYSTEMS
1 The window which displays the variables created in the command window [ A ]
A) Workspace B) command window C) current directory D) All
2 Previous keystrokes are displayed in the [C ]
A) Workspace B) current directory C) command history D) All
window
3 A variable in MATLAB is a symbol used to contain a [B ]
A) symbol B) value C) command D) expression
𝑏
4 Exponentiation of 𝑎 in MATLAB form is [A ]
A) a^b B) a*b C) sqrt(a,b) D) a%b
5 The mathematical operations represented by symbol +, -, *, /, \, and ^ follow a set of rules called [D ]
view menu
33 What does MATLAB stands for ? [B ]
A) Mathematics lab B) Matrix Laboratory C) Multi-Array Lab D) Matrix Language
34 The most basic way to determine the syntax and behavior of function is [A ]
A) help B) find C) search D) view
35 inverse sine result in radians can be find by using which function [B ]
A) SIN B) asin C) sin D) acos
36 The command which clears the command window [D ]
A) clear B) clr C) remove D) clc
37 which command lists the variables currently in memory [ B ]
A) whos B) who C) comma D) quit
38 The matlab syntax for ln x [A ]
10
A) log(x) B) log10(x) C) xlog10 D) log x
39 Which command specifies the accuracy of floating-point precision [D ]
A) ans B) inf C) nan D) Eps
40 Which command lists all files in the current directory [D ]
A) dirdirname B) cd dirname C) addpathdir D) Dir
UNIT – II
ARRAYS
1 Which is the capability of to handle collection of items [B ]
A) Strings B) arrays C) database D) all
2 How many co-ordinates are present in a vector [C ]
A) 3 B) 2 C) 1 D) 4
th
3 The 10 element in the list is the temperature measured hour is [B ]
A) 5th hour B) 10th hour C) 6th hour th
D) 7 hour
4 which notation is used to create a row vector [B ]
A) transpose notation B) comma notation C) colon notation D) semicolon notation
5 How can create vectors from one vector to another [A ]
A) appending B) colon operator C) semicolon D) strings
6 Create a matrix >>A = [2,4,10; 16,3,7] [B ]
A) 2 16 B) 2 4 10 C) 2 4 10 D) 2 4 10
[ ] [ ] [ ]
[4 3 ] 16 3 7 16 3 4 3 16 7
10 7
7 Choose the symmetric matrix [A ]
A) AT = A B) AT = -A C) -AT = A T
D) -A = -A
8 The array contains complex elements the transpose operator produces [B ]
A) skew vector B) complex conjugate C) transpose matrix D) symmetric matrix
transpose
9 V (2:5) represents the second through fth elements are [C ]
A) v(2),v(5) B) v(3),v(4) C) v(2),v(3),v(4), v(5) D) v(5),v(4)
10 A graphical interface for working with variables including [D ]
A) database B) arrays C) strings D) variables
11 Which is scalar array additions of [6,3]+2 = [C ]
R20 20EC0454-MATLAB PROGRAMMING
10 The pinv function gives a solution that gives the minimum value of the______ [A ]
A) Euclidean norm B) Normal form C) Both D) None
11 the pseudoinverse method. [A ]
A) x = pinv(A)*b B) pinv(A) C) pinv(A)*C D) None
12 . Interpolation and extrapolation are greatly aided by plotting the [C ]
A) Values B) Axes C) Data D) None
13 Which of the following Computes the inverse of the matrix A [A ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
14 Which of the following Computes the reduced row echelon form corresponding to the. [A ]
A) rref([A b]) B) ref([A b]) C) rref([A]) D) None
15 Which of the following Solves the matrix equation Ax ! b using left division [A ]
A) x = A\b B) x = A-b C) x = A*b D) None
16 Which of the following Computes the determinant of the matrix A [B ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
17 An ………number of solutions might exist even when the number of equations equals the [A ]
number of unknowns.
A) Infinite B) Finite C) Zero D) None
18 . ………rule is an explicit formula for the solution of a system of linear equations with as many [B ]
equations as unknowns, valid whenever the system has a unique solution
A) Matrix B) Cramer’s C) Sympson D) None
19 ……rule is computationally inefficient for systems of more than two or three equations [B ]
A) Matrix B) Cramer’s C) Sympson D) None
20 …… rule is used to derive the general solution to an inhomogeneous lineardifferential equation [B ]
by the method of variation of parameters
A) Matrix B) Cramer’s C) Sympson D) None
21 A=[7,-5; 4,5] and b= [4;5] then the solution is________. [A ]
A) 1 B) 2 C) 2 D) None
22 A=[2,4;4,-6] then determinant of A is __________. [B ]
A) 1 B) 2 C) 2 D) None
23 A=[3,8;4,-6] then the rank of A is _____________. [B ]
A) 1 B) 2 C) 2 D) None
24 A=[9,4,5;4,-6,3;6,7,0] find 2x2 subdeterminant ___ [ B ]
A) 1 B) 2 C) 2 D) None
25 A=[4,1;4,5] then inv(A) is ______________ [B ]
A) 1 B) 2 C) 2 D) None
26 The pinvfunction stands for. [A ]
A) Psuedo inverse B) Psuedo matrix C) Both D) None
27 An ……………system is a set of equations that has more independent equations than unknowns [B ]
A) Determined B) Over determined C) Singular D) None
28 The pinv function gives a solution that gives the minimum value of the ……. [A ]
A) Euclidean norm B) Normal form C) Both D) None
29 the pseudoinverse method [A ]
A) x = pinv(A)*b B) pinv(A) C) pinv(A)*C D) None
30 Interpolation and extrapolation are greatly aided by plotting the [C ]
A) Values B) Axes C) Data D) None
31 Which of the following Computes the inverse of the matrix A [A ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
R20 20EC0454-MATLAB PROGRAMMING
32 Which of the following Computes the reduced row echelon form corresponding to the [A ]
A) rref([A b]) B) ref([A b]) C) rref([A]) D) None
33 Which of the following Solves the matrix equation Ax ! b using left division [A ]
A) x = A\b B) x = A-b C) x = A*b D) None
34 Which of the following Computes the determinant of the matrix A [B ]
A) Inv(A) B) Det(A) C) Rank(A) D) None
35 An ………number of solutions might exist even when the number of equations equals the [A ]
number of unknowns
A) Infinite B) Finite C) Zero D) None
36 the value of k from the equations 9x+ky=0 and 3x+6y=0 is _________ [B ]
A) 1 B) 2 C) 2 D) None
37 Solution matrix for Ax=B is _____________ [A ]
A) 1 B) 2 C) 2 D) None
38 A=[3,-4;4,-6] and b=[5:2] then inv(A)*b is _____________ [B ]
A) 1 B) 2 C) 2 D) None
39 A=[3,4,5;4,-6,3;6,7,0] find 2x2 subdeterminant _________ [B ]
A) 1 B) 2 C) 2 D) None
40 A=[5,1;4,5] then inv(A) is ______________ [B ]
A) 1 B) 2 C) 2 D) None
Prepared by: Mr.Raghul G, Mr.S.V.Rajesh Kumar, AP/ECE