← Reasoning

Binary Logic: True and False Statements

Reasoning · Logical Reasoning

11 Part4 worked examples13 practice questions

“Binary” means two. In binary logic every statement can have only two values — True (1) or False (0). No third value, and never both at once. This one simple rule runs everything from truth-teller puzzles and “exactly so many statements are true” questions to the tables of AND / OR / IF-THEN, and the 0/1 of computers and logic gates.

Many state-level recruitment syllabuses list under Logical Capability: “Binary Logic, Syllogism, Clocks & Calendars, Assumptions, Blood Relations, Family Tree, Logic-based puzzles”. SSC CGL/CHSL, RRB, bank and state exams draw their truth-teller, truth-of-statements, conditional-sentence and code questions from it. This chapter covers that whole part from start to finish.

PartWhat you learnMain tool
A. FoundationWhat a statement is; true = 1, false = 0Test each sentence: is it a claim?
B. Truth-tellers and liarsOne to five speakers, chains, “so many of us lie”Assume, strike off on a clash
C. A fixed number trueWho did it, which box, number clues, contradiction checksCount the true statements on each possibility
D. Connectives and tablesNOT, AND, OR, XOR, IF-THEN, IFF; negation; contrapositiveTruth table — all rows
E. Conditional sentencesWhat follows and what does not; necessary / sufficientThe four forms of “if P then Q”
F. 0/1 and gatesBits, logic gates, circuits, switch-lampGate table, series = AND, parallel = OR
G. Yes/no and weekdaysQuestions to a stranger, answer words, lying daysList every hypothesis
H. Traps and exam styleThe commonest mistakes, mixed questionsSpot the type first

How to use this chapter

  1. Read — each part first explains the words, then gives the method step by step.
  2. Study the solved example — every step says what is done and why.
  3. Try it yourself — solve first, then open the solution.
  4. Check — every answer was computed by trying all True/False combinations; each question has exactly one answer.
TrickSuggestion: read B, C and D carefully — most exam questions come from there. G and F are the score-boosters because many students skip them.
1

A. Foundation: true or false

Statements · 1 and 0

What a statement is, which sentences are not statements, and writing true/false as 1/0.

What is a statement

A claim makes a statement

The definition of a statement, the “nothing in between, never both” law, and sentences that are not statements.

A statement is a sentence that makes a claim and about which it can be said for certain that it is true or false. “Jaipur is the capital of Rajasthan” — a claim, and correct: a true statement. “A year has 13 months” — a claim, but wrong: a false statement. A false statement is still a statement; it is just a wrong claim.

◭ Diagram
pT = 1F = 0
Every statement p has exactly two values: true (1) or false (0).

Two firm rules are hidden here. (1) Nothing in between — if a statement is not true it is false; there is no third value like “half true” or “don’t know”. (2) Never both — a statement cannot be true and false at the same time. In logic these are the law of excluded middle and the law of non-contradiction.

Kind of sentenceA statement?Why
A correct fact — “The Sun rises in the east.”Yes (true)A claim, and correct
A wrong claim — “The Moon is bigger than the Earth.”Yes (false)A claim, but wrong
About the future — “It will rain tomorrow.”YesUnknown today, yet tomorrow it will be one or the other
A question — “What is the capital of Rajasthan?”NoIt asks, it does not claim
A command or request — “Please close the window.”NoIt orders, it does not claim
An exclamation — “What a lovely morning!”NoA feeling, not a claim
An open sentence — “x + 4 = 9” or “n is even”Not yetWithout a value for the unknown x or n it is neither; once a value is given it becomes a statement
A sentence calling itself false — “This sentence is false.”No (a paradox)Taken as true it turns false, taken as false it turns true — no value can stay
NoteA matter of taste (“Tea is better than coffee”) is not settled by facts. Exam questions use such sentences only when the question itself gives their value; never decide by your own opinion.
Example 1 · Basic
Classify this sentence: “A square has five sides.”
Solution, step by step
  1. 1Ask: does it make a claim that can be called certainly true or false?
  2. 2It makes a claim but the claim is wrong — a false statement (still a statement).
Answer A false statement
A wrong claim is also a statement.
Example 2 · Basic
Classify this sentence: “y is a number greater than 6”
Solution, step by step
  1. 1Ask: does it make a claim that can be called certainly true or false?
  2. 2It has an unknown letter (x, y, n, z); it becomes true or false only after a value is given — not yet. Such a sentence is called an open sentence.
