Docsity

Mathematical structure for computer science, Lecture notes of Mathematics

Toggle sidebar
bg1
Question Bank - UNIT I: Matrices
Part A: Multiple Choice Questions
1. The order of a matrix with 3 rows and 4 columns is:
a) 4 × 3
b) 3 × 4
c) 3 × 3
d) 4 × 4
Answer: 3 × 4
2. If A = [aij], the element in 2nd row and 3rd column is denoted as:
a) a23
b) a32
c) a22
d) a33
Answer: a23
3.If |A| = 0, then matrix A is:
a) Singular
b) Non-singular
c) Unit matrix
d) Null matrix
Answer: Singular
4. The transpose of a 2 × 3 matrix is of order:
a) 2 × 3
b) 3 × 2
c) 3 × 3
d) 2 × 2
Answer: 3 × 2
5. The adjoint of a matrix is obtained by:
a) Transposing the cofactor matrix
b) Multiplying by determinant
c) Adding minors
d) Squaring the matrix
Answer: Transposing the cofactor matrix
6.Determinant of identity matrix of order 3 is:
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Mathematical structure for computer science and more Lecture notes Mathematics in PDF only on Docsity!

Question Bank - UNIT I: Matrices

Part A: Multiple Choice Questions

  1. The order of a matrix with 3 rows and 4 columns is: a) 4 × 3 b) 3 × 4 c) 3 × 3 d) 4 × 4 Answer: 3 × 4
  2. If A = [aij], the element in 2nd row and 3rd column is denoted as: a) a 23 b) a 32 c) a 22 d) a 33 Answer: a 23 3.If |A| = 0, then matrix A is: a) Singular b) Non-singular c) Unit matrix d) Null matrix Answer: Singular
  3. The transpose of a 2 × 3 matrix is of order: a) 2 × 3 b) 3 × 2 c) 3 × 3 d) 2 × 2 Answer: 3 × 2
  4. The adjoint of a matrix is obtained by: a) Transposing the cofactor matrix b) Multiplying by determinant c) Adding minors d) Squaring the matrix Answer: Transposing the cofactor matrix 6.Determinant of identity matrix of order 3 is:

a) 0 b) 1 c) 3 d) Undefined Answer: 1 7.The minor of an element is obtained by: a) Removing its row and column b) Multiplying by determinant c) Adding elements d) Squaring element Answer: Removing its row and column 8 Which is not a type of elementary row operation? a) Row interchange b) Row scaling c) Adding multiple of row d) Column multiplication Answer: Column multiplication

  1. Which is a scalar matrix? a) Diagonal matrix with equal diagonal elements b) Any diagonal matrix c) Identity matrix d) Row matrix Answer: Diagonal matrix with equal diagonal elements
  2. Which operation is not valid for all matrices? a) Addition b) Multiplication c) Transpose d) Inverse Answer: Inverse

Part B: Short Answer Questions

1.Find the Determinant of A =

Ans:|A|=

M11=det([0])=0,M12=det([5])=5,M21=det([2])=2,M22=det([3])=3. C11=+M11=0,C12=−M12=−5,C21=−M21=−2,C22=+M22=3.

  1. Find the rank of the matrix

Ans: ∴ ρ ( A) = 2

  1. Find the Inverse of the Matrix. A =

Ans: A-1^ =

Part C: Essay Type Questions

  1. If A =

and B =

find AB AB=NULL MATRIX

  1. Verify that^ B^ T A T =( AB ) T When A =

2 1 0 and B =

B T A T =( AB ) T 1 4 4 4 3.Find the Determinant of A=

det(A)=

  1. Find the minor & cofactor of all the elements of

Minor= 21 -6 2 26 59 32 -25 -15 5 Cofactor= 21 6 2

  1. Find the inverse of the matrix
A−1=
  1. If 10A -50I =0 and A =

, find^ A^ − 1 A−1=1/5x I

  1. Find the rank of

Ans:Rank=

  1. Find the rank of

Ans: Rank=

  1. Find the rank of A,B , A+B and AB A =

