• raspberry pi
  • National Centre for Computing Education logo

Understanding Maths and Logic in Computer Science

Improve your ability to teach maths and logic in computing while building elements of an escape room. Supported by Google.

6,291 enrolled on this course

Understanding Maths and Logic in Computer Science
The CPD Certification Service

This course has been certified by the CPD Certification Service as conforming to continuing professional development principles. Find out more.

Become more familiar with maths and logic in computer science

The mathematical aspects of computer science can be difficult to understand and teach. On this course, you will be introduced to maths and logic in computing in an engaging way. Using the concept of an escape room, you will learn activities and games to help improve your knowledge and skills in this subject.

You will build your understanding of a range of topics, including using logic and mathematical operators in programming, and converting numbers to binary. Through practical activities you will become more comfortable with concepts including logical operators, truth tables, and logic gates.

Download video: standard or HD

Skip to 0 minutes and 3 seconds Are you looking to boost your knowledge of maths and logic in computer science? Then this course is for you. You’ll learn about Boolean logic, mathematical operators, and how to apply these concepts in a Python program. You’ll also gain an understanding of binary and hexadecimal number systems. As you explore concepts for the GCSE computing syllabus, you’ll also get tips on creating a fun escape room activity. This three week course is inspired by PRIMM methodology. You’ll make predictions about programs before running them. You’ll investigate the concepts and modify activities. And you’ll apply what you learn by making some programs of your own. This free course contains peer-led discussions, trainer interaction, and feedback on your knowledge as you progress.

Skip to 0 minutes and 46 seconds You can learn whenever and wherever you want. So if you’re an educator with students of your own or simply want to boost your own mathematic skills, this course will help you to understand the maths and logic in computer science. Sign up now at rpf.io/mathsandlogic.


  • Week 1

    Boolean Logic

    • Welcome to the course

      An introduction to the aims of this course. Meet our education team and your fellow learners.

    • Introducing Logic Gates

      Discover how True and False are used in Boolean Logic, and learn about the basic logic gates.

    • Investigating Logic Gates

      Discover how truth tables are used to understand logic circuits, and try out an unplugged activity involving these circuits.

    • Logic and Computers

      Apply logical expressions in the Python programming language.

    • End of Week 1

      Congratulations on completing Week 1 of the course!

  • Week 2

    Mathematical Operators

    • Welcome to Week 2

      Welcome to Week 2 of the course!

    • Using Mathematical Operators

      Learn how to use arithmetic and relational operators

    • Investigating Combinations

      Explore how to represent numbers in different ways and create a "Triominoes" game

    • Using Operators in Programming

      Create a game using mathematical operators in Python

    • End of Week 2

      Congratulations on completing Week 2 of the course!

  • Week 3

    Binary, Denary and Hexidecimal

    • Welcome to Week 3

      Welcome to the final week of the course!

    • Binary Numbers

      Learn how to convert denary numbers into binary and perform binary addition

    • Hexadecimal

      Learn about hexadecimal numbers and where they are used.

    • Practising Conversions between bases

      Try some unplugged activities based on binary and hexadecimal, and write a program which converts between binary and denary

    • End of Week 3

      Congratulations on completing the course!

Who is this accredited by?

The CPD Certification Service
The CPD Certification Service:

The CPD Certification Service was established in 1996 and is the leading independent CPD accreditation institution operating across industry sectors to complement the CPD policies of professional and academic bodies.

When would you like to start?

Start straight away and learn at your own pace. If the course hasn’t started yet you’ll see the future date listed below.

  • Available now

What will you achieve?

By the end of the course, you‘ll be able to...

  • Identify the AND, OR, NOT and XOR logical operators
  • Produce drawings of truth tables and logic circuits and recognise a logic gate/circuit from its truth table
  • Investigate combining logic gates to to produce logic circuits
  • Explain why hexadecimal is often used in computer science
  • Perform conversions between binary and hexadecimal & decimal and hexadecimal
  • Develop programs in the Python programming language that use logical expressions, arithmetic operators, and relational operators

Who is the course for?

This course is designed for GCSE computer science teachers who want to improve their ability to teach the mathematical aspects of the subject.

What do people say about this course?

This course enriched my knowledge, relating mathematics & computation.

"Thank you so much Educators, Raspberry Pi Fundation and FutureLearn for the excellent course, I really liked all the chapters, this course enriched my knowledge, relating mathematics and computation."

Who will you learn with?

Laura creates and maintains Raspberry Pi educational resources. Aside from computers, she loves cats, cakes, board games and making jam.

Who developed the course?

Raspberry Pi Foundation

The Raspberry Pi Foundation works to put the power of digital making into the hands of people all over the world, so they are capable of understanding and shaping our increasingly digital world.

National Centre for Computing Education

National Centre for Computing Education courses


supported by

Google logo

Learning on FutureLearn

Your learning, your rules

  • Courses are split into weeks, activities, and steps, but you can complete them as quickly or slowly as you like
  • Learn through a mix of bite-sized videos, long- and short-form articles, audio, and practical activities
  • Stay motivated by using the Progress page to keep track of your step completion and assessment scores

Join a global classroom

  • Experience the power of social learning, and get inspired by an international network of learners
  • Share ideas with your peers and course educators on every step of the course
  • Join the conversation by reading, @ing, liking, bookmarking, and replying to comments from others

Map your progress

  • As you work through the course, use notifications and the Progress page to guide your learning
  • Whenever you’re ready, mark each step as complete, you’re in control
  • Complete 90% of course steps and all of the assessments to earn your certificate

Want to know more about learning on FutureLearn? Using FutureLearn

Learner reviews

Learner reviews cannot be loaded due to your cookie settings. Please and refresh the page to view this content.

Join this course

Start this couse for free, upgrade for extra benefits, or buy Unlimited to access this course and hundreds of other short courses for a year.



Join free and you will get:

  • Access to this course for 5 weeks



Upgrade this course and you will get:

  • Access to this course for as long as it’s on FutureLearn
  • A print and digital Certificate of Achievement once you’re eligible


$279.99 for one year

Buy Unlimited and you will get:

  • Access to this course, and hundreds of other FutureLearn short courses and tests for a year
  • A printable digital Certificate of Achievement on all short courses once you’re eligible
  • The freedom to keep access to any course you've achieved a digital Certificate of Achievement on, for as long as the course exists on FutureLearn
  • The flexibility to complete your choice of short courses in your own time within the year

Find out more about upgrades or Unlimited.

Do you know someone who'd love this course? Tell them about it...

You can use the hashtag #RPiLearn to talk about this course on social media.