Infineon Technologies Interview Question

Basic questions for D flip-flop and Python code.