w AutoSave Off ITCS 224 Final Exam.docx Search (Alt+Q) MARAH RAED SABAH ALSALOOM - Х File Home Insert Draw Design Layout
Posted: Fri May 20, 2022 10:39 am
Id:202010043
and
id:202010387
w AutoSave Off ITCS 224 Final Exam.docx Search (Alt+Q) MARAH RAED SABAH ALSALOOM - Х File Home Insert Draw Design Layout References Mailings Review View Help Table Design Layout Comments Share X Calibri 14 + Ą ㅇ Paste Styles Editing Dictate Sensitivity Editor BI U ab X, X? A Ae A Aa A A Font Reuse Files v V > ALT Undo Clipboard Paragraph Styles Voice Sensitivity Editor Reuse Files Question 4 (6 + 6 + 12 = 24 marks) a. Consider each 3 consecutive digits in your ID as a key value. Using linear propping, insert items with those keys into an empty hash table and show your steps. Example ID: 201710349. You must use your own ID. Key values: 201, 710, 340 tableSize: 3 hash(x) = x mod tableSize b. Calculate the number of edges in a complete directed graph with N vertices. Where N is equal to the 3rd and 4th digits in your ID. Show your steps. Example ID: 201710340. You must use your own ID. N = 17 c. Below an adjacency list representation of an undirected graph where there are no weights assigned to the edges. Draw 1. the graph and 2. the adjacency matrix with this adjacency list representation. 1 16.26-27 3 Page 4 of 5 935 words English (United Kingdom) Accessibility: Investigate Focus 20 100% H Type here to search 3 A W 89°F ca O - ENG 12:31 PM 5/17/2022 a