
Array Addr Calculation (Row Major Order)
Authored by Zohaib Hasan
others
Professional Development
Used 11+ times

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.
(a)
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.
(a)
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.
(a)
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.
(a)
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.
(a)
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.
(a)
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.
(a)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?