lechef - JavaScript Logic Circuit Exercise Framework
At my last workplace, I was preparing an introductory computer science course, where students should basically understand how computers and program execution works from the circuit level up to high level programming languages. The lechef framework helps in creating exercises for learning logic circuits. You can create exercises for simulating a circuit's behavior and exercises for designing circuits.
There are two types of exercises:
- Simulation: Simulation of a given logic circuit with given input values. Learner's task is to toggle the input/output of all the gates in the circuit to match the correct behavior with the given input.
- Design: Learners need to design a circuit based on a truth table (or however the question is formulated). With the lechef editor, they can add and connect gates to the circuit.
Both types of exercises give visual, interactive and immediate feedback for the learner on the correctness of their solution. There is support for the basic gates: AND, OR, NOT, NAND, NOR, XOR, EQV.
Check the documentation for a more thorough description, examples, and instructions on how to use it.
Built With
- css
- javascript
- jquery
- snap.svg
- svg
- web
Log in or sign up for Devpost to join the conversation.