Search Header Logo

Array Addr Calculation (Row Major Order)

Authored by Zohaib Hasan

others

Professional Development

Used 11+ times

Array Addr Calculation (Row Major Order)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[100] calculate address of a[10]. Base address is 200 and the word size is 4 byte.

2.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[-150:120] calculate address of a[100]. Word size is 2 byte and base address is 100.

3.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[10][20] calculate address of a[8][5]. Word size is 2 byte and base address is 100.

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[10][20] calculate address of a[2][1], Word size is 2 byte and base address is 100.

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[10:20][-5:5] calculate address of a[15][0]. Word size is 2 byte and base address is 100.

6.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[-5:4][-5:4] calculate address of a[1][3], Word size is 4 byte and base address is 150.

7.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[10][20] calculate address of a[2][10]. Word size is 4 byte and base address is 0.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?