Qualcomm interview question

explain how a cmos works how to parse a file with python