Scientists performed an experiment to determine whether there is a connection between learning ability and food. They took two groups of 20 mice each, all from the same purebred strain. The mice were deprived of food for 3 days and then given a standard learning session in running through a maze. They were trained by giving them a mild electric shock whenever they took a wrong turn. Immediately after each learning session, one group of mice was fed, but the other was not, A week later, all of the mice were tested to see whether they could still run the maze correctly. The group that had been fed had retained this ability, but the other group had not. The probable reason that the scientists used only mice from the same pure-bred strain is so that?

2 answers

This has been answered many times. See the Related Questions below.
You only want to have one variable (which is whether they were fed or not). Using different breeds of mice could introduce another possible uncontrolled difference between the two groups.