Complete the code to print the main purpose of a GPU.
print("The GPU is mainly used for [1] processing.")
The GPU (Graphics Processing Unit) is designed to handle graphics processing, such as rendering images and videos.
Complete the sentence to explain why GPUs are faster for graphics.
GPUs have many [1] that work together to process graphics quickly.GPUs have many cores that allow them to perform many tasks at once, speeding up graphics processing.
Fix the error in the code that calculates total GPU cores.
total_cores = gpu_units [1] cores_per_unitTo find total cores, multiply the number of GPU units by cores per unit.
Fill both blanks to create a dictionary of GPU names and their core counts.
gpu_cores = { [1]: [2] for [1], [2] in gpu_list }This dictionary comprehension creates pairs of GPU names and their core counts.
Fill all three blanks to filter GPUs with more than 2000 cores.
filtered_gpus = { [1]: [2] for [1], [2] in gpu_data.items() if [2] > 2000 }This code creates a dictionary of GPUs with core counts greater than 2000 by iterating over gpu_data items.