gate signals and systems questions