My kid had a "computer science" class in 9th grade. They covered bits and bytes, discussed what files are, and then talked in the abstract about data compression so they know at a basic level why a wave file is so much bigger than mp3. They did get to some coding, but they covered a lot of basics that form the trunk of the tree. Most adults don't understand things in that way.
It's like teaching biology so people have a rudimentary idea of viruses and don't think vaccines have 5g tracking. Or so teenagers understand reproduction and don't think ridiculous things about how one gets pregnant.
Or how about chemistry, so people understand why con-trails form.
Basic understanding of things - particularly the ones everyone uses daily - is a good thing.