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

Find the next series number 1, 1, 2, 3, 6, 7, 10, 11, ?

0 Answers   HCL, Infosys,


A small town's industries have a total turnover of Rs. 25,00,000. If the town council plans to raise Rs.170,000 through octroi levy, what % levy should it charge on the industries?

0 Answers   Godrej,


mactro in related to

0 Answers  


in a group,except 18 above 15 yrs of age and 15 r below 50 yrs of age..how many in that group

4 Answers   Oracle,


the probability of getting at least in a single through of three coins is

0 Answers   DSQ Software,






what is an easy way to remove above problem.

2 Answers  


A gardener plants 100 meters towards east, next 100 meters towards north,next 100 meters towards west. 98 meters towards east, 96 meters towards north and 96 meters towards west, 94 towards west. 98 meters towards east, 96 meters towards north and 96 meters towards west, 94 meters towards south. and 94 meters towards east and so on. If a person walks between the trees what is the total distance travelled by him before he reaches the center.

0 Answers   Infosys,


pick the odd one out bend shave chop whittle shear

0 Answers   Accenture,


205 of 6 liter solution and 60% of 4 liter solution is mixed What percentage of the mixture of solution

0 Answers   Accenture,


sbi exam model question paper

0 Answers   FGR, Reliance, Wipro,


human blood has A antigen,B antigen, both A and B or neither antigens.rh antigen may or may not be there.blood iis a +ve if a and rh antigens r there but not b antigen.a person having a and b antigen has AB -ve blood.having only rh antigen gives O +ve blood the other blood groups r defined in the same manner.in a hospital the following records were noted 25 had A antigen,17 had A and b ,27 had b ,22 had b and RH,30 had RH,12 had none of the antigens,16 had A and Rh antigens and 15 had all the 3 antigens.how many patients a)were surveyed? b)had exactly 1 antigen? c) had exactly 2 antigens? d) had O +ve blood? e) had AB -ve blood? f) had A-positive blood?

0 Answers  


A ship went on a voyage after 180 miles a plane statrted with 10 times speed that of the ship. Find the distance when they meet from starting point.

0 Answers   IBM,


Categories