It can only push the kids to do just that by segregating , the teacher creates the segregating, rather than this-
You need to go to a bomb shelter and can take 4 others with you. Your choices:
A doctor
A construction worker
A minister
A lawyer
An athlete
A mother
Which 4 would you choose and why.
Now, that is called an exercise in critical thinking. The problem given was an exercise is isolating by skin color, lifestyle; segregating.
Maybe the person assigning it wanted to challenge students' assumptions. Would a person's skin color or orientation or religion matter more than their skill set?