Professor Kate Poirier, Spring 2017

Category: Test #3

Test 3 #2

2) MNULNYX ZLIG NBY VINNIG HIQ QY BYLY. MNULNYX ZLIG NBY VINNIG HIQ GS QBIFY NYUG BYLY.

a) +6

b) Unencrypted ABCDEFGHIJKLMNOPQRSTUVWXYZ
Encrypted       GHIJKLMNOPQRSTUVWXYZABCDEF

c) STARTED FROM THE BOTTOM NOW WE HERE. STARTED FROM THE BOTTOM NOW MY WHOLE TEAM HERE.

Test 3 Solutions #1

Using hashing function h(k)=k mod 5 to determine the memory locations of the following identification numbers.

ID Number            Memory Location

034567891            1

183211232            2

220195477            2, but 2 is taken, so 3

987255355            0

104578890            0 , but 0 is taken, so 4

Test #3 solutions

Please go ahead and submit solutions for Test #3 questions as OpenLab posts. Don’t forget to select the “Test #3” category from the right-hand side of the screen before publishing your post.

The deadline to post is 2:15pm on Thursday, May 25.