I know a few adults who still behave like this! Who always begin conversations from the position that what they know (however little that is) must be at the forefront of knowledge on the subject. Even if the people they're talking to are plainly more educated or experienced in a relevant area, it would not occur to them to begin by finding out what the starting position of the other person is, before telling them all about it, or how to do it, in a definitive manner.
Some will continue to argue the point, even when the other person's far greater knowledge becomes apparent, because 'everyone's opinion is equally valid' an 'if you can't explain it convincingly to me, there's a flaw in your argument that undermines everything you claim to know'. (No dude, you don't understand it because you don't know enough about the subject to recognise the distinction being made. No, I'm not your teacher, don't have a duty to summarise years of learning into handy soundbites for you, which you're not bright enough to use to grasp the basics anyway and, I'm bored and would like to talk to someone more interesting now).
I've generally seen them do this to women (though suspect the biggest offender is so unaware, that he does it to men too and no, he's not autistic), including on the subject of another man who is an habitual arsehole towards women. 'Well, I always like to make my own mind up about people, based on my own experience'. 'Um, dude, you're never going to experience his woman-targeted-arseholery, what with you not being a woman'. 'Oh' (Complete surprise and incredulity at the unfamiliarity of this concept).
So anyway, yes, your DS is just being a typical teenager.
Also yes, especially given you're a single parent, I suspect there's a big dollop of sexism in there, that he may or may not grow out of.
Yes, asserting yourself from time to time is perfectly reasonable, especially pulling him up on being rude and dismissive, towards anyone.
But, it is important for him to find his own way with his interests and to carve out his own niche, which will be a bit different form yours, even if involving the same subject matter.
If you can just drop in the odd mention of your technical knowledge occasionally, it's quite possible that in a few years' time, or when talking to other people, he'll suddenly recognise its relevance.