Complete the code to show where data is stored temporarily during program execution.
memory_location = [1]The RAM (Random Access Memory) is where data is stored temporarily while a program runs. It is fast and volatile memory.
Complete the sentence to explain what happens when memory is full.
When memory is full, the system may use [1] to store data temporarily.Virtual memory uses part of the hard drive to extend RAM, allowing the system to handle more data than physical RAM alone.
Fix the error in the statement about memory allocation.
Memory allocation is the process of [1] memory to programs when they need it.Memory allocation means giving or reserving memory space for programs to use.
Fill both blanks to complete the dictionary comprehension that maps variable names to their {{BLANK_1}} in bytes if size {{BLANK_2}} 4.
{var: size for var, size in variables.items() if size {{BLANK_2}} 4}This comprehension creates a dictionary of variables with memory size greater than 4 bytes.
Fill both blanks to create a dictionary of variables with uppercase names, their sizes, and only if size {{BLANK_2}} 8.
{var[1]: size for var, size in variables.items() if size [2] 8}This comprehension maps variable names converted to uppercase to their sizes, but only includes those with size less than 8 bytes.