Would the masks things and just lab 3 in general be on the test?
Yes, Lab 3 material is considered fair game for the exam.
Bit masks really aren't that complicated. It's just using bitwise operations (like AND, OR) with a specific bit pattern in order to change some bits in another bit pattern.
See the first section of this page: https://en.wikipedia.org/wiki/Mask_(computing)