lecture: a lengthy rebuke
rebuke: an act or expression of criticism and censure
gate: a computer circuit with several inputs but only one output that can be activated by particular combinations of inputs