The Eladr Protocol is a decentralized, security and efficiency enhanced Web3 noSQL database powered by IPFS as the data storage layer https://ipfs.io/, and the Cardano block chain as the rewards token platform, https://cardano.org/. It provides a JSON based, IPFS layer 2 solution for data indexing and retrieval in an 'append only' file system built with open source Node.js API libraries.

Eladr tokens are designed to incentifised community members as a proof of contribution. Using that they can access diffrent infrastructure built on top of eladr

Using this You can,Buy courses,Reward others and exchange for real money.

Real Problems! Real Experts!

Watch related videos of your favorite subject.
Connect with students from different parts of the world.
See Our team
Wondering how we keep quality?
Got unsolved questions?

We launched Anonymous immutable internet on eladr protocol

For any question or query please joinOur Telegram Channel !

Try BETA

Our Github Repo
FrontEnd BackEnd

Computer-Science-2018-->View question

## Let us assume Data[20][15] is a two-dimensional array (Computer-Science-2018)

##### Let us assume Data[20][15] is a two-dimensional array, which is stored in the memory along the row with each of its elements occupying 2 bytes. Find the address of the element Data[10][5], if the element Data[15][10] is stored at the memory location 15000 (Computer-Science-2018)

Taged users:

Likes:
Be first to like this question

Dislikes:
Be first to dislike this question
LOC(Data[10][5]) = LOC(Data[15][10])+2(15*(10-15)+(5-10)) = 15000 + 2((-75) + (-5)) = 15000 + 2(-80) = 15000 - 160 = 14840OR LOC(Data[I][J]) = Base(Data)+W*(NC*(I-LBR)+(J-LBC)) Taking LBR=0, LBC=0 LOC(Data[15][10]) = Base(Data)+2*(15*15+10) 15000 = Base(Data)+2*(15*15+10) Base(Data) = 15000 - 2*(235) Base(Data) = 15000 - 470 Base(Data) = 14530 LOC(Data[10][5])= 14530 + 2*(10*15+5) = 14530 + 2*(155) = 14530 + 310 = 14840 OR LOC(Data[I][J]) = Base(Data)+W*(NC*(I-LBR)+(J-LBC)) Taking LBR=1, LBC=1 LOC(Data[15][10]) = Base(Data)+2*(15*14+9) 15000 = Base(Data)+2*(15*14+9) Base(Data) = 15000 - 2*(219) Base(Data) = 15000 - 438 Base(Data) = 14562 LOC(Data[10][5])= 14562 + 2*(15*9+4) = 14562 + 2*(139) = 14562 + 278 = 14840

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer

### Watch more videos from this user Here

Learn how to upload a video over here

Lets together make the web is a better place

We made eduladder by keeping the ideology of building a supermarket of all the educational material available under one roof. We are doing it with the help of individual contributors like you, interns and employees. So the resources you are looking for can be easily available and accessible also with the freedom of remix reuse and reshare our content under the terms of creative commons license with attribution required close.

You can also contribute to our vision of "Helping student to pass any exams" with these.