IPC Section 379 specifically deals with punishment for theft. This section outlines the penalties for the offense of theft as defined under Section 378 of the IPC. The other options refer to different offenses - criminal trespass (Section 447), cheating (Section 420), and dacoity (Section 395).