The matrix of a (7,9)was given.The address of the first byte
of a (1,1)matrix=1258.It takes 4 bytes to store the
number,then calculate the address of the last byte of a
(5,8) matrix??

Answers were Sorted based on User's Feedback



The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / nash

1434




STARTING ADDRESS IS 1258.
EACH ELEMENT IS OF 4 BYTES.
SO (5,8)=44 I.E. POSITION OF ELEMENT
44*4=176
1258+176=1434
DO REPLY.

Is This Answer Correct ?    24 Yes 10 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / jyothi

STARTING ADDRESS IS 1258.
FIRST ELEMENT ADDRESS FROM 1258 TO 1261.
LIKE THAT 5,8 MATRIX ADDRESS FROM 1430 TO 1433
SO LAST BYTE ADDRESS OF 5,8 IS 1433

Is This Answer Correct ?    13 Yes 2 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / snehal

(1,1)=1258
after tat for 1 it contain 8
for 2=9
for 3=9
for 4=9
for 5=8
total=43
43*4=172
n 1258+172=1430

Is This Answer Correct ?    8 Yes 3 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / rohit

to find starting byte for matrix a(5,1):
1258+(4*(9*4))-(1)=1401

then to find last byte for matrix a(5,8):

1401+(8*4)=1433

Is This Answer Correct ?    1 Yes 0 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / vijay

plz post clr question..?

The matrix of a (7,9)was given.The address of the first byte
of a (1,1)matrix=1258.It takes 4 bytes to store the
number,then calculate the address of the last byte of a
(5,8)element??

ans is 1433
In column address increments by (8x4+4)36=clmn-gap
In row address increments by 4=row-gap
So
add of (5,8) element (4 clmn-gaps & 7 row-gaps )
=1258+4x36+4x7=1430
add of last byte=[1430,1431,1432,1433]
ans 1433

Is This Answer Correct ?    0 Yes 0 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / shobha

1258+5*8*4bytes=1418

Is This Answer Correct ?    0 Yes 0 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / sona

Question is confusing we are unable to decide wheather (x,y)
is a matrix or a position in the matrix

Is This Answer Correct ?    0 Yes 1 No

The matrix of a (7,9)was given.The address of the first byte of a (1,1)matrix=1258.It takes 4 bytes..

Answer / manish panwar

1258-1261 1262-1265 1266-1269 1270-1273 1274-1277 1278-1281 1282-1285 1286-1289

1290-1293 1294-1297 1298-1301 1302-1305 1306-1309 1310-1313 1314-1317 1318-1321

1322-1325 1326-1329 1330-1333 1334-1337 1338-1341 1342-1345 1346-1349 1350-1353

1354-1357 1358-1361 1362-1365 1366-1369 1370-1373 1374-1377 1378-1381 1382-1385

1386-1389 1390-1393 1394-1397 1398-1401 1402-1405 1406-1409 1410-1413 1414-1417



(5,8) matrix

4 4 4 4 4 4 4 4 = (4*7)+3=31 1258+31 = 1289
4 4 4 4 4 4 4 4 = 4*8=32 1289+32 = 1321
4 4 4 4 4 4 4 4 = 4*8=32 1321+32 = 1353
4 4 4 4 4 4 4 4 = 4*8=32 1353+32 = 1385
4 4 4 4 4 4 4 4 = 4*8=32 1385+32 = 1417

(32*5)-1 = (160 -1)= 159
1258+159 = 1417


So answer 1410

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More General Aptitude Interview Questions

Side of rhombus is 5cm and sum of lengths of diagonals is 12cm. what is the area of rhombus?

10 Answers  


Please,let me know the RRB question papers for Junior Engg.Electrical & Electronics Engg post.Thank You

0 Answers   PreludeSys,


A work is done by two people in 24 minutes. One of them alone can do it in 40 minutes. How much time will the other person will take to complete it

0 Answers   TCS,


the number of shells in a judys collection is 80% of the numbers justins collection if justin has 80 more shells than judy how many shells do they have together

3 Answers  


Company A taken a truck on rent of $1280 per month another company B bought the truck in $40000 and send $120 per month. After 4 years what will be the difference in the amount spent by the both companies on the TRUCK.

4 Answers   IBM, Navata,






A solid cube of 4 inches has been painted red, green and black on the pairs of opposite faces. It has then been cut into one inch cubes. Following questions relate to the smaller one inch cubes. 1.How many cubes have only one face painted? (1) 8 (2) 16 (3) 24 (4) 32 2. How many cubes have only two faces painted? (1) 0 (2) 16 (3) 24 (4) 32 3. How many cubes have only four faces painted? (1) 0 (2) 8 (3) 12 (4) 16 4. How many cubes have no faces painted? (1) 0 (2) 8 (3) 16 (4) 24 How to solve this

14 Answers   CTS, Infosys, Sail, SOF, Tesco, VA Tech Wabag,


i got good 88% and 94% in 10th and 12th respectively.but now in engineering im getting in 70's.so suppose if they ask why have your academic performance went down in that case what should i tell??

4 Answers  


one man or two women or three boys can do a work in 44 days then one man, one women and one boy together can fininsh the same work in ---- days

0 Answers   Accenture,


TELL ME A FIVE DIGIT NUMBER WHEN DIVIDED BY 2 TO 10 REMAINDER IS 1 AND WHEN DIVIDED BY 11 REMINDER IS 0. i.e.., FIVE DIGIT NUMBER DIVIDED BY 2 GIVES REMINDER OF 1, FIVE DIGIT NUMBER DIVDED BY 3 GIVES REMINDER OF 1 AND SO ON TILL 10, THEN THE SAME FIVE DIGIT NUMBER DIVIDED BY 11 GIVES A REMINDER OF ZERO.

3 Answers  


If the total distance of a journey is 120 km .If one goes by 60 kmph and comes back at 40kmph what is the average speed during the journey?

0 Answers   3i Infotech, Canara Bank, Geodesic,


Himesh works thrice as much as Bhavin. Find the number of days it would take to complete the work if both work together if Himesh takes 60 days less than Bhavin to do a work.

0 Answers   3i Infotech,


Two cars travel in the same direction at 40km/hr at a regular distance. A car comes in the opposite direction at 60km/hr. It meets each car in a gap of 8 seconds. What is the distance between the two cars?

14 Answers   Bhel,


Categories