• 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.

Understanding Maths and Logic in Computer Science
  • Duration3 weeks
  • Weekly study2 hours
  • LearnFree
  • Extra BenefitsFrom $44Find 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

    From 3 Aug 2020

    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

      Combine logic gates to perform simple calculations and apply logical expressions in Python programming.

    • End of Week 1

      Congratulations on completing Week 1 of the course!

  • Week 2

    From 10 Aug 2020

    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

    From 17 Aug 2020

    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!

When would you like to start?

Most FutureLearn courses run multiple times. Every run of a course has a set start date but you can join it and work through it after it starts. Find out more

  • 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, recognise the symbols representing each logic gate, and be able to combine them in logic circuits and statements
  • Develop knowledge of and be able to use • equal to • addition • subtraction • multiplication • real division • integer division, including remainders
  • Produce drawings of truth tables and logic circuits and recognise a logic gate/circuit from its truth table
  • Calculate conversion between binary and denary whole numbers (0-255)
  • Explain why hexadecimal is often used in computer science, convert between binary and hexadecimal & decimal and hexadecimal

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.

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

Learner reviews

Join this course

Start this course 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

Unlimited (New!)
$259.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.