Model paper

Dean's Office Official Model Question Paper

MTH 202 · Business Mathematics II

examination paper loaded.
Programme
BBA-F
Academic year
Semester 2
Paper type
Official Model Question
Sitting
Dean's Office Blueprint
Full marks
60
Duration
180 minutes

Tribhuvan University

Faculty of Management

Office of the Dean

Official Model Question Paper / Dean's Office Blueprint

Course: MTH 202 · Business Mathematics II

Level: Bachelor of Business Administration in Finance (BBA-F) · Semester 2

Full Marks: 60

Time: 3 hrs.

Candidates are required to give their answers in their own words as far as practicable. The figures in the margin indicate full marks.

Group A

Brief Answer Questions. Attempt ALL questions.

[5 × 2 = 10]
  1. Define a Tautology in propositional logic and state the contrapositive of pqp \to q.

    [2]
    View model solution

    Answer:

    • Tautology: A compound proposition that is always true for all possible truth value assignments of its component propositional variables (e.g., p¬pp \lor \neg p).
    • Contrapositive: ¬q¬p\neg q \to \neg p (which is logically equivalent to pqp \to q).
  2. State the Pigeonhole Principle and give an example.

    [2]
    View model solution

    Answer: Pigeonhole Principle: If k+1k + 1 or more objects are placed into kk boxes, then at least one box must contain two or more objects. Example: Among any group of 367 people, at least two individuals must share the same birthday.

  3. Define an Equivalence Relation on a set AA.

    [2]
    View model solution

    Answer: A relation RR on a set AA is an equivalence relation if and only if it satisfies three properties:

    1. Reflexive: (a,a)R(a, a) \in R for all aAa \in A.
    2. Symmetric: If (a,b)R(a, b) \in R, then (b,a)R(b, a) \in R.
    3. Transitive: If (a,b)R(a, b) \in R and (b,c)R(b, c) \in R, then (a,c)R(a, c) \in R.
  4. What is an Euler Circuit in a connected graph?

    [2]
    View model solution

    Answer: Euler Circuit: A closed walk in a graph that visits every single edge exactly once and returns to the starting vertex. A connected undirected graph has an Euler circuit if and only if every vertex has an even degree.

  5. Define a Tree and state the relationship between the number of vertices VV and edges EE in a tree.

    [2]
    View model solution

    Answer: Tree: A connected undirected graph with no simple circuits. Relationship: For any tree with VV vertices and EE edges:

    E=V1E = V - 1

Group B

Descriptive Answer Questions. Attempt any THREE questions.

