A two-dimensional array A of 4-byte integers is stored in row-major order starting at address 1000, with indices starting at 0. What is the address of A?
Correct answer C. 1260
Subject / 421 questions
Page 5 of Programming multiple-choice questions with answers. Tap an option to check yourself.
Page 5 of 22
Correct answer C. 1260
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 B. It must be at least half full
Correct answer D. One, because the clustered index defines the physical order of the data rows
Correct answer B. WHERE salary BETWEEN 3000 AND 5000
Correct answer C. Because the records are not sorted on that key, so every key value needs its own index entry
Correct answer A. Atomicity
Correct answer D. Durability
Correct answer B. Partially committed
Correct answer B. Read Committed
Correct answer B. R1(X) and R2(X)
Correct answer B. Edges T1 -> T2 and T2 -> T1, so S is not conflict serializable