and B=

  1. Find the Inverse of R=

Ans: A-1^ =1/150 =

  1. If determinant of coefficient matrix = 0, system is: a) Singular b) Consistent c) Non-singular d) Diagonal Answer: Singular
  2. Gauss Elimination and Gauss Jordan belong to: a) Direct methods b) Iterative methods c) Hybrid methods d) Matrix inversion Answer: Direct methods
  3. Gauss Jordan method belong to: a) Direct methods b) Iterative methods c) Hybrid methods d) Matrix inversion Answer: b) Iterative methods
  4. Gauss Jordan method requires: a) More operations than Gauss elimination b) Less operations c) Same operations d) No operations Answer: More operations than Gauss elimination
  5. In Gauss–Seidel, initial guess is usually: a) Any arbitrary values b) All 1s c) All 0s d) Inverse of matrix Answer: All 0s Part B: Short Answer Questions
  1. Write the augmented matrix for 2x+y+z=3, 4x–y+2z=7. Answer: [[2,1,1|3],[4,-1,2|7]]
  2. Differentiate the Gauss elimination and Gauss–Jordan Methods? Answer: Elimination → echelon + back substitution; Jordan → reduced echelon, no back substitution.
  3. Solve using Gauss elimination: x+y=2, x–y=0. Answer: x=1,y=
  4. Difference between direct and iterative methods? Answer: Direct=exact finite steps; Iterative=approx successive.
  5. Explain the application of solving linear systems in engineering. Answer: Circuit analysis, structural mechanics, etc.
  6. Solve using Gauss Jordan: x+y=3, x–y=1. Answer: x=2,y= 7.Write a Note on Row Elementary Transformation. 8.Write the Advantage of Gauss–Seidel over Guass Jordan method? Answer: Uses latest updated values, converges faster.
  7. Solve x+y=4, x–y=2 by Gauss elimination. Answer: x=3, y=
  8. Write the system Ax=b form for 2x+y=5, 3x–y=4 and its Augmented matrix. Answer: A=[[2,1],[3,-1]], X=[x,y], b=[5,4] C=[A:B] Part C: Essay Questions 1. Solve By Gauss Elimination Method 2X+ Y+ 4Z = 12 8X-3Y+2Z= 20 4X+11Y-Z= 33 Ans:x=3,y=2,z=
  9. Solve By Gauss Elimination Method X+3 Y+ 2Z = 5 2X+4Y-6Z= - X+5Y+3Z= 10
  1. Which rule divides interval into trapezoids? a) Newton’s Forward b) Trapezoidal Rule c) Simpson’s 1/ d) Stirling’s Ans: b
  2. Simpson’s 1/3 rule requires: a) Even number of intervals b) Odd number of intervals c) Single point d) None Ans: a 3. Numerical differentiation is used to find: a) Area under curve b) Slopes at points c) Roots of equations d) None Ans: b 4. The formula for trapezoidal rule contains: a) Only end points b) End points + interior points c) Only mid points d) None Ans: b 5. In Simpson’s 1/3 rule, weights of odd terms are: a) 1 b) 2 c) 3 d) 4 Ans: 4 6. In Simpson’s 1/3 rule, weights of even terms are: a) 1 b) 2 c) 3 d) 4 Ans: 2

In forward interpolation u is defined as:

a)x-x 0 /h

b)x-xn/h

c)x/h

d)x-xm/h

Ans:a

In backward interpolation u is defined as:

a)x-x 0 /h

b)x-xn/h

c)x/h

d)None

Ans:b