[3 × 10 = 30]
  1. Prove by Mathematical Induction that for all positive integers n1n \ge 1:

    12+22+32++n2=n(n+1)(2n+1)61^2 + 2^2 + 3^2 + \dots + n^2 = \frac{n(n + 1)(2n + 1)}{6}

    [10]
    View model solution

    Proof by Mathematical Induction

    Let P(n)P(n) be the proposition:

    12+22+32++n2=n(n+1)(2n+1)61^2 + 2^2 + 3^2 + \dots + n^2 = \frac{n(n + 1)(2n + 1)}{6}


    Step 1: Base Case (n=1n = 1)

    • Left Hand Side (LHS) = 12=11^2 = 1.
    • Right Hand Side (RHS) = 1(1+1)(2(1)+1)6=1(2)(3)6=66=1\frac{1(1 + 1)(2(1) + 1)}{6} = \frac{1(2)(3)}{6} = \frac{6}{6} = 1. Since LHS=RHS=1\text{LHS} = \text{RHS} = 1, the base case P(1)P(1) is true.

    Step 2: Inductive Hypothesis

    Assume that P(k)P(k) is true for some positive integer k1k \ge 1:

    12+22+32++k2=k(k+1)(2k+1)61^2 + 2^2 + 3^2 + \dots + k^2 = \frac{k(k + 1)(2k + 1)}{6}


    Step 3: Inductive Step (n=k+1n = k + 1)

    We must prove that P(k+1)P(k + 1) is true, i.e.:

    12+22++k2+(k+1)2=(k+1)((k+1)+1)(2(k+1)+1)6=(k+1)(k+2)(2k+3)61^2 + 2^2 + \dots + k^2 + (k + 1)^2 = \frac{(k + 1)((k + 1) + 1)(2(k + 1) + 1)}{6} = \frac{(k + 1)(k + 2)(2k + 3)}{6}

    Starting with the LHS of P(k+1)P(k + 1):

    LHS=[12+22++k2]+(k+1)2\text{LHS} = [1^2 + 2^2 + \dots + k^2] + (k + 1)^2
    Substitute the inductive hypothesis:
    LHS=k(k+1)(2k+1)6+(k+1)2\text{LHS} = \frac{k(k + 1)(2k + 1)}{6} + (k + 1)^2
    Factor out common term (k+1)(k + 1):
    LHS=(k+1)[k(2k+1)6+(k+1)]=(k+1)[2k2+k+6k+66]\text{LHS} = (k + 1) \left[ \frac{k(2k + 1)}{6} + (k + 1) \right] = (k + 1) \left[ \frac{2k^2 + k + 6k + 6}{6} \right]
    =(k+1)[2k2+7k+66]= (k + 1) \left[ \frac{2k^2 + 7k + 6}{6} \right]
    Factoring the numerator quadratic 2k2+7k+6=2k2+4k+3k+6=2k(k+2)+3(k+2)=(k+2)(2k+3)2k^2 + 7k + 6 = 2k^2 + 4k + 3k + 6 = 2k(k + 2) + 3(k + 2) = (k + 2)(2k + 3):
    LHS=(k+1)(k+2)(2k+3)6=RHS\text{LHS} = \frac{(k + 1)(k + 2)(2k + 3)}{6} = \text{RHS}

    Therefore, P(k+1)P(k + 1) is true whenever P(k)P(k) is true. By the Principle of Mathematical Induction, P(n)P(n) is true for all integers n1n \ge 1.

  2. Solve the second-order linear homogeneous recurrence relation:

    an=5an16an2for n2a_n = 5a_{n-1} - 6a_{n-2} \quad \text{for } n \ge 2
    with initial conditions a0=1a_0 = 1 and a1=4a_1 = 4.

    [10]
    View model solution

    Solution: Homogeneous Recurrence Relation

    Given:

    an5an1+6an2=0a_n - 5a_{n-1} + 6a_{n-2} = 0

    Step 1: Characteristic Equation

    Let an=rna_n = r^n:

    r25r+6=0r^2 - 5r + 6 = 0
    (r2)(r3)=0(r - 2)(r - 3) = 0
    The characteristic roots are distinct: r1=2r_1 = 2 and r2=3r_2 = 3.


    Step 2: General Solution

    Since roots are real and distinct, the general solution is:

    an=α1(2)n+α2(3)na_n = \alpha_1 (2)^n + \alpha_2 (3)^n


    Step 3: Determine Constants α1\alpha_1 and α2\alpha_2 from Initial Conditions

    • For n=0n = 0:
      a0=α1(2)0+α2(3)0=α1+α2=1    α2=1α1— (1)a_0 = \alpha_1 (2)^0 + \alpha_2 (3)^0 = \alpha_1 + \alpha_2 = 1 \implies \alpha_2 = 1 - \alpha_1 \quad \text{--- (1)}
    • For n=1n = 1:
      a1=2α1+3α2=4— (2)a_1 = 2\alpha_1 + 3\alpha_2 = 4 \quad \text{--- (2)}

    Substitute (1) into (2):

    2α1+3(1α1)=42\alpha_1 + 3(1 - \alpha_1) = 4
    2α1+33α1=4    α1=1    α1=12\alpha_1 + 3 - 3\alpha_1 = 4 \implies -\alpha_1 = 1 \implies \alpha_1 = -1
    α2=1(1)=2\alpha_2 = 1 - (-1) = 2


    Step 4: Final Solution

    an=(2)n+2(3)na_n = -(2)^n + 2(3)^n

    Verification:

    • n=0:(1)+2(1)=1n = 0: -(1) + 2(1) = 1 (Matches a0a_0).
    • n=1:(2)+2(3)=4n = 1: -(2) + 2(3) = 4 (Matches a1a_1).
    • n=2:a2=5(4)6(1)=14n = 2: a_2 = 5(4) - 6(1) = 14; Formula: (4)+2(9)=4+18=14-(4) + 2(9) = -4 + 18 = 14 (Confirmed).
  3. Explain Dijkstra’s Algorithm for finding the shortest path in a weighted connected graph. Trace the algorithm on a graph with vertices {A,B,C,D,E}\{A, B, C, D, E\} to determine the shortest path from source vertex AA to all other vertices with the following edge weights: (A,B)=4,(A,C)=2,(B,C)=1,(B,D)=5,(C,D)=8,(C,E)=10,(D,E)=2(A, B) = 4, (A, C) = 2, (B, C) = 1, (B, D) = 5, (C, D) = 8, (C, E) = 10, (D, E) = 2.

    [10]
    View model solution

    Dijkstra’s Shortest Path Algorithm

    1. Algorithm Overview

    • A greedy algorithm that finds the shortest path from a single source vertex to all other vertices in a weighted graph with non-negative edge weights.
    • Maintains a set of visited vertices SS and updates tentative distance estimates d(v)d(v) for all unvisited neighbors:
      d(v)=min(d(v),d(u)+w(u,v))d(v) = \min(d(v), d(u) + w(u, v))

    2. Step-by-Step Trace from Source AA:

    • Initialization: d(A)=0d(A) = 0; d(B)=,d(C)=,d(D)=,d(E)=d(B) = \infty, d(C) = \infty, d(D) = \infty, d(E) = \infty. Visited set S=S = \emptyset.

    • Iteration 1: Select unvisited vertex with minimum distance: Vertex AA (d=0d=0). Add AA to SS: S={A}S = \{A\}. Update neighbors of AA:

      • d(B)=min(,0+4)=4d(B) = \min(\infty, 0 + 4) = 4 (via AA)
      • d(C)=min(,0+2)=2d(C) = \min(\infty, 0 + 2) = 2 (via AA)
    • Iteration 2: Minimum unvisited vertex: Vertex CC (d=2d=2). Add CC to SS: S={A,C}S = \{A, C\}. Update neighbors of CC:

      • Neighbor BB: d(B)=min(4,2+1)=3d(B) = \min(4, 2 + 1) = 3 (updated via CC!)
      • Neighbor DD: d(D)=min(,2+8)=10d(D) = \min(\infty, 2 + 8) = 10 (via CC)
      • Neighbor EE: d(E)=min(,2+10)=12d(E) = \min(\infty, 2 + 10) = 12 (via CC)
    • Iteration 3: Minimum unvisited vertex: Vertex BB (d=3d=3). Add BB to SS: S={A,C,B}S = \{A, C, B\}. Update neighbors of BB:

      • Neighbor DD: d(D)=min(10,3+5)=8d(D) = \min(10, 3 + 5) = 8 (updated via BB!)
    • Iteration 4: Minimum unvisited vertex: Vertex DD (d=8d=8). Add DD to SS: S={A,C,B,D}S = \{A, C, B, D\}. Update neighbors of DD:

      • Neighbor EE: d(E)=min(12,8+2)=10d(E) = \min(12, 8 + 2) = 10 (updated via DD!)
    • Iteration 5: Select remaining vertex: Vertex EE (d=10d=10). S={A,B,C,D,E}S = \{A, B, C, D, E\}. All vertices visited.


    3. Shortest Paths and Distances from AA:

    • To BB: Path ACBA \to C \to B, Distance = 3
    • To CC: Path ACA \to C, Distance = 2
    • To DD: Path ACBDA \to C \to B \to D, Distance = 8
    • To EE: Path ACBDEA \to C \to B \to D \to E, Distance = 10
  4. Define a Boolean Algebra. State and prove De Morgan’s Laws in Boolean algebra using truth tables and algebraic simplification.

    [10]
    View model solution

    Boolean Algebra and De Morgan’s Laws

    1. Definition of Boolean Algebra

    A Boolean algebra is an algebraic structure (B,+,,,0,1)(B, +, \cdot, ', 0, 1) consisting of a set BB with two binary operations ++ (OR), \cdot (AND), a unary operation ' (NOT), and two special elements 0 and 1, satisfying:

    1. Closure under ++ and \cdot
    2. Commutative laws: x+y=y+xx + y = y + x and xy=yxx \cdot y = y \cdot x
    3. Associative laws: (x+y)+z=x+(y+z)(x + y) + z = x + (y + z) and (xy)z=x(yz)(x \cdot y) \cdot z = x \cdot (y \cdot z)
    4. Distributive laws: x(y+z)=(xy)+(xz)x \cdot (y + z) = (x \cdot y) + (x \cdot z) and x+(yz)=(x+y)(x+z)x + (y \cdot z) = (x + y) \cdot (x + z)
    5. Identity laws: x+0=xx + 0 = x and x1=xx \cdot 1 = x
    6. Complement laws: x+x=1x + x' = 1 and xx=0x \cdot x' = 0

    2. De Morgan’s Laws

    1. First Law: (x+y)=xy(x + y)' = x' \cdot y' (The complement of a sum equals the product of the complements).
    2. Second Law: (xy)=x+y(x \cdot y)' = x' + y' (The complement of a product equals the sum of the complements).

    3. Truth Table Verification

    xx yy xx' yy' x+yx + y (x+y)(x + y)' xyx' \cdot y' xyx \cdot y (xy)(x \cdot y)' x+yx' + y'
    0 0 1 1 0 1 1 0 1 1
    0 1 1 0 1 0 0 0 1 1
    1 0 0 1 1 0 0 0 1 1
    1 1 0 0 1 0 0 1 0 0

    Columns 6 and 7 are identical, proving (x+y)=xy(x + y)' = x' \cdot y'. Columns 9 and 10 are identical, proving (xy)=x+y(x \cdot y)' = x' + y'.

Group C

Comprehensive Answer / Case Analysis Question. Attempt ALL questions.

[1 × 20 = 20]
  1. Case Study: Telecommunication Network Design, Spanning Trees, and Database Relational Algebra

    Nepal Telecom is designing an optical fiber backbone network to connect six regional administrative centers: Kathmandu (v1v_1), Pokhara (v2v_2), Biratnagar (v3v_3), Butwal (v4v_4), Nepalgunj (v5v_5), and Dhangadhi (v6v_6). The fiber laying costs (in Millions of NPR) between feasible direct optical links are given in the following symmetric distance table:

    Links v1v_1 (KTM) v2v_2 (PKR) v3v_3 (BRT) v4v_4 (BTW) v5v_5 (NPJ) v6v_6 (DHN)
    v1v_1 20 35 28
    v2v_2 20 15 30
    v3v_3 35 40
    v4v_4 28 15 40 22
    v5v_5 30 22 18
    v6v_6 18

    Simultaneously, the billing database department manages relational tables R(CustID,Name,PlanID)R(\text{CustID}, \text{Name}, \text{PlanID}) and S(PlanID,PlanName,MonthlyFee)S(\text{PlanID}, \text{PlanName}, \text{MonthlyFee}).

    Required: a) Use Kruskal’s Algorithm to find the Minimum Spanning Tree (MST) for connecting all six regional telecom hubs. List every edge added in sorted order, show that no cycles are formed, and compute the minimum total laying cost. (8 Marks) b) Use Prim’s Algorithm starting at Kathmandu (v1v_1) to construct the MST step by step. Verify that the resulting MST and total cost match Kruskal’s result. (6 Marks) c) Express the relational database query to ‘Retrieve customer Name and PlanName for all customers paying a MonthlyFee greater than Rs. 1,000’ using formal Relational Algebra operators (Selection σ\sigma, Projection π\pi, Natural Join \bowtie). (6 Marks)

    [20]
    View model solution

    Comprehensive Case Analysis Solution

    a) Kruskal’s Algorithm for Minimum Spanning Tree (MST)

    A graph with V=6V = 6 vertices requires an MST with exactly V1=5V - 1 = 5 edges.

    1. Sort all candidate edges in non-decreasing order of cost:

      • (v2,v4)=15(v_2, v_4) = 15
      • (v5,v6)=18(v_5, v_6) = 18
      • (v1,v2)=20(v_1, v_2) = 20
      • (v4,v5)=22(v_4, v_5) = 22
      • (v1,v4)=28(v_1, v_4) = 28
      • (v2,v5)=30(v_2, v_5) = 30
      • (v1,v3)=35(v_1, v_3) = 35
      • (v3,v4)=40(v_3, v_4) = 40
    2. Step-by-Step Edge Selection:

      • Edge 1: Pick (v2,v4)(v_2, v_4) with weight 15. Connects {v2,v4}\{v_2, v_4\}. No cycle. (Accepted)
      • Edge 2: Pick (v5,v6)(v_5, v_6) with weight 18. Connects {v5,v6}\{v_5, v_6\}. No cycle. (Accepted)
      • Edge 3: Pick (v1,v2)(v_1, v_2) with weight 20. Connects {v1,v2,v4}\{v_1, v_2, v_4\}. No cycle. (Accepted)
      • Edge 4: Pick (v4,v5)(v_4, v_5) with weight 22. Connects {v1,v2,v4,v5,v6}\{v_1, v_2, v_4, v_5, v_6\}. No cycle. (Accepted)
      • Next edge in list: (v1,v4)=28(v_1, v_4) = 28. Vertices v1v_1 and v4v_4 are already in the same component {v1,v2,v4}\{v_1, v_2, v_4\}. Adding creates cycle (v1v2v4v1)(v_1-v_2-v_4-v_1). (Rejected)
      • Next edge: (v2,v5)=30(v_2, v_5) = 30. Both in same component. Forms cycle. (Rejected)
      • Edge 5: Pick (v1,v3)(v_1, v_3) with weight 35. Connects v3v_3 to component. No cycle. (Accepted)

    All 6 vertices are connected with 5 edges.

    1. Total Minimum Laying Cost:
      Cost=15+18+20+22+35=Rs. 110 Million\text{Cost} = 15 + 18 + 20 + 22 + 35 = \text{Rs. } 110 \text{ Million}

    b) Prim’s Algorithm Starting at Kathmandu (v1v_1)

    • Initial tree T={v1}T = \{v_1\}.
    • Step 1: Incident edges from {v1}\{v_1\}: (v1,v2)=20(v_1, v_2) = 20, (v1,v4)=28(v_1, v_4) = 28, (v1,v3)=35(v_1, v_3) = 35. Minimum edge: (v1,v2)(v_1, v_2) with weight 20. T={v1,v2}T = \{v_1, v_2\}.
    • Step 2: Incident edges from {v1,v2}\{v_1, v_2\} to unvisited: (v2,v4)=15(v_2, v_4) = 15, (v1,v4)=28(v_1, v_4) = 28, (v2,v5)=30(v_2, v_5) = 30, (v1,v3)=35(v_1, v_3) = 35. Minimum edge: (v2,v4)(v_2, v_4) with weight 15. T={v1,v2,v4}T = \{v_1, v_2, v_4\}.
    • Step 3: Incident edges from {v1,v2,v4}\{v_1, v_2, v_4\} to unvisited: (v4,v5)=22(v_4, v_5) = 22, (v2,v5)=30(v_2, v_5) = 30, (v1,v3)=35(v_1, v_3) = 35, (v4,v3)=40(v_4, v_3) = 40. Minimum edge: (v4,v5)(v_4, v_5) with weight 22. T={v1,v2,v4,v5}T = \{v_1, v_2, v_4, v_5\}.
    • Step 4: Incident edges from {v1,v2,v4,v5}\{v_1, v_2, v_4, v_5\} to unvisited: (v5,v6)=18(v_5, v_6) = 18, (v1,v3)=35(v_1, v_3) = 35, (v4,v3)=40(v_4, v_3) = 40. Minimum edge: (v5,v6)(v_5, v_6) with weight 18. T={v1,v2,v4,v5,v6}T = \{v_1, v_2, v_4, v_5, v_6\}.
    • Step 5: Incident edges to remaining unvisited vertex {v3}\{v_3\}: (v1,v3)=35(v_1, v_3) = 35, (v4,v3)=40(v_4, v_3) = 40. Minimum edge: (v1,v3)(v_1, v_3) with weight 35. T={v1,v2,v4,v5,v6,v3}T = \{v_1, v_2, v_4, v_5, v_6, v_3\}.

    Verification: Edges selected by Prim: {(v1,v2),(v2,v4),(v4,v5),(v5,v6),(v1,v3)}\{(v_1, v_2), (v_2, v_4), (v_4, v_5), (v_5, v_6), (v_1, v_3)\}. Total cost =20+15+22+18+35=Rs. 110 Million= 20 + 15 + 22 + 18 + 35 = \text{Rs. } 110 \text{ Million} (Matches Kruskal’s exact tree!).


    c) Relational Algebra Formulation

    Given schemas:

    • R(CustID,Name,PlanID)R(\underline{\text{CustID}}, \text{Name}, \text{PlanID})
    • S(PlanID,PlanName,MonthlyFee)S(\underline{\text{PlanID}}, \text{PlanName}, \text{MonthlyFee})

    The relational algebra expression:

    πName,PlanName(RσMonthlyFee>1,000(S))\pi_{\text{Name}, \text{PlanName}} \Big( R \bowtie \sigma_{\text{MonthlyFee} > 1,000}(S) \Big)

    Operational Steps:

    1. Selection (σMonthlyFee>1,000(S)\sigma_{\text{MonthlyFee} > 1,000}(S)): Filters rows in relation SS where the monthly fee exceeds Rs. 1,000.
    2. Natural Join (\bowtie): Joins filtered plans with customer records RR on the common attribute PlanID\text{PlanID}.
    3. Projection (πName,PlanName\pi_{\text{Name}, \text{PlanName}}): Extracts only the customer Name and PlanName attributes in the final result relation.