DM (Sample)
DM (Sample)
Student’s name
List which assessment Pass Merit Distinction
criteria the Assessor
has awarded.
INTERNAL VERIFIER CHECKLIST
Do the assessment criteria
awarded match those shown in the
assignment brief? Y/
N
1
Give details:
• Constructive? Y/
N
• Linked to relevant assessment Y/
criteria? N
• Identifying opportunities
for improved performance? Y/
N
• Agreeing actions? Y/
N
Does the assessment decision need
amending? Y/
N
2
Confirm action completed
Remedial action taken
Give details:
Internal
Verifier Date
signature
Programme Leader
signature (if Date
required)
Student Name/ID
Unit Title Unit 18 : Discrete Maths
3
Assessor Feedback:
LO3 Investigate solutions to problem situations using the application of Boolean algebra.
Pass, Merit & P5 P6 M3 D3
Distinction Descripts
Resubmission Feedback:
* Please note that grade decisions are provisional. They are only confirmed once internal and external
moderation has taken place and grades decisions have been agreed at the assessment board.
4
Pearson
Higher Nationals in
Computing
5
General Guidelines
1. A Cover page or title page – You should always attach a title page to your assignment. Use previous
page as your cover sheet and make sure all the details are accurately filled.
2. Attach this brief as the first section of your assignment.
3. All the assignments should be prepared using a word processing software.
4. All the assignments should be printed on A4 sized papers. Use single side printing.
5. Allow 1” for top, bottom, right margins and 1.25” for the left margin of each page.
1. The font size should be 12 point, and should be in the style of Time New Roman.
2. Use 1.5-line spacing. Left justify all paragraphs.
3. Ensure that all the headings are consistent in terms of the font size and font style.
4. Use footer function in the word processor to insert Your Name, Subject, Assignment No, and
Page Number on each page. This is useful if individual sheets become detached for any reason.
5. Use word processing application spell check and grammar check function to help editing your
assignment.
Important Points:
1. It is strictly prohibited to use textboxes to add texts in the assignments, except for the compulsory
information. eg: Figures, tables of comparison etc. Adding text boxes in the body except for the
before mentioned compulsory information will result in rejection of your work.
2. Carefully check the hand in date and the instructions given in the assignment. Late submissions will
not be accepted.
3. Ensure that you give yourself enough time to complete the assignment by the due date.
4. Excuses of any nature will not be accepted for failure to hand in the work on time.
5. You must take responsibility for managing your own time effectively.
6
6. If you are unable to hand in your assignment on time and have valid reasons such as illness, you may
apply (in writing) for an extension.
7. Failure to achieve at least PASS criteria will result in a REFERRAL grade.
8. Non-submission of work without valid reasons will lead to an automatic RE FERRAL. You will
then be asked to complete an alternative assignment.
9. If you use other people’s work or ideas in your assignment, reference them properly using
HARVARD referencing system to avoid plagiarism. You have to provide both in-text citation and a
reference list.
10. If you are proven to be guilty of plagiarism or any academic misconduct, your grade could be
reduced to A REFERRAL or at worst you could be expelled from the course
Student Declaration
I hereby, declare that I know what plagiarism entails, namely to use another’s work and to present it as my
own without attributing the sources in the correct way. I further understand what it means to copy another’s
work.
Student’s Signature:
(Provide E-mail ID)
Date:
7
(Provide Submission Date)
Feedback Form
Action Plan
Summative feedback
Assessor’s
Date
Signature
8
Student’s
Date
Signature
Assignment Brief
Unit Tutor
Issue Date
Submission Date
Submission Format:
This assignment should be submitted at the end of your lesson, on the week stated at the front of this brief.
The assignment can either be word-processed or completed in legible handwriting.
If the tasks are completed over multiple pages, ensure that your name and student number are present on
each sheet of paper.
9
LO1 Examine set theory and functions applicable to software engineering.
LO2 Analyse mathematical structures of objects using graph theory.
LO3 Investigate solutions to problem situations using the application of Boolean algebra.
LO4 Explore applicable concepts within abstract algebra.
Activity 01
Part 1
Part 2
10
iii. 250
2. Write the multiplicities of each element of multisets (bags) in Part 2-1(i,ii,iii) separately.
3. Determine the cardinalities of each multiset (bag) in Part 2-1(i,ii,iii).
Part 3
1. Determine whether the following functions are invertible or not and if a function is invertible,
then find the rule of the inverse ( f ( x ) ) using appropriate mathematical technique.
−1
i. f :ℜ→ ℜ+ ii . f : ℜ+ → ℜ+
1
f ( x )= x2 f ( x )=
x
iii . f :ℜ+ →ℜ+ iv . f : [ −π π
,
2 2 ]
→ [ −1 ,1 ]
f ( x )= x2 f ( x )=sin x
v . f : [ 0 , π ] → [ −2 ,2 ]
f ( x )=2cos x
Part 4
1. Formulate corresponding proof principles to prove the following properties about defined sets.
A=B ⇔ A ⊆ B and B ⊆ A
i. .
ii. De Morgan’s Law by mathematical induction.
iii. Distributive Laws for three non-empty finite sets A, B, and C.
Activity 02
Part 1
1. Model two contextualized problems using binary trees both quantitatively and qualitatively.
Part 2
1. State the Dijkstra’s algorithm for a directed weighted graph with all non-negative edge
weights.
11
2. Use Dijkstra’s algorithm to find the shortest path spanning tree for the following weighted
directed graph with vertices A, B, C, D, and E given. Consider the starting vertex as E.
Part 3
1. Assess whether the following undirected graphs have a Eulerian and/or a Hamiltonian cycle.
i.
ii.
12
iii.
Part 4
1. Construct a proof of the five color theorem for every planar graph.
Activity 03
Part 1
1. Diagram two real world binary problems in two different fields using applications of Boolean
Algebra.
13
Part 2
1. Produce truth tables and its corresponding Boolean equation for the following scenarios.
i. If the driver is present and the driver has not buckled up and the ignition switch is on,
then the warning light should turn on.
ii. If it rains and you don't open your umbrella, then you will get wet.
2. Produce truth tables for given Boolean expressions.
i. Ā B̄C + A B̄ C̄ + ABC + Ā B C̄
ii. ( A+ B̄+C)( A +B +C)( Ā+ B+ C̄)
Part 3
Part 4
(a)
AB/C 0 1
00 0 0
14
01 0 1
11 0 1
10 1 0
(b)
AB/CD 00 01 11 10
00 1 0 0 1
01 0 1 0 1
11 1 1 1 0
10 1 1 1 1
(c)
AB/C 0 1
00 1 0
01 1 1
11 1 0
10 0 1
Activity 04
Part 1
1. Describe the distinguishing characteristics of different binary operations that are performed on the
15
same set.
Part 2
1. Determine the operation tables for group G with orders 1, 2, 3 and 4 using the elements a, b, c, and
e as the identity element in an appropriate way.
2.
i. State the relation between the order of a group and the number of binary operations that can be
defined on that set.
ii. How many binary operations can be defined on a set with 4 elements?
3.
i. State the Lagrange’s theorem of group theory.
ii. For a subgroup H of a group G, prove the Lagrange’s theorem.
iii. Discuss whether a group H with order 6 can be a subgroup of a group with order 13 or not.
Clearly state the reasons.
Part 3
1. Validate whether the set S=ℜ−{−1}is a group under the binary operation ‘*’defined as
a∗b=a+ b+ab for any two elementsa , b ∈ S .
Part 4
Prepare a presentation for ten minutes to explore an application of group theory relevant to your course
of study. (i.e. in Computer Sciences)
16
17
18
Grading Rubric
19
LO3 : Investigate solutions to problem
situations using the application of Boolean
algebra.
P5 Diagram a binary problem in the application of
Boolean Algebra.
P6 Produce a truth table and its corresponding Boolean
equation from an applicable scenario.
M3 Simplify a Boolean equation using algebraic
methods.
20
Activity 01
Part 1
01)
(i)
n ( A ∪ B )=n ( A )+ n ( B ) −n ( A ∩B )
n ( A ∪ B )=72+28−13=87
n ( A ∪ B )=87
(ii)
n ( A ) =60
n ( A ∪ B )=n ( A )+ n ( B ) −n( A ∩ B)
110=60+n ( B )−15
110=45+ n(B)
n ( B )=110−45=65
n ( B )=65
(iii)
n ( A ) =33
10+ a+5+b=33
21
a+ b+15=33
a+ b=33−15=18
a+ b=18 ⟶(1)
n ( B )=36
15+ a+5+c=36
a+ c+ 20=36
a+ c=36−20=16
a+ c=16 ⟶(2)
n ( C )=28
13+b +5+c=28
b+ c+ 18=28
b+ c=28−18=10
b+ c=10 ⟶(3)
( 1 )−(2)
a+ b− ( a+c )=18−16=2
b−c=2 ⟶(4)
( 3 ) +(4)
b+ c+ b−c=10+2=12
2 b=12
b=6
¿ ( 1) ,
a+ b=18
a+ 6=18
a=18−6=12
22
a=12
¿ ( 2) ,
a+ c=16
12+c=16
c=16−12=4
c=4
n ( A ∩ B )=a+5=12+5=17
n ( A ∩ B )=17
n ( A ∩C )=b+5=6+5=11
n ( A ∩C )=11
n ( B∩ C ) =c+ 5=4+5=9
n ( B∩ C ) =9
n ( A ∪ B∪ C )=65
Part 2
01)
(i)
23
160 / 2 = 80
80 / 2 = 40
40 / 2 = 20
20 / 2 = 10
10 / 2 = 5
5/5=1
160 = 2 * 2 * 2 * 2 * 2 * 5
A = [2, 2, 2, 2, 2, 5]
(ii)
120 / 2 = 60
60 / 2 = 30
30 / 2 = 15
15 / 3 = 5
5/5=1
120 = 2 * 2 * 2 * 3 * 5
B = [2, 2, 2, 3, 5]
24
(iii)
250 / 2 = 125
125 / 5 = 25
25 / 5 = 5
5/5=1
250 = 2 * 5 * 5 * 5
C = [2, 5, 5, 5]
02)
(i)
A = [2, 2, 2, 2, 2, 5]
µA (2) = 5, µA (5) = 1
(ii)
B = [2, 2, 2, 3, 5]
25
µB (2) = 3, µB (3) = 1, µB (5) = 1
(iii)
C = [2, 5, 5, 5]
µC (2) = 1, µC (5) = 3
03)
(i)
A = [2, 2, 2, 2, 2, 5]
n(A) = 5 + 1 = 6
n(A) = 6
(ii)
B = [2, 2, 2, 3, 5]
26
n(B) = 3 + 1 + 1 = 5
n(B) = 5
(iii)
C = [2, 5, 5, 5]
n(C) = 1 + 3 = 4
n(C) = 4
Activity 02
Part 1
01)
Problem 1: Making the decision to improve the programming skills of students based on their
programming test scores
27
In the decision-making process for improving the programming skills of students based on their test
scores, if the marks are greater than or equal to 75, no improvement is needed. However, if the marks are
less than 75, further evaluation is required. If the marks are greater than or equal to 50 but less than 75,
attending programming tutorials becomes necessary. For students scoring below 50, both tutorials and
theory revision are needed. If the marks are less than 50, a more focused approach is taken: if the marks
are greater than or equal to 30, individual programming classes should be arranged; if the marks are
below 30, the student may need to retake the exam to ensure they grasp the necessary skills.
Problem 2: Making a decision whether an outdoor sports event can be held or not by considering
wind speed and air quality
28
In the decision-making process for determining whether an outdoor sports event can be held, if the wind
speed is higher than the average threshold, the event will not be held. If the wind speed is less than or
equal to the average, the event can proceed. In cases where the wind speed is within the acceptable
range, the next step is to evaluate the air quality. If the air quality is poor, the event will be canceled;
however, if the air quality is good, the event can be held. This process ensures that the event is only held
when both wind speed and air quality are suitable for the participants' safety and comfort.
Part 2
01)
Dijkstra's algorithm is a well-known technique used to find the shortest paths between a source vertex
and all other vertices in a directed weighted graph with non-negative edge weights. It initializes the
distances to all vertices as infinity, except for the source vertex, which is set to zero. The algorithm uses
a priority queue to explore vertices with the least estimated distance. For each vertex, it updates the
distances of adjacent vertices (relaxing edges) and removes the vertex with the smallest distance from
the queue. The process repeats until all vertices are processed, yielding the shortest paths. Its time
complexity is O((V+E)logV). (GeeksforGeeks, 2023)
02)
29
E A B C D
E 0 ∞ ∞ ∞ ∞
D 0 5 ∞ ∞ 3
A 0 5 7 9 3
B 0 5 7 9 3
C 0 5 7 9 3
0 5 7 9 3
According to the Dijkstra’s algorithm, the shortest distances for all vertices A, B, C and D from source
vertex E are as follows.
E to A: - 5
E to B: - 7
E to C: - 9
E to D: - 3
The shortest spanning tree for the above given graph is as follows.
Activity 03
Part 1
30
01)
In an automatic garden watering system, we want the water sprinklers to turn on if the soil moisture is
low or the temperature is high, but only when the system is enabled. The system also has a disable
feature that prevents the sprinklers from activating when turned off.
D = (A + B). C
This is the truth table according to the equation for this binary problem.
A B C A+B D = (A + B).C
0 0 0 0 0
0 0 1 0 0
0 1 0 1 0
31
0 1 1 1 1
1 0 0 1 0
1 0 1 1 1
1 1 0 1 0
1 1 1 1 1
Logic circuit design based on the above truth table for the given problem is as follows.
In a server monitoring system, administrators need to be alerted when a server is experiencing high CPU
usage or low available memory. However, the alert is only triggered if the server is marked as critical for
operations, even if both conditions are met.
E = (A + B). C
This is the truth table according to the equation for this binary problem.
A B C A+B E = (A + B).C
0 0 0 0 0
0 0 1 0 0
0 1 0 1 0
0 1 1 1 1
1 0 0 1 0
1 0 1 1 1
1 1 0 1 0
1 1 1 1 1
Logic circuit design based on the above truth table for the given problem is as follows.
33
Part 2
01)
(i)
Input A
Driver present = 1
Driver absent = 0
Input B
Driver buckled up = 1
Input C
Ignition switch on = 1
34
Ignition switch off = 0
In this scenario, the warning light will turn on only when all the specified conditions are satisfied. This
corresponds to an AND gate logic, where the output is active if all inputs meet the required criteria.
According to this scenario, the output function f(A,B,C) can be expressed as A. B. C, meaning the
warning light is triggered when A is true (condition satisfied), B is false (condition not satisfied), and C
is true (condition satisfied).
f (A, B, C) = A. B. C
A B B C f (A, B, C)
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 0
(ii)
Input A
Rain = 1
No rain = 0
Input B
35
Open umbrella = 1
In this scenario, you will get wet only if it rains and you do not open your umbrella. This corresponds to
an AND gate logic, where the output is active only when specific conditions are met. According to this
scenario, the output function f(A,B) can be expressed as A⋅ B, meaning you will get wet when A (it
rains) is true and B (umbrella opened) is false.
f (A, B) = A. B
A B B f (A, B)
0 0 1 0
0 1 0 0
1 0 1 1
1 1 0 0
02)
(i)
f (A, B, C) = A BC + A B C + ABC + A BC
A B C A BC AB C ABC A BC f (A, B, C)
0 0 0 0 0 0 0 0
0 0 1 1 0 0 0 1
0 1 0 0 0 0 1 1
0 1 1 0 0 0 0 0
1 0 0 0 1 0 0 1
1 0 1 0 0 0 0 0
36
1 1 0 0 0 0 0 0
1 1 1 0 0 1 0 1
(ii)
f (A, B, C) = (A + B + C) (A + B + C) ( A + B + C )
Activity 04
Part 1
01)
Closure property
37
Addition binary operator satisfies closure property on set of real numbers ( R ) since for a, b ∈ R ,
then a + b ∈ R .
Multiplication binary operator satisfies closure property on set of real numbers ( R ) since for a, b
∈ R , then a × b ∈ R .
Commutative property
Associative property
Identity property
38
If A is a non-empty set and * is a binary operation, a * e = e * a = a when a ∈ A and e is an identity
element.
Inverse property
Part 2
01)
Operational table of group G with order 1 (Only contains e which is the identity element)
39
* e
e e
* e a
e e a
a a e
* e a b
e e a b
a a b e
b b e a
* e a b c
e e a b c
a a b c e
b b c e a
c c e a b
02)
(i)
40
2
The total number of binary operations that can be defined on a group of order n is n n . This is because a
binary operation maps each pair of elements in the group to an element in the same group. For a group of
order n, there are n2 pairs of elements, and each pair can be mapped to any of the n elements in the
2
group. Therefore, the total number of possible binary operations is n n .
(ii)
n n (n = 4)
2
16
4 4 = 4 = 4, 294, 967, 296
The total number of binary operations that can be defined on a set with 4 elements is 4,294,967,296. This
is because a binary operation involves mapping every pair of elements in the set to an element in the
same set. For a set with 4 elements, there are 4×4=16 pairs of elements, and each pair can be mapped to
any of the 4 elements. Therefore, the total number of binary operations is 416=4,294,967,296.
03)
(i)
The order of a group is always divisible by the order of any of its subgroups, leaving a remainder of 0.
This means that the order of the group is an integer multiple of the order of its subgroup.
(ii)
41
If H is a subgroup of a group G, the order of H divides the order of G exactly, leaving no remainder. In
other words, the size of the subgroup H is a factor of the size of the group G.
(iii)
According to Lagrange's theorem, the order of a subgroup H must divide the order of the group G
exactly, leaving no remainder. If the order of the group G is 13, which is a prime number, the possible
orders of any subgroup H are 1 or 13, as these are the only factors of 13. If the order of H is given as 6, it
cannot be a factor of 13. Therefore, a group H with order 6 cannot be a subgroup of a group with order
13, as it violates Lagrange's theorem.
References
42