Logic Exercises

Practice and improve your logic skills with interactive exercises covering boolean algebra, propositional logic, truth tables, and more.

Training

Practice exercises sequentially based on your current filters and sorting preferences. Perfect for systematic learning and skill building.

Sequential practice
Track your progress
Learn at your pace
Difficulty: BeginnerCategory: Boolean AlgebraType: Multiple Choice

What is the result of: true AND false?

true ∧ false
Difficulty: BeginnerCategory: Boolean AlgebraType: Multiple Choice

What is the result of: false OR true?

false ∨ true
Difficulty: BeginnerCategory: Boolean AlgebraType: Multiple Choice

What is the result of: NOT true?

¬true
Difficulty: BeginnerCategory: Logical EquivalenceType: Drag & Drop Proof

Arrange the following steps in the correct order to prove Q from the given premises. Goal: Prove Q

P → Q, P ⊢ Q
Difficulty: BeginnerCategory: Propositional LogicType: Expression Evaluation

Evaluate the following expression: P ∧ Q when P = true and Q = true

P ∧ Q where P = ⊤, Q = ⊤
Difficulty: BeginnerCategory: Propositional LogicType: Expression Evaluation

Evaluate the following expression: P ∨ Q when P = false and Q = true

P ∨ Q where P = ⊥, Q = ⊤
Difficulty: BeginnerCategory: Logical EquivalenceType: Proof Completion

Fill in the missing justifications for this proof. Goal: Prove Q

P → Q, P ⊢ Q
Difficulty: BeginnerCategory: Propositional LogicType: Expression Input

Express the following statement using logical symbols: "If it rains, then the ground is wet" Use: - R for "it rains" - W for "the ground is wet" - ** → ** for implication Enter your answer using the symbols available in the calculator.

Difficulty: BeginnerCategory: Propositional LogicType: Expression Input

Express the following statement using logical symbols: "It is sunny and warm" Use: - S for "it is sunny" - W for "it is warm" - ** ∧ ** for conjunction (and) Enter your answer using the symbols available in the calculator.

Difficulty: BeginnerCategory: Propositional LogicType: Expression Input

Express the following statement using logical symbols: "I will study math or physics" Use: - M for "I will study math" - P for "I will study physics" - ** ∨ ** for disjunction (or) Enter your answer using the symbols available in the calculator.

Difficulty: BeginnerCategory: Propositional LogicType: Expression Input

Express the following statement using logical symbols: "It is not raining" Use: - R for "it is raining" - ¬ for negation (not) Enter your answer using the symbols available in the calculator.

Difficulty: BeginnerCategory: Propositional LogicType: Expression Input

Express the following statement using logical symbols: "The alarm rings if and only if motion is detected" Use: - A for "the alarm rings" - M for "motion is detected" - ** ↔ ** for biconditional (if and only if) Enter your answer using the symbols available in the calculator.

Frequently Asked Questions

Find answers to common questions about using the Logic Calculator

What kinds of exercises are there?

Multiple choice, truth table completion, simplification, equivalence checks, expression input and expression evaluation, and proofs — including proof completion and a drag-and-drop proof builder. They are grouped into propositional logic, Boolean algebra, truth tables, logical equivalence, predicate logic and natural deduction, and you can filter by category, type, difficulty and tag.

What do the difficulty levels mean?

There are four: beginner, intermediate, advanced and expert. They describe how much you need to know rather than how long the exercise takes; each exercise also shows an estimated time and the points it is worth.

What is a training session?

A run of exercises at one difficulty, optionally narrowed to the categories and types you want to work on. It keeps score as you go, and at the end it summarises how you did and offers the next difficulty up when there is one.

How are my answers checked?

In your browser, by the same engine that powers the calculator. Most exercise types compare your answer with the expected one after normalising spacing and notation; expression input goes further and checks logical equivalence, so a formula written differently but meaning the same thing still counts as correct. Every exercise carries an explanation, shown once you have answered.

Can I get a hint if I am stuck?

Yes, where an exercise has one: a hint you can reveal without giving the answer away. If it is not enough, the guide covering that topic is usually the faster way back in — the exercise categories and the guides use the same topics.

See all questions