---
title: "#truth-table articles | Hashnode"
description: "Explore 2 articles tagged #truth-table on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/truth-table"
---

Tag

# #truth-table

2 posts · 0 followers

[Divy Pathak](https://hashnode.com/@divy03) · [Nov 17, 2025](https://hashnode.com/posts/fork-in-the-road-problem/691b73e7f48697d3f185b870)

### [Fork in the road problem](https://forkintheroad.hashnode.dev/fork-in-the-road-problem?utm_source=hashnode&utm_medium=feed)

Problem Statement Two guards, one question (one truth, one lie) You are travelling to somewhere now the road splits into two and you don' t know the correct way. There are two guards on the road, one always speak truth and the other speak lies, you m...

3 min read · [forkintheroad.hashnode.dev](https://forkintheroad.hashnode.dev/fork-in-the-road-problem?utm_source=hashnode&utm_medium=feed)

[Han](https://hashnode.com/@EunHaSu) · [Oct 24, 2023](https://hashnode.com/posts/logic-gate-truth-tables-definitions/6537e49e0adca00d76856e03)

### [Logic Gate Truth Tables & Definitions](https://eunhanlee.hashnode.dev/logic-gate-truth-tables-definitions?utm_source=hashnode&utm_medium=feed)

Logic Gate Truth Tables Java Code !A // NOT A&B // AND ~(A&B) // NAND A|B // OR ~(A|B) // XOR A^B // XOR ~(A^B) // XNOR ~A // Inverts 0 to 1 and 1 to 0 A << 1 // Shift A's bits 1 position to the left. (Empty positions are filled with 0) A >> 1 //...

1 min read · [eunhanlee.hashnode.dev](https://eunhanlee.hashnode.dev/logic-gate-truth-tables-definitions?utm_source=hashnode&utm_medium=feed)
