CustomerID RecordKey 802139 700004 689998 002139 000999 010008 ii)State the range of possible values for RecordKey. a)Minimum valuc of RecordKey b)Maximum value of RecordKey

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Answer Q4(i)c and Q4(ii) a,b

CustomerID RecordKey
802139
700004
689998
002139
000999
010008
(ii)State the range of possible values for RecordKey.
(a)Minimum value of RecordKey
(b)Maximum value of RecordKey
Transcribed Image Text:CustomerID RecordKey 802139 700004 689998 002139 000999 010008 (ii)State the range of possible values for RecordKey. (a)Minimum value of RecordKey (b)Maximum value of RecordKey
4. (i) A bank has 95 000 customers. Each customer has a unique ID. When a custon er uses an Automated
Teller Machine (ATM) to obtain cash, their current balance is checked. The balance is stored in a file
which has the following fields:
• the customer ID (6-digit pumber in the range 100000 to 999999)
• an encrypted PIN
• the current balance
The file can store a maximum of 100 000 records. An algorithm for ir serting a new ecord in this file uses
the following bash function: Record Key CustomerID mod 100000 where Ree rd. Key is the record
position in the file.
(a)Briefly state two reasons why a random organization would be appropriate fer this file
(b)Give one reason why an enerypted version of the PIN is stored 'r. the file.
c) Complete the table to show the values generated by the hash funciion for the given customer IDs
Transcribed Image Text:4. (i) A bank has 95 000 customers. Each customer has a unique ID. When a custon er uses an Automated Teller Machine (ATM) to obtain cash, their current balance is checked. The balance is stored in a file which has the following fields: • the customer ID (6-digit pumber in the range 100000 to 999999) • an encrypted PIN • the current balance The file can store a maximum of 100 000 records. An algorithm for ir serting a new ecord in this file uses the following bash function: Record Key CustomerID mod 100000 where Ree rd. Key is the record position in the file. (a)Briefly state two reasons why a random organization would be appropriate fer this file (b)Give one reason why an enerypted version of the PIN is stored 'r. the file. c) Complete the table to show the values generated by the hash funciion for the given customer IDs
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY