Section 279. Rash driving or riding on a public way:
"Whoever drives any vehicle, or rides, on any public way in a manner so rash or negligent as to endanger human life, or to be likely to cause hurt or injury to any other person, shall be punished with imprisonment of either description for a term which may extend to six months, or with fine which may extend to one thousand rupees, or with both."
CLASSIFICATION OF OFFENCE
Punishment—Imprisonment for 6 months, or fine of 1,000 rupees, or both
The offence is Cognizable—Bailable—Triable by any Magistrate—Non-compoundable.
.
The main ingredient of section 279 of IPC is rash driving in publc way.
2) 337. Causing hurt by act endangering life or personal safety of others.—Whoever causes hurt to any person by doing any act so rashly or negligently as to endanger human life, or the personal safety of others, shall be punished with imprisonment of either description for a term which may extend to six months, or with fine which may extend to five hundred rupees, or with both.
Under section 337 driving rashly and endangering life and safety is punishable
It is compoundable offence