Logic Truth Table Challenge
The Logic Truth Table Challenge is a Tsugi-based LTI tool that helps students master the
fundamental logic gates (NOT, AND, OR, XOR, NAND, NOR).
Students complete partially blank truth tables while viewing a schematic of the selected gate.
Key Features
- Accessible layout with high-contrast visuals and large interactive targets.
- Instant feedback when a truth table is complete.
- Auto-advance timer with optional manual control for extra review time.
- Score tracking up to 10 points; reaching 10 sends a grade of 1.0 to the LMS.
- Instructor dashboard for assignment selection, grades, and launch analytics.
Using the Tool
- Enter 0 or 1 in each highlighted output cell.
- Use the keyboard arrows to move between blanks or rely on the automatic focus assist.
- The score increases by one for every correct table. After 10 correct tables a grade of 1.0 is submitted.
- Keep practicing even after a perfect score—the grade only submits once per launch.
Instructor Options
Instructors can open the dashboard to choose assignments, review grades, or inspect launch data.
Currently a single assignment (All Gates Truth Tables) is available, mirroring the behaviour of the default launch.
Files
index.php – main launch page and markup.
logic.js – gate logic, scoring, UX, and LMS grade submission.
styles.css – high contrast, accessible theme.
assignments.php – assignment definitions exposed to the instructor dashboard.
grade-submit.php – endpoint for sending grades via Tsugi’s LTIX::gradeSend.
documentation.html – this document.
testing.md – manual testing checklist.
README.md – quick start and deployment notes.
Accessibility
The tool honours reduced motion preferences, uses an aria-live region for feedback, supports keyboard navigation, and
provides large, high-contrast controls for learners with low vision.