CSC510 Tutorial 4
CSC510 Tutorial 4
1. Translate each of the following statements into predicate logic. Assume the predicate
brother (x,y): x is the brother of y
friend (x,y): x and y are good friends
Domain of discourse is students in a school.
i. Salwa has few brothers in the school
ii. Ahmad has no brother in the school
iii. Every student has one good friend in the school
iv. Some students have brothers in the school, and their brothers are good friends.
2. Express the statement “ Some 3rd year student in UiTM takes CSC510 ” using suitable predicate
symbols for each of the following domain of discourse.
i. All 3rd year students in UiTM.
ii. All students in UiTM.
iii. All students.
3. Express the statement “Exam is on some weekdays in the month of July” using suitable
predicate symbols for each of the following domain of discourse.
i. Weekdays in the month of July.
ii. Days in the month of July.
iii. Days in the year.
4. The predicate p and q are defined as follows. The domain of discourse is all students in a class.
P(x, y) : x replies email from y
Q(x, y) x saves the email from y
5. The predicate p, q, r and s are defined as follows. The domain of discourse is the set of integers.
p(x): x is greater than zero
q(x): x is even
r(x): x is divisible by 2
s(x) x is divisible by 3
6. Consider a school where students are either in the Math Club, the Computer Club, or
neither. Let the domain of discourse be the set of all students in the school. Use the
following predicates: