1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Illusion [34]
3 years ago
8

Consider a multidimensional array A stored in row-major order with 22 rows and 6 columns whose subscripts start at 0. If each el

ement occupies eight bytes, then how many bytes from the start address of A will element A[3, 5] be stored? a. 284 b. 136 c. 184d. 568
Computers and Technology
1 answer:
siniylev [52]3 years ago
4 0

Answer:

Option c is the correct answer for the above question.

Explanation:

  • If the array will store in row-major order, then it will be a store like the first row, then second row and then third row.
  • If the user wants to conclude the address of the A[3,5], then the address of the A[3,5] will be 184.
  • It is because the 3 states the row number and the 5 states the column number.
  • The above question states that every value take 8 bit. and there are 4 rows from 0 to 3 and 6 column (0 to 5) for every row (except the fourth rows because it takes 5 columns from 0 to 4) before the A[3,5].
  • So there are 23 value before A[3,5] which are as-- [00,01,02,03,04,05][10,11,12,13,14,15][20,21,22,23,24,25][30,31,32,33,34].
  • So when every value takes 8 bit then 23 value takes 184 bits(23*8).
  • So the address of A[3,4] is 184.
  • Hence option c is the correct and the other is not because of 184 stated from the c option only.
You might be interested in
How many binary digits are in 10^100.
Basile [38]

Answer:

333 binary digits.

Explanation:

8 0
2 years ago
The reason for prioritizing your work is to get the
7nadin3 [17]

Answer:

a

Explanation:

3 0
3 years ago
Imagine that a you and a friend are exercising together at a gym. Your friend suddenly trips and falls, and it is clear that he
ladessa [460]

Answer:

The sprain happened when the friend fell and the ligaments (in the ankle)  stretched, twisted or possibly tore. Sprain is manifested by pain, swelling, bruising and inability to move.

Explanation:

Here the appropriate steps to stabilize the injury:

1.       Call for help.

2.       Rest the injured area to avoid further damage.

3.       Put ice ( for 15 to 20 minutes) to help limit the swelling.

4.       Apply compression bandage to prevent more swelling.

5.       Elevate the injured ankle above the heart to limit swelling.

Hope this helps UvU

4 0
3 years ago
This is really dumb but can someone help me find these memes? I can’t remember what they’re called but I remember how they went
grin007 [14]
Omg I remember those hi at look on google
4 0
3 years ago
Read 2 more answers
If a document reaches you, and requires you to perform some action, you should do it immediately if ________. a. It is from your
tatyana61 [14]
C is the answer to this
8 0
3 years ago
Other questions:
  • In Web design, What kind of tag is referred to as fixed ?<br>​
    7·1 answer
  • Why would an online survey of 2,000 visitors to your college’s Web site be of little use in assessing the neighboring community’
    7·1 answer
  • In 2d design, form makes what possible?
    15·1 answer
  • Which of the followings is not a testingtype? [2 marks]
    8·1 answer
  • Fill in the blank with the correct response.
    5·2 answers
  • (9/5)C+32 write QBASIC expessions for this​
    7·1 answer
  • Suppose you have a string matching algorithm that can take in (linear)strings S and T and determine if S is a substring (contigu
    11·2 answers
  • Difference between electrical and electronic devices
    15·2 answers
  • Sigma Technology is a company based in Singapore, with branches in 24 countries. It needs multiple CAs in different locations to
    6·1 answer
  • OSI layer for HDLC??​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!