What is the value of the postfix expression 9 3 / 2 ^ 1 + , where ^ means exponentiation?
Correct answer D. 10
Topic / 90 questions
Page 4 of Data Structures multiple-choice questions with answers. Tap an option to check yourself.
Page 4 of 5
Correct answer D. 10
Correct answer C. 24
Correct answer D. 15
Correct answer A. 16
Correct answer A. O(1)
Correct answer C. Binary heap
Correct answer B. A queue that allows insertion and deletion at both ends
Correct answer D. front = 2, rear = 0
Correct answer D. It reuses array slots freed by dequeues, so space at the front is not wasted
Correct answer D. (rear + 1) % n == front
Correct answer A. Stack
Correct answer B. Tree
Correct answer A. A static structure has a size fixed when it is created, while a dynamic one can grow or shrink at run time
Correct answer C. O(1)
Correct answer D. O(n²)
Correct answer C. O(log n)
Correct answer A. How the memory it needs grows with the input size
Correct answer B. Big-Omega (Ω)
Correct answer D. O(n)
Correct answer C. 1260