Can a queen attack a king?
Yes. Anything can except another king. The king cannot put himself in check, and only reaches 1 square, so the king attacking another king requires self checking (ignoring odd things like king castles to 'attack' as the rook is doing the actual 'attacking' there though it was a king move technically).