Array Addr Calculation (Row Major Order)

Array Addr Calculation (Row Major Order)

Professional Development

9 Qs

quiz-placeholder

Similar activities

Exploring Vector Spaces and Transformations

Exploring Vector Spaces and Transformations

Professional Development

10 Qs

Array Addr Calculation (Row Major Order)

Array Addr Calculation (Row Major Order)

Assessment

Quiz

others

Professional Development

Medium

Created by

Zohaib Hasan

Used 9+ times

FREE Resource

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.

8.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[10][20] calculate address of a[5][3]. Word size is 4 byte and base address is 200.

9.

FILL IN THE BLANK QUESTION

1 min • 5 pts

For array a[-100:100][-50:45] calculate address of a[50][40]. Word size is 2 byte and base address is 100.