Computer Science

Logic gates (digital electronics fundamentals)
by Andrew Belegrinos, Mathematics & Computer Science teacher
Last week's DP Computer Science class saw some novel approaches to manipulating and describing logic. Beyond boolean expressions and truth tables, students devised functional structures using virtual gates - from humble switches in logic.ly to swinging mallets and lighting torches in Minecraft.
Here is an example of the kind of problem we looked at in class:
An alarm system has three inputs - Q, W, R - and one output - T. When a signal at Q is FALSE then the output at T is the same as the input signal R. When the signal at Q is TRUE then the output at T is the same as the input signal W. Construct the truth table, logical expression and logic.ly simulation for the alarm system.
See simulation results below:



