Synapse Design interview question

basics in pd and digital electronics