The form of Dudunsparce it evolves into depends on its encryption constant. Since this value cannot be influenced or seen by the player, what a given Dunsparce will evolve into is essentially random — with a 1/100 chance of evolving into Three-Segment Form Dudunsparce.
Source