Complete the sentence to describe static arrays.
A static array has a fixed size that is set at [1] and cannot be changed later.
Static arrays have their size fixed at compile time, meaning the size is determined before the program runs and cannot be changed during execution.
Complete the sentence to describe dynamic arrays.
Dynamic arrays can change their size during [1] to accommodate more or fewer elements.
Dynamic arrays can resize during runtime, which means while the program is running, they can grow or shrink as needed.
Fix the error in the statement about static arrays.
Static arrays can [1] their size after creation.Static arrays cannot change their size after creation; their size is fixed.
Fill both blanks to complete the sentence about dynamic arrays.
Dynamic arrays usually [1] their size by [2] the current capacity when more space is needed.
Dynamic arrays often double their size by multiplying the current capacity to efficiently allocate more space.
Fill all three blanks to complete the dictionary comprehension about array types.
array_info = [1]: [2] for [3] in ['static', 'dynamic']
This comprehension creates a dictionary where keys are the uppercase array type names and values describe if they are fixed size or resizable.