Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Let A = {1, 2, 3, 4} and R be a relation on the set A defined by: R - {(1.1). (1

ID: 2964161 • Letter: L

Question

Let A = {1, 2, 3, 4} and R be a relation on the set A defined by: R - {(1.1). (1,2), (1,4), (2,1), (2,2), (3,3), (4,2), (4,4)}. Determine whether R is reflexive, irreflexive, symmetric, asymmetric, antisymmetric, or transitive Suppose an online retailer identifies each member with a 6-digit account number. Define the hashing function h, which takes the first 3 digits of an account number as 1 number and the last 3 digits as another number, adds them, and then applies the mod-61 function. How many linked lists does this create? Compute h(158686) Compute h(328981)

Explanation / Answer

1.

it is reflexive, (since (1,1),(2,2),(3,3),(4,4) belongs to R)

asymmetric(since (1,4) belongs to R but not(4,1)),

not anti symmetric (since (1,2) and (2,1) belongs to R)

not transitive (since (2,1), (1,4) belongs to R but not (2,4))

2.

(b)

158+686 = 844 = 51 (mod 61)

=>

h(158686) = 51

(c)

328 +981 = 1309 = 28(mod 61)

=>

h(328981) =28

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote