my college’s intro cs class had written exams where you had to hand write code, and class exercises where you’d write code on the whiteboards. we also had “labs” where we’d just have a big thing to work through while TAs walk around. i imagine high school classes will have a focus similar to this