To determine how long it would take to infect the entire school, we can look at the number of zombies in each minute according to the equation y = 2^x.
From the table, we can see that it takes 0 minutes for 1 zombie to be infected, 1 minute for 2 zombies, 2 minutes for 4 zombies, 3 minutes for 8 zombies, and so on.
At the 10th minute, there are 1024 zombies, and at the 11th minute, there are 2048 zombies. This means that at the 10th minute, there are not enough zombies to infect the entire school, but at the 11th minute, there are more than enough zombies to infect the entire school.
Therefore, it would take 11 minutes to infect the entire school.