👁️ 98 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: 19-20

Time: 180 minutes | Marks: 60.00

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)

Suppose that Smartphone A has 256 MB RAM and 32 GB ROM, and the resolution of its camera is 8 MP; Smartphone B has 288 MB RAM and 64 GB ROM, and the resolution of its camera is 4 MP; and Smartphone C has 128 MB RAM and 32 GB ROM, and the resolution of its camera is 5 MP.
Determine the truth value of each of these propositions.

i) Smartphone B has the most RAM of these three smartphones.
ii) Smartphone C has more ROM or a higher resolution camera than Smartphone B.
iii) Smartphone B has more RAM, more ROM, and a higher resolution camera than Smartphone A.
iv) If Smartphone B has more RAM and more ROM than Smartphone C, then it also has a higher resolution camera.

Please SUBSCRIBE to view full question

Topics: Propositional Logic Solution is Coming!
2 Marks
b)

Define propositional logic. Write down the difference between implication and biconditional with example.

Please SUBSCRIBE to view full question

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

Construct the truth table of the compound proposition: (p v ⅂q)  → (p Λ q)

Please SUBSCRIBE to view full question

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

Show that (p Λ q) → (p V q) is a tautology.

 

Please SUBSCRIBE to view full question

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


a)

Let P(x) be the statement "x=x²". If the domain consists of integers, what are these truth values?
i) P(0)   ii) ƎxP(x)     iii) ∀xP(x)

Please SUBSCRIBE to view full question

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

Let fl and f2 be functions from R to R such that f1(x) = x2 and f2(x) = x - x2. What are the functions f1 + f2 and f1f2?

Please SUBSCRIBE to view full question

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

Mention some methods of proving theorems. Prove that if m + n and n + p are even integers, where m, n, and p are integers, then m + p is even. What kind of proof did you use?

Please SUBSCRIBE to view full question

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


a)

 Use set builder notation to give a description of each of these sets:
     i) {-3, -2, -1, 0, 1, 2, 3}      ii) {m, n, o, p}

Please SUBSCRIBE to view full question

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

Show that A × A ≠ B × A, when A and B are nonempty, unless A = B. 

Please SUBSCRIBE to view full question

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

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

Please SUBSCRIBE to view full question

Topics: Cartesian Product of Sets , Power Set , Set Theory Solution is Coming!
4 Marks
d)

Determine whether the function f(x) = x + 1 from the set of real numbers to itself one-to-one.

Please SUBSCRIBE to view full question

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


a)

 Let p(n) = a0 + an + a2 n² +.... + 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)

 Use mathematical induction to prove that 2< n! for every integer n with n ≥ 4. (Note that this inequality is false for n = 1, 2, and 3.)

Please SUBSCRIBE to view full question

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

Analysis the complexity of the following binary search tree.

 

Please SUBSCRIBE to view full question

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


a)

 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
b)

Each user on a computer system has a password, which is six to eight characters long, where each character is an uppercase letter or a digit. Each password must contain at least one digit. How many possible passwords are there?

Please SUBSCRIBE to view full question

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

 Prove that, if k + 1 or more pigeons are distributed among k pigeonholes, then at least one pigeonhole contains two or more pigeons.

Please SUBSCRIBE to view full question

Topics: Pigeonhole Principle 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: Combinatorics , Pigeonhole Principle Solution is Coming!
2 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)

What is the probability that a positive integer selected at random from the set of positive integers not exceeding 100 is divisible by either 2 or 5?

Please SUBSCRIBE to view full question

Topics: Discrete Probability , Inclusion-Exclusion Principle Solution is Coming!
3 Marks
c)

What do you mean by a complete graph? Draw a K8 graph. What is the degree of a vertex of the K8 graph you have drawn?

Please SUBSCRIBE to view full question

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


a)

What is planner graph? Draw the planner graph of the given simple graph.

Please SUBSCRIBE to view full question

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

Explain Eulerian and Hamiitonian 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: N/A Solution is Coming!
4 Marks
c)

 Define graph coloring and chromatic number of a graph and find the chromatic number of
i) K3,3
ii) cycle with even number of vertices

Please SUBSCRIBE to view full question

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


a)

 Suppose the pre-order and in-order traversals of a binary tree T yield the following sequence of nodes: 
Pre-order: G, B, Q, A, C, K, F, P, D, E, R, H
In-order: Q, B, K, C, F, A, G, P, E, D, H, R

i) Draw the diagram of T         ii) Find the depth d of T
iii) Find the descendants of B   iv) List the terminal nodes of T

Please SUBSCRIBE to view full question

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

Consider the following addresses which are in random order:
1, 2.2.1, 3.2, 2.2.1.1, 1.1.1, 0, 2.1, 3.2.1.1, 3, 3.1, 2.2, 2.1.1, 3.2.1, 1.1, 3.2.1.2, 2, 1.1.2

i) Place the addresses in lexicographic order   ii) Draw the corresponding ordered rooted tree

Please SUBSCRIBE to view full question

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

Find the in-degree and out-degree of each vertex in the following graph with directed edges.

Please SUBSCRIBE to view full question

Topics: N/A Solution is Coming!
2 Marks

Contributors of this Question:

Role Name Date
Uploaded By: Onebyzero Edu (Test User) July 27, 2024, 9:37 p.m.
Converted By (Img/PDF to Text): Baishakhi Bir Nov. 24, 2025, 6:50 p.m.
Reviewed By: Obaydul Hasan Nayeem Nov. 24, 2025, 9:45 p.m.