Bitshifting Operations

Course description

This short course expands the motivations behind bit-shifting operations in the context of retro game programming. In just 1 hour, you'll understand the math behind shifting bits and learn when and why to use them in your code.

bit shifting tutorial
This short course is a good option for those who want to try my teaching style before enrolling in other courses.

About the instructor

gustavo pezzi

Gustavo Pezzi is a university lecturer in London, UK. He has won multiple education awards as a teacher and is also the founder of pikuma.com.

Gustavo teaches fundamentals of computer science and mathematics; his academic path includes institutions such as Pittsburg State University, City University of London, and University of Oxford.

teaching certification
higher education academy
pgclt teaching certification
bpp university award

Course content

1.5 hours total length 5 Chapters Last updated July 2021
  • Motivations & Learning Outcomes
  • Numbers and Positional Notation
  • Multiplication in Base-10
  • Division in Base-10
  • Multiplication in Base-2
  • Division in Base-2
  • Processor Instructions
  • Code Example
  • Wolfenstein 3D Code
  • Quiz: Coding and Bit-shifting
  • Arithmetic Shift vs. Logical Shift
  • Relevance and Modern Applications of Bit-shifting
  • Conclusion and Moving Forward

What students are saying

4.97
5 star
97.1%
4 star
2.9%
3 star
0.0%
2 star
0.0%
1 star
0.0%
Victor Brusca
"I found this course to be clear, concise, and informative."
11 Apr 2022
Mattia Di Meglio
"Very well done! Wanted to check out the teacher style, so I enrolled. I was familiar with the argument, but was still pleasantly surprised by the course: Absolutely well done and beautifullly explained!"
08 Apr 2022
Daniel Naranjo
Daniel Naranjo
"Great explanation of bit shifting. I came across this wonderful site by accident, the content is clear, well structured and with precise examples."
26 Mar 2022
Alan David Rojas
"Good foundations. This course gives a good math foundation and examples to understand bit shifting in modern high-level programming languages. The instructor takes the time to explain the main subject with examples which enhances the learning experience."
21 Mar 2022
Benjamin Singh
"Excellent! I only expected to learn how bit shifting works but in addition to that I learned about compilers, programming languages, assembly code, processors, video game history and some nice math tricks. This guy is simply on another level!"
17 Mar 2022

Other similar courses

3D Computer Graphics Programming

35 hours
  • Create a 3D software renderer from scratch using the C programming language.

C++ 2D Game Engine Development

30 hours
  • Learn to make a simple 2D game engine using modern C++, SDL, ECS, and Lua.

Game Physics Engine Programming

35 hours
  • Learn how to create a 2D rigid-body game physics engine from scratch with C++.