Ans:a 9.Simpson’s 3/8 rule requires number of subintervals to be: a) Multiple of 2 b) Multiple of 3 c) Multiple of 4 d) Any Ans: b 10.The order of accuracy of Simpson’s 1/3 rule is: a) 1 b) 2 c) 3 d) 4 Ans: 4 PART B

  1. Write a short note on trapezoidal rule. The trapezoidal rule is a numerical integration technique used to approximate the definite integral of a function. It approximates the area under the curve of a function by dividing it into trapezoids and adding up their areas. I=2h[y0+2(y1+y2+...+yn−1)+yn].
  2. Write a short note on Simpson rule. The Simpson's rule is a numerical integration technique that uses quadratic polynomial approximations to estimate the definite integral of a function. The rule is based on the idea of approximating the area under a curve by fitting a quadratic polynomial to three points on the curve and then integrating this polynomial over the interval. 5 Write the expression for Newton’s forward difference formula. 👉 It is used to interpolate values near the beginning of a table using forward differences. Formula: f(x)=f(x0)+uΔf(x0)+u(u−1)/2!Δ^2 f(x0)+….where u=x−x0/h
  3. Write the expression for Newton’s backward difference formula. 👉 Used near the end of the table with backward differences: f(x)=f(xn)+u∇f(xn)+u(u+1)/2!∇^2 f(xn)+... where u=x−xn/h
  4. Differentiate between Simpson’s 1/3 and 3/8 rules. 👉 1/3 rule uses quadratic polynomials with even number of intervals; 3/ rule uses cubic polynomials with intervals multiple of 3.

f(5)≈1.

tan(0.28)≈0.

  1. Evaluate (^) ∫ 0 2 ( 2 x 2 − 1 ) dx with n=4 using Trapezoidal Rule I=3. 8.Form a difference Table & interpolate the value of f(x) when x=4,Given x 3 5 7 9 f(x) 180 150 120 90 Ans: 9.Evaluate (^) ∫ 0 6 dx 1 + x 2 using Trapezoidal Rule Error≈1.410798581385−1.405647649380≈0. 10.Evaluate (^) ∫ 0 6 dx 1 + x 2 using^ Simpson’s Rule

UNIT 4 Part A The arithmetic mean of 5, 10, 15 is: a) 5 b) 10 c) 15 d) 20 👉 Answer: b) 10 2. The median of the data {2, 4, 6, 8, 10} is: a) 4 b) 5

c) 6 d) 8 👉 Answer: c) 6

3. Mode is the value that: a) Divides data into two equal parts b) Appears most frequently c) Always equals mean d) Is the last observation 👉 Answer: b) Appears most frequently 4. If all numbers in a data set are the same, mean = median = mode =? a) 0 b) That number c) Undefined d) Infinity 👉 Answer: b) That number 5. Harmonic Mean is useful for: a) Heights of students b) Average speed c) Ages of people d) Mode of data 👉 Answer: b) Average speed 6. Geometric Mean cannot be used if: a) Numbers are large b) Numbers are small c) Numbers include 0 or negative values d) Numbers are fractions 👉 Answer: c) Numbers include 0 or negative values 7. Which of the following is NOT a measure of central tendency? a) Mean b) Median c) Range d) Mode 👉 Answer: c) Range 8. If a distribution is symmetrical, then: a) Mean = Median = Mode b) Mean > Median > Mode c) Mean < Median < Mode d) Mode is absent 👉 Answer: a) Mean = Median = Mode 9. The empirical relation among mean, median, and mode is: a) Mean = Mode – Median b) Mode = 3 Median – 2 Mean c) Median = Mean + Mode d) Mode = Mean – Median 👉 Answer: b) Mode = 3 Median – 2 Mean

Calculate the Arithmetic mean.

  1. Calculate the arithmetic mean number of persons per house.Given: No. of persons per house 2 3 4 5 6 Total No.of houses

Ans:

  1. Show that the sum of the deviations of the values from their arithmetic mean is zero.That is, ∑(X-͞͞ X )= X: 3 11 15 27 31 ANS;
  1. Determine the mode: i.320,395,342,444,551,395,425,417,395,401,390, ii.3,6,7,5,8,4, iii.0,2,5,6,9,5,6,14,6,15,5,6, Ans:

7.Find the Geometric mean of 3,6,24,48.

  1. Find the Geometric mean. of 4, 16, 64. Ans
  2. Find the harmonic mean of the following individual data: 6,15,35,40,900,520,300,400,1800, Ans: