If a bad guy "jumps you" then unless you're Aikido dude or what have you, you're probably already fucked no matter how you intend to defend yourself. Initiative is massively important, and I don't mean that in a dungeons and dragons kind of way. Often, the first shot decides the fight.
Not really, but somewhat. Being aware of everyone and not being surprised that someone is suddenly on you is good; if you hear them or otherwise notice them rushing at you, you have time and space to work with--it may not be enough to draw a gun, but it's enough to take control of the knife arm.
On the other hand, most people aren't carrying around long sheathed knives, if the knife is big enough to need a weapon to defend against it then it's probably a folder and you very much can draw a gun, point it, and shoot in about the same kind of time.
I can stab you fatally with a pencil. A 3 inch folder (which can be a fixed blade, not a folding knife) is plenty bad; it doesn't need to be an 11 inch Tanto. Boot knives are effective, but far away from the hand. For muggery, murder, or rape, the best weapon is a small, fixed-blade knife easily concealed in the hand: you can hold the blade in your hand without cutting yourself (even a very sharp knife), and then rotate it to have a proper grip on the knife for assault in a smooth, immediate motion.
That's what you need to defend against: knives coming out of nowhere.
At a shorter distance, guns are still massively deadly. Point blank is scary for a reason.
Point-blank is the distance at which the travel of a bullet by wind resistance or gravity is not an issue, and so you don't need to adjust for any drift. You point directly at the target (on a practice target, this is the white "blanc" bull's eye) and fire. If the target is a human, there is no leading; you don't shoot in front of, but rather directly at a person.
This can be a lot of distance.
Second, any weapon is massively deadly. My fists are massively deadly. If they can't be used effectively, that doesn't much matter. At close range, the opportunity to score a fatal or disabling hit with a gun is much lower; and the threat of losing the firearm in grappling is higher. Stray bullets are more likely. If it's not pointed at your face, it's not going to shoot you in the face.
The best defense is to be somewhere else. Yeah, blaming the victim, but if you have the opportunity to be somewhere [relatively] nonviolent, take that option.
This is a passive-predatory stance. If everyone left the violent areas, the criminals would move after the victims. It's like saying you should be a highland sheep, because the population of highland sheep is too low to sustain a generational wolf population, and the highlands are just a tad too far out for wolves to come to hunt, and there are virtually endless sheep in the lowlands and so the wolves are not interested in moving outward for prey. If the sheep all move to the highlands, the wolves will follow.
The problem with blaming people for living in violent areas is they would put you at risk by moving out of those violent areas. You should thank them for being decoys.