← Quiz: NumPy: all 10 questions
Quiz: NumPy · Question 5 of 10
What is broadcasting?
What is broadcasting?
- A.Sending arrays over the network
- B.Automatically stretching smaller arrays (or a single number) to match a larger array's shape
- C.Printing an array
- D.Copying an array to every CPU core
Answer & explanation
Correct answer: Automatically stretching smaller arrays (or a single number) to match a larger array's shape
e.g. marks + 5 or scores / max_marks.
Can you get the rest right without peeking?
Take the timed Quiz: NumPy quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →