👁️ 101 views
University of Barishal Logo

University of Barishal

Department of Computer Science and Engineering

Final Exam

Course Title: Discrete Mathematics (CSE-1203)

Semester: 2nd | Session: 20-21

Time: 180 minutes | Marks: 60.00

Course Teacher: Md. Rashid Al Asif

N.B.: Answer any Five questions out of the followings. All parts of each question must be answered consecutively. Right side of the question shows the maximum marks.

1.


a) Define logic and proposition with example.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
b) What is bi-implication? Develop truth table of (pΛq)v(⅂qΛr) and ⅂qv (⅂pΛq).

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c) How can this English sentence be translated into logical expression? "You cannot ride the roller coaster if you are under 4 feet tall unless you are older than 16 years old."

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
2.


a) Define predicates and quantifiers with examples.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
b) What do you mean by "((p→q)Λ⅂p)→⅂q is not a tautology"? For each of these arguments, explain with rules of inference are used for each step.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c) Using Mathematical induction method show that

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
5 Marks
3.


a) Define set with example. What is the power set of {x, y, z, 5} and Cartesian products of {x, y, z} and {a, b, c}.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
b) Show that ∀x (P(x)ΛQ(x)) and ∀x P(x)Λ ∀x Q(x) are logically equivalent.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c) Explain why (A × B) x (CxD) and A × (BxC) × D are not the same

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
4.


a)

Let p(n) = a0 + a1n + an² + ... + amnm; that is, suppose degree p(n) = m, prove that p(n) = O (nm).

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
b)

Show that if n is an integer greater than 1, then n can be written as a prime or product primes.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c)

Analysis the complexity of Quick Sort Algorithm for the following input. 

Please SUBSCRIBE to view full question

Topics: Quick Sort , Space Complexity , Time Complexity Solution is Coming!
4 Marks
5.


a) Discuss generalized pigeonhole principle and proof this theorem using proof by contradiction.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
b)

Suppose that there are eight runners in a race. The winner receives a gold medal, the second place finisher receives a silver medal, and the third-place finisher receives a bronze medal. How many different ways are there to award to these medals, if all possible outcomes of the race can occur and there no ties?

Please SUBSCRIBE to view full question

Topics: Combinatorics , Factorial Notation , Permutations and Arrangements Solution is Coming!
3 Marks
c) How many bit strings of length 10 contain at least three 1s and at least three 0s?

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
d) A bag contains 10 red marbles, 10 white marbles, and 10 blue marbles. What is the minimum no. of marbles you have to choose randomly from the bag to ensure that we get 4 marbles of same color?

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
6.


a) Suppose that A and B are events from a sample space S such that P(A) ≠ 0 and P(B) ≠0. Then proof the following:

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
5 Marks
b) Let E1 and E2 be events in the sample space S. Then proof the following: P(E1 U E2) = P(E1) + P(E2) - P(E1 ∩ E2)

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c) For each of these relations on the set {1, 2, 3, 4), decide whether it is reflexive, whether it is symmetric, whether it is antisymmetric, and whether it is transitive with explanation. i) {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4)} ii) {(2, 4), (4, 2)} iii) {(1, 1), (2, 2), (3, 3), (4, 4)}

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
7.


a) Define Isomorphic graph, Complete graph and Bipartite graph with example.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
b)

Explain Eulerian and Hamiltonian graphs with examples, also draw the graphs of the following:

i) Eulerian but not Hamiltonian

ii) Hamiltonian but not Eulerian

Please SUBSCRIBE to view full question

Topics: Eulerian Graphs , Graph Theory , Hamiltonian Graphs Solution is Coming!
5 Marks
c)

Show that Kn has a Hamilton circuit whenever n ≥ 3.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks
8.


a) Illustrate how Kruskal's algorithm and Prim's algorithm are used to find a minimum spanning tree, using a weighted graph with at least eight vertices and 15 edges.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
5 Marks
b) How can the final exams at a university be scheduled (using graph coloring) so that no student has two exams at the same time?

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
4 Marks
c) In which order an in-order and post-order traversal visit the vertices of the given ordered rooted tree.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
3 Marks

Contributors of this Question:

Role Name Date
Prepared By (Teacher): Md. Rashid Al Asif N/A
Uploaded By: Onebyzero Edu (Test User) July 27, 2024, 9:40 p.m.
Converted By (Img/PDF to Text): Baishakhi Bir Nov. 24, 2025, 1:15 a.m.
Reviewed By: Obaydul Hasan Nayeem Nov. 24, 2025, 6:54 p.m.