By placing the pots with detergent in the sun and the pots without detergent in the shade, the student is not comparing the effects that detergent has in the growing rate of the seeds under the same conditions; besides, he does not have a control group. Therefore, he will not be able to determine if the growing rate of the plants were affected by the detergent, the lack of sunlight, or a combination of both factors.