Answer Not a statement
Questions, commands and exclamations make no claim.
BasicTry it yourself first
Classify this sentence: “At sea level water boils at 100 °C.”
BasicTry it yourself first
Classify this sentence: “72 is a prime number.”
BasicTry it yourself first
Classify this sentence: “Bring your notebook tomorrow.”
StandardTry it yourself first
Which of these sentences is a statement (one that is either true or false)?
StandardTry it yourself first
Which of these sentences is not a statement?
AdvancedTry it yourself first
(1) The angles of a triangle add up to 360°. (2) This sentence is false. (3) Bring your notebook tomorrow. (4) Is 17 a prime number? (5) The Thar desert is in Kerala. Question: How many of these sentences are statements?
AdvancedTry it yourself first
(1) The Moon is bigger than the Earth. (2) This sentence is false. (3) What a beautiful morning! (4) 44 is a multiple of 3. (5) 65 is greater than 28. Question: How many of these sentences are statements?

True = 1, false = 0

Values, codes and counting

The truth value of a statement, turning true/false into a 1/0 code, counting true statements and testing joined statements.

The truth value of a statement is its being true or false. Like a computer we write it as a number: true = 1, false = 0. That is why this is called binary (0/1) logic. When several statements are given, test each one separately and write its 1 or 0; then work out what the question asks — a count, a code or a joined statement.

The first step of every question
Read each statement aloneTest the claim (calculation / fact)Write 1 or 0Then answer the question
  • Statements about numbers: even/odd, multiple, prime, perfect square, digit sum — always test by calculation, not by guess. (1 is not prime; 2 is the only even prime.)
  • Code: if four statements have the values 1, 0, 0, 1 the code is 1001 (in the order of the statements).
  • Joined statements: “A and B” is true only when both are true; “A or B” when at least one is true; “if A then B” is false only when A is true and B false. The full tables are in part D.
Example 3 · Basic
(1) 85 is an odd number. (2) The digits of 38 add up to 3. (3) 63 is an odd number. (4) The digits of 13 add up to 11. Question: Writing 1 for true and 0 for false, what is the code of these statements (in order)?
Solution, step by step
  1. 1(1) 85 is an odd number → true → 1
  2. 2(2) the digits of 38 add up to 3 → false → 0
  3. 3(3) 63 is an odd number → true → 1
  4. 4(4) the digits of 13 add up to 11 → false → 0
  5. 5Written in order the code is 1010.
Answer 1010
Each statement was tested alone, then 1/0 written in order.
Example 4 · Standard
Which of these statements is true? (1) 67 is a perfect square and 67 is greater than 50. (2) 67 is greater than 17 or 67 is an even number. (3) If 67 is an odd number, then 67 is a multiple of 3. (4) Either 67 is greater than 11, or 67 is a prime number (but not both).
Solution, step by step
  1. 1Test each part first (T = true, F = false), then apply the rule of the joining word:
  2. 2(1) AND: F, T → F
  3. 3(2) OR: T, F → T
  4. 4(3) IF-THEN: T, F → F
  5. 5(4) XOR: T, T → F
Answer 67 is greater than 17 or 67 is an even number.
Four joining words — their four rules differ.
BasicTry it yourself first
(1) 14 is an even number. (2) 63 is a prime number. (3) 31 is an odd number. (4) 64 is a multiple of 9. Question: Writing 1 for true and 0 for false, what is the code of these statements (in order)?
BasicTry it yourself first
(1) 49 is greater than 42. (2) 95 is an odd number. (3) The digits of 45 add up to 9. (4) A week has 7 days. (5) 43 is greater than 45. Question: How many of these statements are true?
StandardTry it yourself first
(1) 89 is an odd number. (2) 61 is a perfect square. (3) 32 is an odd number. (4) 42 is a multiple of 9. (5) The digits of 50 add up to 6. Question: Writing 1 for true and 0 for false, what is the code of these statements (in order)?
StandardTry it yourself first
Which of these statements is true? (1) 14 is greater than 51 and 14 is a perfect square. (2) 14 is a prime number or 14 is greater than 62. (3) If 14 is an odd number, then 14 is an even number. (4) Either 14 is greater than 76, or 14 is greater than 20 (but not both).
AdvancedTry it yourself first
Which of these statements is true? (1) If 83 is greater than 70, then 83 is a prime number. (2) Either the digits of 83 add up to 5, or 83 is a perfect square (but not both). (3) 83 is a multiple of 3 or 83 is a multiple of 4. (4) 83 is a multiple of 5 and the digits of 83 add up to 4.
AdvancedTry it yourself first
(1) India has 28 states. (2) The digits of 39 add up to 3. (3) The angles of a triangle add up to 360°. (4) 76 is a multiple of 3. (5) 47 is a multiple of 7. (6) A week has 7 days. Question: How many of these statements are true?
2

B. Truth-tellers and liars

Everyone is one of two types

Puzzles with one to five speakers, “A says B is a liar” chains and “so many of us are liars” statements.

The rules and one speaker

True man’s words true, liar’s false

Definitions of truth-teller and liar, what a liar’s statement really means, deducing facts from one speaker and the “I am a liar” paradox.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Two speakers

Four splits, test each

The four possible splits of two persons, what one statement settles and the full method.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Three speakers

