ye; but, you have to watch the stalemate
king vs king and queen, how to checkmate.

Ye i know, thats why you give him a whole file to move up and down and you can let him get parallel to your king, this insures that there is no stalemate.

It looks like he just didn't want to resign, but also didn't want to play forever... You didn't "Force" him to the side, he walked over there for you.

the thing is that even if he didn't want to go over to the side you just use the same tactic as checkmating him and he will have to move back.

Dear ranama,
1. can you please speak english correctly
2. Any other moves by the black king would result in checkmate eventually.

It is somehow more elegant 10.Qa8#; to me...
either one would work so its really your choice.

According to http://www.k4it.de/index.php?topic=egtb&lang=en, it can be forced one move faster. Not like it makes that big of a diference, just saying

8.Kc4 makes the mate one move faster. But it dont really matter, the victory is the only thing that's important.

Efficiency can be important, but instructive techniques is not always the most effecient. Mastering this elementary checkmate includes learning to force the enemy king exactly where you want him without checks.
I practice against the computer.

It also helps to learn some fundamental patterns.
White to checkmate in two moves (three solutions):
Here is an example from one of my games.
I find that there is a better line.
After 4. ...Kb5 5. Qc7 Kb4 6. Kd4 Ka3 (or Ka4) 7. Qb6 (king move) 8. Kc3 and mate next move.
The problem with the line that you show us is that Black can stall by one move with 5. ...Kb6. Play would then follow something like 6. Kd4 Kb5 7. Qc7 Kb4 8. Qb6+ (king move) 9. Kc3 and mate next move.

It also helps to learn some fundamental patterns.
White to checkmate in two moves (three solutions):

It also helps to learn some fundamental patterns.
White to checkmate in two moves (three solutions):
?
the way to make a checkmate with a a king and a queen is to make the queen cover a rank (down the b or the g or across the 2 or the 7). When his king moves down the only file he can try to bring your king parallel to his. As soon as they are parallel and it is your turn, bring your queen in for the checkmate. Try not to stalemate him in the process, here is an example from one of my games.