Boil the pasta in salted water. Cook the broccoli florets in salted water for about 5 minutes until they are firm to the bite and rinse with cold water so that they retain their color. Dice the boiled ham. Drain the corn. Mix all ingredients with the mayonnaise. Season with a little pepper. Let it flow well.