8 splits; assume one first

The eight splits of three persons, one assumption settling the others, and striking off on a clash.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Four and five speakers

16 and 32 splits — by pruning

Four- and five-person puzzles: pruning early on a clash instead of writing every split.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

“A says B is a liar” — chains

Each link: same or opposite type

Chain and loop puzzles: a “liar” statement flips the type, a “truth-teller” statement keeps it.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

“So many of us are liars”

Try the number of liars L

Counting statements: suppose L liars and match with the number of true statements.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

3

C. A fixed number of statements true

Who did it · which box · numbers

Puzzles whose statements are about a hidden fact and where the number of true statements is given.

Two methods: assume and eliminate

Count each case · find the clashing pair

Both methods for “exactly so many statements are true” puzzles, spotting a contradiction and where to begin.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Who did it? Which box?

Count true statements per suspect

Theft-and-mischief and prize-box puzzles: finding the culprit or box by counting true statements.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Statements about the statements

“Exactly 2 statements are false”

Statements in a list tell how many of the list’s own statements are true or false; solved by supposing F statements are false.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Number clues and checking for contradiction

Make lists, then count

Statements about a number thought of: exactly k true, which two can never be true together, at most how many can be true at once.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

4

D. Connectives and truth tables

NOT · AND · OR · XOR · IF-THEN · IFF

The rules of the words that join statements (truth tables), the value of an expression, negation and contrapositive.

Six connectives: NOT to IFF

One firm rule for each word

The truth tables of NOT, AND, OR (inclusive), XOR, IF-THEN and IFF, and “why is the sentence true when the premise is false”.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Value of an expression, tautology, equivalence

Fill every row

The truth table of a longer expression, counting rows, always-true / always-false and equivalent expressions.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Negation: forming the true opposite

De Morgan · negating “all”

The correct negation of a statement: and/or swapping, negating a condition, negating “all/some/none” and negating statements about numbers.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Converse, inverse, contrapositive

Four forms of “if p then q”

The converse, inverse and contrapositive of a conditional statement and which of them are equivalent.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

5

E. Conditional sentences

What follows — and what does not

“If … then …” sentences and certain conclusions, “only if”, “unless”, necessary and sufficient, and chains.

A condition and a fact: what follows

Four cases · two valid, two invalid

What is certain once the value of P or Q is known along with “if P then Q”, and chain conclusions.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Only if · unless · necessary and sufficient

One meaning, different words

Recognising sentences with “only if”, “unless”, “necessary” and “sufficient” as conditionals.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

6

F. 0/1 codes and logic gates

Bits · gates · circuits · switch-lamp

The 0/1 of computers, the tables of logic gates, small circuits and switch-lamp puzzles.

Bits and logic gates

AND · OR · NOT · NAND · NOR · XOR

Bits (0/1), digit-by-digit operations on bit strings, binary numbers and the table of the gates.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

A small circuit: inside out

Each gate’s output feeds the next

Finding the output of a circuit of two or three gates, counting input combinations and replacing a circuit by one gate.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Switches and lamps

Series = AND · parallel = OR · flipping

When the lamp glows in series and parallel switch circuits, and puzzles of switches that flip with every press.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

7

G. Yes/no and weekday puzzles

One question to a stranger · lying days

Yes/no questions to truth-tellers and liars, choosing the right question, answer words of unknown meaning, and creatures that lie on some days of the week.

Yes/no and the right question

A liar’s “yes” means it is false

What the “yes/no” of a truth-teller and a liar mean, questions about oneself and the “if I asked, would you say yes” question.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Two strangers and unknown answer words

Asking about each other · the control question

Asking two persons yes/no about each other, and an island where the words for “yes/no” are unknown.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Lying on some days of the week

Try all seven days

A creature that lies on some days and tells the truth on the others: when can a statement be made.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

8

H. Traps and exam mistakes

Where most marks are lost

The commonest traps of binary logic: the liar’s “everything opposite”, “I am a liar”, inclusive versus exclusive OR, wrong reversed conclusions.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

9

Summary table and strategy

Spot the type, make the first move

Every question type, its first move and its key fact in one place; plus one general order for all.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

10

Mixed practice

All types mixed

Questions of all parts in three levels — the type is not announced, as in the exam.

Basic practice

Direct rules, short questions

Spotting a statement, two or three speakers, truth tables, contrapositive, gates and yes/no.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Standard practice

Three or four speakers, tables, conditions

Counting puzzles, who did it, negation, “only if”, circuits, switches and yes/no.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

Advanced practice

Four or five speakers, long expressions, chains

Loop chains, elimination in exactly-one-true, counting statements, three-variable expressions, chains and weekday puzzles.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.

11

Revision — cards

Flip each card and test yourself

Think of the answer yourself first, then flip.

🔒

This part is in All Access.

With the pass, every example, practice question and solution in this chapter opens.