This is the first time I've seen this way to show that Q does not have a higher cardinality than N, is it a common method?
I don't remember exactly how I learned about it in high school, infinity cardinalities have rarely come up since then, but it was some other method or at least another form of presentation, i.e. symbols and prose.
Yup, it's common. (I'm fairly sure this or something very similar was the first way I ever saw it done.)