Skip to content

M.C.A. (Online Mode) Semester I Examination ​

Paper Code: OCA-503 MJ
Title: Computational Mathematics–I
Time: 3 Hours
Maximum Marks: 70

Q1) Multiple Choice Questions with reasoning — answer any 25 of 30 [25 × 2 = 50] ​

For every attempted question, select one option and give a brief reason.

No.QuestionABCD
1Which is a proposition?Close the doorWhat time is it?2 + 2 = 4x + 2 = 5
2p → q is equivalent to:p ∧ ¬q¬p ∧ q¬p ∨ qp ∨ q
3The negation of ∀x P(x) is:∀x ¬P(x)∃x ¬P(x)¬∃x P(x)∃x P(x)
4A truth table for three propositions has:3 rows6 rows8 rows9 rows
5Assuming p and deriving q to prove p → q uses:Modus ponensModus tollensImplication introductionAddition
6Which string is not well formed?(p ∧ q) → rp ∧ → q¬p ∨ (q ∧ r)(p → q) ↔ ¬r
7A type system that admits no modelled unsafe programs is:CompleteSoundUndecidableAmbiguous
8In ∀x(P(x,y) → Q(z)), the free variables are:x onlyy onlyz onlyy and z
9A tree with n vertices has:n edgesn−1 edgesn+1 edges2n edges
10A connected graph has an Euler circuit when:Exactly two vertices are oddEvery vertex has even degreeAny vertex is oddIt has no cycles
11Kruskal rejects a candidate edge when it:Is currently heaviestForms a cycleJoins different componentsHas a unique weight
12The handshaking lemma implies an even number of vertices have:Even degreeOdd degreeZero degreeMaximum degree
13Matrix multiplication is:Always commutativeAssociative but not generally commutativeCommutative but not associativeNeither
14det(AB) equals:det(A)+det(B)det(A)det(B)det(A)-det(B)det(A+B)
15A square matrix is invertible exactly when:Its diagonal is all 1Its determinant is nonzeroIt is symmetricIts trace is positive
16For a graph adjacency matrix A, (A²)ij counts:Edges from i to jLength-two walks from i to jReachable vertices onlyDegree products
17Which is not required of a subspace?Contains zeroClosed under additionClosed under scalar multiplicationContains every basis vector of the parent space
18A basis is:Any spanning setAny independent setAn independent spanning setA set containing zero
19The dimension of polynomials of degree at most 3 is:345Infinite
20Orthogonal vectors u and v satisfy:u·v=1u·v=0u+v=0u=v
21If λ is an eigenvalue of A, then:det(A−λI)=0A−λI has full rankλ must be positiveA must be symmetric
22The product of a matrix's eigenvalues equals its:TraceDeterminantRankNullity
23An n×n matrix is diagonalisable when it has:Nonzero determinantn independent eigenvectorsOnly positive eigenvaluesEqual row sums
24Similar matrices necessarily have equal:EntriesDeterminant and traceEigenvectorsSymmetry
25Eigenvalues describe:Kernel positionScale factors along eigenvectorsPivot locationsInverse entries
26Which rule discharges an assumption when deriving p → q?Modus ponensImplication introductionDouble negationResolution
27A tree with at least two vertices has at least:One leafTwo leavesn leavesNo leaves
28If det(A)=6, then det(A⁻¹) is:61/636−6
29The characteristic equation is:Av=λvdet(A−λI)=0A+λI=0det(A)=0
30Vectors in an orthogonal, not necessarily orthonormal, basis:Have pairwise dot product 0All have length 1Sum to 0Have pairwise dot product 1

Q2) Answer any five in approximately two sentences [5 × 2 = 10] ​

  1. Define a tautology and a contradiction.
  2. Distinguish free and bound variables.
  3. State the handshaking lemma.
  4. Distinguish a path from a trail.
  5. State the condition for multiplying an m×n matrix by a p×q matrix.
  6. Define linear independence.
  7. What does it mean for two matrices to be similar?

Q3) Answer any two in approximately ten lines [2 × 5 = 10] ​

  1. Construct the truth table for (p → q) ↔ (¬q → ¬p) and classify the formula.
  2. Apply Kruskal's algorithm to edges AB=1, BC=2, AC=3, BD=4, CD=5; give the minimum spanning tree and total weight.
  3. For A=[[1,2],[3,4]], find det(A), A⁻¹, and verify one entry of AA⁻¹=I.
  4. Find the eigenvalues and eigenvectors of A=[[2,0],[0,3]], and state whether A is diagonalisable.

Built from Markdown with VitePress.