DM Assg
DM Assg
When submitting evidence for assessment, each student must sign a declaration confirming
that the work is their own.
Programme:
Pearson BTEC HND in Computing
Plagiarism
Plagiarism is a particular form of cheating. Plagiarism must be avoided at all costs and
students who break the rules, however innocently, may be penalised. It is your responsibility
to ensure that you understand correct referencing practices. As a university level student,
you are expected to use appropriate references throughout and keep carefully detailed notes
of all your sources of materials for material you have used in your work, including any material
downloaded from the Internet. Please consult the relevant unit lecturer or your course tutor
if you need any further advice.
Student Declaration
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the
consequences of plagiarism. I understand that making a false declaration is a form of
malpractice.
1
Assessment Tracking
Student M.T Himas Ahamed
Programme: HND Computing
Name:
Unit No. & Unit 18: Discrete Assessment Submission
Title: Maths Date: Date:
Assessor Eng. A.L. Completion IV sajeetha@bc
Name: Jubailah Begum Date: Signature: as.lk
P1, P2
1 LO1 M1 02.06.2024 03.06.2024 07.06.2024
D1
P3, P4
2 LO2 M2 19.06.2024 20.06.2024 24.06.2024
D2
27.05.2024
P5, P6
3 LO3 M3 30.06.2024 01.07.2024 05.07.2024
D3
P7, P8
LO4
4 M4 14.07.2024 15.07.2024 19.07.2024
D4
2
ASSIGNMENT BRIEF
Unit 18: Discrete Maths
Student Full Name: M.T Himas Ahamed
Assignment Title: Maths for software development at Pilani devs (Pvt) Ltd
Submission Format
Pdf document of the report & Microsoft PowerPoint Presentation slide set.
• Sets and set operations, Algebra within set theory, Set identities and proof of
identities, Set cardinality and power sets.
• Inverse relations and the inverse function, Injective and surjective functions, and
transitive relations.
• Spanning trees and rooted trees, Eulerian and Hamiltonian graphs, Vertex and edge
colourings of graphs, Walks, trails, paths and shortest paths.
• Expressing a truth table as a Boolean equation. Simplification of a Boolean equation
using algebraic methods, representing a Boolean equation using logic gates.
• Binary operations and associated properties, Commutative and associative operations.
3
• Introduction to groups, semigroups and monoids, Families of groups and group codes.
Vocational scenario
Suppose you are the team leader of your web development team at Pilani devs (Pvt) Ltd
which provides software solutions & web applications to the clients.
Your team is working on a multi-tenant web application where each tenant represents a
different organization. Each organization has various roles (e.g., admin, editor, viewer)
with specific permissions (e.g., read, write, delete) assigned to each role. Users are
assigned to one or more roles within their organization, and these roles determine what
actions they can perform in the application.
(a) A ∪ B (e) (A ∪ B) ∪ C
(b) A ∩ B (f) A ∪ (B ∩ C)
(c) B ∪ C (g) B ∪ (C ∪ D)
(d) C ∩ D (h) A - B
Task 1.2
Given than A = {a, b, c, d}. Using the knowledge that you have in determining the
cardinality, write down the power set of A.
Task 1.3
4
(iv) i(x) = √(x + 2)
Task 1.4
Prove the followings using the idea of set identity. Use the knowledge of Venn diagram.
Utilize the corresponding proof principles to prove properties in each.
(a) B ∪ (ø ∩ A) = B
(b) (A ′ ∩ U) ′ = A
(c) (C ∪ A) ∩ (B ∪ A) = A ∪ (B ∩ C)
(d) (A ∩ B) ∪ (A ∩ B ') = A
(e) A ∩ (A ∪ B) = A
Task 2
Task 2.1
Discuss about binary trees both quantitatively and qualitatively with the help of
exemplary diagrams.
Task 2.2
Find the shortest path between A to Z using Dijkstra's algorithm in the diagram given
below.
5
Task 2.3
Access whether an Eulerian and Hamiltonian circuit exists in the below given undirected
graphs.
Task 2.4
Construct a proof of the Five Color Theorem. Utilize the theory of the ‘chromatic
number’.
Task 3
Task 3.1
Discuss two real world binary problems in two different fields where the concept/theory
of Boolean Algebra is applied. Provide relevant diagrams.
Task 3.2
6
Given above a complex logic circuit system created with NAND, NOT and AND gates
according to the below given scenario.
• There are three conditions provided for the inputs of the circuit system. A lamp has
been fixed at the output.
• At one of the combinations of the input conditions only, the lamp will work.
Provide the Boolean Expression and the corresponding truth table for the above
circuit system which satisfies the above mentioned scenario.
Task 3.3
Simplify the following Boolean equation using algebraic methods and Boolean laws.
Task 3.4
An AC (Air Conditioner) in a room can be on (1) or off (0). A control system is required to
operate the AC efficiently with the following conditions / functionalities.
The following table assigns Boolean values for the above conditions / functionalities
7
a) Produce a truth table to represent the functionality of the above system.
c) Design a complex logic circuit system by using a combination of only the basic
logic gates to implement the above control system.
Task 4
Task 4.1
When considering the set of all the natural numbers (ℕ), show whether the mathematical
operations of addition, subtraction, multiplication and division are:
(a) Associative binary operation
Task 4.2
(a) Describe the definition for ‘Group’ along with its properties.
(b) Validate that the set of non-zero real numbers with the operation of multiplication
is a commutative group.
Task 4.3
You are required to prepare a 15-minutes presentation aimed towards new students
engaged under a technology company’s graduate scheme.
Recommended Resources
Please note that the resources listed are examples for you to use as a starting point in
your research – the list is not definitive.
8
Learning Outcomes and Assessment Criteria
P2 Determine the
cardinality of a given bag
(multiset)
P4 Use Dijkstra’s
algorithm to find a
shortest path spanning
tree in a graph.
9
P6 Produce a truth table
and its corresponding
Boolean equation from an
applicable scenario.
10
Guidance for Students
NOTE:
• You should include the COVER PAGE, Assessment Declaration form and Unit Review
Plan of this assignment when you submit your final report.
• If submitted after the extended deadline, the assignment will not be accepted whereas
you shall be asked to go for a NEW assignment.
Instructions to students:
1. All assignment should comprise of the standard Front Cover given. No other front page
will be accepted.
11
12
13
Task 1
Task 1.1
(a) A ∪ B (e) (A ∪ B) ∪ C
(b) A ∩ B (f) A ∪ (B ∩ C)
(c) B ∪ C (g) B ∪ (C ∪ D)
(d) C ∩ D (h) A - B
14
(a) A ∪ B
• A= {2,3,4,5}
• B= {4,5,6,7}
• A∪B= {2,3,4,5,6,7}
b) A ∩ B
List all elements in A and B:
• A= {2,3,4,5}
• B= {4,5,6,7}
• A∩B= {4,5}
(c) B ∪ C
List all unique elements in B and C:
• B= {4,5,6,7}
• C= {6,7,8,9}
• B∪C= {4,5,6,7,8,9}
(d) C ∩ D
• C= {6,7,8,9}
• D= {8,9,10,11}
• C∩D= {8,9}
15
e) (A ∪ B) ∪ C
• A∪B= {2,3,4,5,6,7}
(f) A ∪ (B ∩ C)
• B∩C= {6,7}
• A= {2,3,4,5}
• B∩C= {6,7}
• A∪(B∩C) = {2,3,4,5,6,7}
(g) B ∪ (C ∪ D)
• C∪D= {6,7,8,9,10,11}
• B= {4,5,6,7}
• C∪D= {6,7,8,9,10,11}
• B∪(C∪D) = {4,5,6,7,8,9,10,11}
(h) A – B
• A= {2,3,4,5}
✓ A−B= {2,3}
16
Task 1.2
Given than A = {a, b, c, d}. Using the knowledge that you have in determining the
cardinality, write down the power set of A.
17
1. Identify the number of elements in A:
o A has 4 elements.
Power Set of A:
P(A)={∅,{a},{b},{c},{d},{a,b},{a,c},{a,d},{b,c},{b,d},{c,d},{a,b,c},{a,b,d},{a,c,d},{b,c,d},{a,b,c,d}}
18
Task 1.3
19
To determine the inverse of each function, we follow a systematic process
✓ (f(x) = 3x - 5)
Step 1:
Write (y) instead of (f(x)):
[ y = 3x - 5]
[ y + 5 = 3x]
[ x = frac {y + 5}{3}]
[ y = x^3 - 7]
[ y + 7 = x^3]
[ y =frac {x + 2} {x - 3}]
[ y (x - 3) = x + 2]
[ yx - 3y = x + 2]
[ yx - x = 3y + 2]
20
[ x (y - 1) = 3y + 2]
[ y = sqrt {x + 2}
[ y^2 = x + 2]
[ x = y^2 - 2]
21
Task 1.4
Prove the followings using the idea of set identity. Use the knowledge of Venn diagram.
Utilize the corresponding proof principles to prove properties in each.
(a) B ∪ (ø ∩ A) = B
(b) (A ′ ∩ U) ′ = A
(c) (C ∪ A) ∩ (B ∪ A) = A ∪ (B ∩ C)
(d) (A ∩ B) ∪ (A ∩ B ') = A
(e) A ∩ (A ∪ B) = A
22
(a) B ∪ (ø ∩ A) = B
Proof:
Case 1: x ∈ B
Case 2: x ∉ B
Therefore, x ∉ B ∪ (ø ∩ A).
Hence, B ∪ (ø ∩ A) = B.
Proof:
Case 1: x ∈ A
Case 2: x ∉ A
Hence, (A′ ∩ U) ′ = A.
23
(c) (C ∪ A) ∩ (B ∪ A) = A ∪ (B ∩ C)
Proof:
Case 1: x ∈ A
Case 2: x ∉ A and x ∈ B ∩ C
Case 3: x ∉ A and x ∉ B ∩ C
Hence, (C ∪ A) ∩ (B ∪ A) = A ∪ (B ∩ C).
24
(d) (A ∩ B) ∪ (A ∩ B′) = A
Proof:
Case 1: x ∈ A
Case 2: x ∉ A
Hence, (A ∩ B) ∪ (A ∩ B′) = A.
(e) A ∩ (A ∪ B) = A
Proof:
Case 1: x ∈ A
Case 2: x ∉ A
Hence, A ∩ (A ∪ B) = A.
25
26