Skip main navigation

Get 30% off one whole year of Unlimited learning. Subscribe for just £249.99 £174.99. T&Cs apply

Optional practice exercises

Explore propositional logic! Create and interpret truth tables, apply logical statements, and boost your problem-solving skills in computer science.
Question marks, lightbulbs, tick boxes and post it notes.

If you would like a challenge and some more practice, have a go at the exercises in the PDF files below. If you choose to complete the exercises, here is a quick recap of what you will need:

Operation Example Symbol
Conjunction I like cats and I like dogs. (land)
Disjunction (inclusive) I like cats or I like dogs. (lor)
Exclusive disjunction You can either choose to have dessert or a coffee. (oplus)
Negation I do not like cats. (neg)
Implication If it is raining, then I will take a coat to work. (rightarrow)

Logic exercies

Logic exercies solutions

This article is from the free online

An Introduction to Logic for Computer Science

Created by
FutureLearn - Learning For Life