Can I calculate the total pressure of a mixture of gases by adding together the partial pressures of the component gases?
You certainly can!
This is Dalton's Law of Partial Pressures.
In symbols, we write it as
The pressure of a mixture of nitrogen, carbon dioxide, and oxygen is 150 kPa. What is the partial pressure of oxygen if the partial pressures of the nitrogen and carbon dioxide are 100 kPa and 24 kPa, respectively?