I've been a programmer for a while and haven't taken a chemistry class in at least 6 or 7 years but neither question should be that difficult.
For the noble gas question, I've long since memorized the periodic table (since it's just a list and lists are easy to remember - especially using the method of loci).
As for CH4, methane is a basic elementary chemistry concept. I'm fairly certain it would qualify as basic scientific information.
Although I do agree there were some rather difficult ones I wasn't sure how I would know without having memorized it.