"Draco: "I thought we'd be copying lines or something..."

"
Harry Potter and the Sorcerer's Stone  - J.K. Rowling

Well, now, that brings up a question. Hagrid scoffs at Draco for having such a silly idea in his head; it's too muggle a thing for Hogwarts, I guess. So ... How does Draco know about it? Which led me to wonder - where to Wizarding kids go to school up till age 11?