Question: 1) Given the following declarations, write a formula to locate any random record in the array eval element XIJ] relative to the start of the

 1) Given the following declarations, write a formula to locate any

1) Given the following declarations, write a formula to locate any random record in the array eval element XIJ] relative to the start of the list using the indexing techniques developed in class. Assume the base address in memory for the array is Lo. You need not do the actual arithmetic but must explicitly and neatly stipulate all values required for the calculation in your formulas. YOU MUST SHOW YOUR WORK to receive credit. luating all constants, i.e., calculate the actual physical memory address of type MyType is record EmplD: array(-6.10) of character Name: array(1..20) of character; Age: integer Sex: array (1.6) of character, -values Male or Female Payrate: float; end record; X: array(-10.. 15) of MyType; Assume a character occupies one unit of storage, an integer four units of storage, and a float consumes eight units of storage

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!