A two-dimensional array A of 4-byte elements is stored in column-major order starting at address 1000, with indices starting at 0. What is the address of A?
Correct answer A. 1212
Topic / 90 questions
Page 5 of Data Structures multiple-choice questions with answers. Tap an option to check yourself.
Page 5 of 5
Correct answer A. 1212
Correct answer B. 218
Correct answer C. O(n)
Correct answer B. O(n)
Correct answer C. It grows its capacity geometrically, so expensive reallocations happen rarely
Correct answer C. Data and a pointer to the next node
Correct answer D. O(1)
Correct answer D. O(1)
Correct answer D. The first node
Correct answer D. The operations on the data and their behaviour, without fixing the implementation