If a slope of a line is 2/0 is it 0 or undefined?
It's undefined. When you have a slope as a fraction, it's "rise over run". The line rises two but runs zero, so it's a vertical line. If it were 0/2, that would be a horizontal line, aka 0 slope