Here are the correct answers to the questions based on your descriptions:
Question 1: RAM is not bound to sequential access of data. What is the benefit of this?
- Correct Response: It takes just about the same amount of time to retrieve data from one part of RAM as another.
Question 2: Which of the following is NOT a fact about the stack?
- Correct Response: The stack operates as FIFO ("first in, first out"). (The stack operates as LIFO, not FIFO.)
Question 3: Which of the following is NOT a fact about the heap?
- Correct Response: A heap is ordered, sequential, and smaller than a stack. (Heaps are not ordered and are typically larger compared to a stack.)
Question 4: Which of the following is a Primitive Data Type in Python?
- Correct Response: float. (In Python,
float
is a primitive data type, whilenull
is represented asNone
, andnumber
andchar
are not primitive data types in Python.)
Let me know if you need further clarification or help!