This course includes

  • 1 hour of on-demand video

  • Downloadable resources and exercises

  • Full lifetime access

  • Access on mobile and desktop

Is this course for you?

This short course expands the ideas behind Bitshift operations. In 1 hour you'll understand the math behind shifting bits right and left, and learn when and how to use them in your code. Enrol now and understand the mechanics of bitshifting and how it can help you as a programmer.
Free enrollment
Is this course for you?
Watch Intro Video

Motivations & Learning Outcomes

  • Activities and Discussions

    Join our community and get the most of our discussion boards

  • Direct instructor contact

    Have direct contact with your instructor at any given time during and after you complete your course

Course Content

  • 1
    Introduction and Motivations
    • Introduction and Learning Outcomes
  • 2
    Base System Multiplication and Division
    • Multiplication and Division in Base 10
    • Multiplication and Division in Base 2
  • 3
    Bitshift in Context
    • Processor Instructions
    • Code Example
    • Wolfenstein 3D Source Code (Download)
    • Arithmetic and Logical Shifts
  • 4
    • Relevance and Applications of Bitshifting
    • Quick Note on Compiler Optimizations
  • 5
    Moving Forward
    • Similar Courses


  • Gustavo Pezzi

    Senior Lecturer

    Gustavo Pezzi

    Gustavo teaches computer science and mathematics at BPP University, London. He researches how teaching game programming can help enhance awareness and understanding of mathematics and physics. He is also a professional software engineer with more than 10 years of experience, with an industry background in 3D systems, games, web systems, databases, and data science. His academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.