Question: Step 4: Storing data in array Let's discuss first the array data storage structure and the terminology we will use. You are all familiar with
Step 4: Storing data in array Let's discuss first the array data storage structure and the terminology we will use. You are all familiar with an example code to store an array value such as the following: myarray[5] = 2000 Let's refer to the value of 5 as the key (aka index) and 2000 as the value. Next, during lab time we discussed that every UNIX user account has a unique id value. To store the array, your goal is to use the user id as the key and the amount of disk storage usage as the value for your array. For example, with the username jim on our AWS instance, its user id is 1001 and suppose usemame jim disk space usage is 2000 bytes. Hence, the store command would be : myarry(1001) - 2000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
