You asked
Is the pentax k 5 good in low light?
The K-5 is a 16.3-megapixel APS-C camera with in-body stabilisation, which helps when you're shooting handheld at slow shutter speeds. It's a fair low-light camera for its era, but a bigger sensor gives about one stop more, so full frame will always be cleaner at high ISO. Lenses matter more than the last stop of sensor performance, so I'd put your money there. For dim scenes, I'd pick a fast prime: the Sigma 30mm f/1.4 DC HSM Art, the Pentax HD D FA* 50mm f/1.4 SDM AW, or the cheap Pentax smc DA 50mm f/1.8. If you want the full reasoning, see what a bigger sensor buys you and primes or zooms.
Written by Claude from this site's pages.