Try some USB keyboard. I was going to mention reseting just the keyboard mapping but a factory reset would do that so the next test is with the USB keyboard.

If a new keyboard did not clear this up and the USB keyboard works it sounds like a motherboard issue. Inspirons can be so cheap that the owner will not replace this board.