We used both these in what would be 11th year / Age 16-17 (1º de Bachillerato) in IT class (optional) in my highschool which is located in Spain.
Scratch was quite nice, we used the offline version. Sometimes it would corrupt our files though, ugh.
AppInventor was also quite nice to use except that the internet slowed down quite a bit when 20 people used it at once. It was not quite well-made as Scratch imo.
Generally the people didn't care that much about learning this stuff, few if any got interested in programming through these, sadly.