Discrete Structure, Past Papers, UOS Main Campus

Discrete Structures CMP-2111 Final Past Paper – UOS Main Campus

ExamFinal Term
Course codeCMP-2111
CampusUOS Main
AnswersSolved ✓

University of Sargodha main campus Discrete Structures (Mathematics) final term examination, course code CMP-2111 (60 marks, 2 hours). Retyped from the original paper, with solved answers below.

Solved answers

Q1 – Rules of inference

Let e = “you send me an e-mail”, f = “I finish writing the program”, s = “I go to sleep early”, r = “I wake up feeling refreshed”. Premises: e → f, ¬e → s, s → r. Conclusion: ¬f → r.

  1. e → f (premise)
  2. ¬f → ¬e (contrapositive of 1)
  3. ¬e → s (premise)
  4. ¬f → s (hypothetical syllogism, 2 and 3)
  5. s → r (premise)
  6. ¬f → r (hypothetical syllogism, 4 and 5) ∎

Q2 – a ≤ √n or b ≤ √n

Proof by contraposition/contradiction: suppose a > √n and b > √n. Multiplying the two positive inequalities gives ab > √n · √n = n, which contradicts n = ab. So a ≤ √n or b ≤ √n. ∎

Q3 – Sum of two rationals is rational

Let r = p/q and s = t/u with p, q, t, u integers and q, u ≠ 0. Then r + s = (pu + qt)/(qu). The numerator and denominator are integers and qu ≠ 0, so r + s is rational. ∎

Q4 – If 3n + 2 is odd, then n is odd (by contradiction)

Assume 3n + 2 is odd and n is even, so n = 2k. Then 3n + 2 = 6k + 2 = 2(3k + 1), which is even — a contradiction. Hence n is odd. ∎

Q5 – Straight triominoes on a standard checkerboard

No. A standard checkerboard has 8 × 8 = 64 squares, and each straight triomino covers 3 squares. 64 is not divisible by 3, so the board cannot be tiled exactly.

Q6 – Venn diagram

Draw a rectangle U with two overlapping circles A and B. A ∪ B: shade both circles completely. A ∩ B: shade only the overlapping (lens-shaped) region.

Q7 – “≤” relation on {0, 1, 2, 3}

R = {(0,0), (0,1), (0,2), (0,3), (1,1), (1,2), (1,3), (2,2), (2,3), (3,3)} — 10 ordered pairs.

Q8 – complement of A ∪ (B ∩ C) = (Cᶜ ∪ Bᶜ) ∩ Aᶜ

(A ∪ (B ∩ C))ᶜ = Aᶜ ∩ (B ∩ C)ᶜ (De Morgan) = Aᶜ ∩ (Bᶜ ∪ Cᶜ) (De Morgan) = (Bᶜ ∪ Cᶜ) ∩ Aᶜ (commutative) = (Cᶜ ∪ Bᶜ) ∩ Aᶜ (commutative). ∎

Q9 – Graph of f(x) = x² on the integers

The graph is the set of isolated points (x, x²): …, (−3, 9), (−2, 4), (−1, 1), (0, 0), (1, 1), (2, 4), (3, 9), … Plot only these dots (no connecting curve), because the domain is the integers. The points are symmetric about the y-axis.

Q10 – Compound interest

Aₙ = 10,000 (1.11)ⁿ, so A₃₀ = 10,000 × (1.11)³⁰ ≈ 10,000 × 22.892 = $228,922.97.

Q11 – Geometric series (10)

Let S = Σⱼ₌₀ⁿ arʲ = a + ar + … + arⁿ. If r = 1, every term is a, so S = (n + 1)a. If r ≠ 1: rS = ar + ar² + … + arⁿ⁺¹. Subtract: rS − S = arⁿ⁺¹ − a, so S(r − 1) = arⁿ⁺¹ − a and S = (arⁿ⁺¹ − a)/(r − 1). ∎

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.