I don't think so. How are you supposed to write the answer?
I believe the answer would be mass. Low mass stars and medium mass stars often become white dwarfs when they die while high mass stars explode in violent explosions called supernovas and usually leave behind a black hole or a neutron star.