Skip main navigation

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

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now