Computer Science Calculations