answersLogoWhite

0


Best Answer

Dope Vector Method is use for one dimensional array and also two-dimensional array

for one dimensional array we use

MA(i)=sa+(i-1)*w

MA is Memory Address

Sa = Start Address

i is subscript

W for integer w=2 float=4 char=1

for two dimensional array

MA(i,j)=SA{n(i-1)+(j-1)}*W

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Dope vector method for one dimentional array?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science
Related questions

How much dope did the dope dealer deal when the dope dealer did deal dope?

1 dime bag,


How linear arrays represented in memory?

To implement array data structure, memory bytes must be reserved and the accessing functions must be coded. In case of linear arrays, the declaration statements tell how many cells are needed to store the array. The following characteristics of the array are used to calculate the number of cells needed and to find the location or address of any element of the array.1. The upper bound (UB) of the index range.2. The lower bound (LB) of the index range. In C/C++, LB is zero.3. The location in memory of the first byte in the array, called base address of the array (Base)4. The number of memory bytes needed for each cell containing one data element in the array (size, denoted by W)By cell we mean a unit of memory bytes that will be assigned to hold a value of respective data element.During the compilation of the program, the information about characteristics of the array is stored in a table called DOPE VECTOR. When compiler comes across references to an array element, it uses this information that will calculate the element's location in memory at runtime.


What is in Smurf dope?

Smurf dope is one of two things. Its either (a) Meth that is cut with a substance to make it that color as a marketing tool for dealers or (b) very strong highly pure dope that has turned that color due to its purity and method of cooking to create such a high quality product (this being the type I have seen for myself)


What is a Dope Rider?

it means they "ride dope" or, AKA, USE dope


What are the street drugs that will cause you to fail a drug test showing use of Bar?

dope dope dope dope


What is the french word for dope?

As a drug, the word is the same ' dope' To smoke dope would be 'fumer de la dope'


What is twice as dope as dope?

fresh. well i would have to go with Hunter on this one and go with Straight Dope!


Where can you buy the DVD movie wild cactus starring India Allen?

dope dope dope at game


Shaggy 2 dope family?

Shaggy's family is on dope?


When was Columbus Was a Dope created?

Columbus Was a Dope was created in 1947.


When was Dope Nose created?

Dope Nose was created in 2002.


When was So Dope created?

So Dope was created in 2009.