Answer
slope=2
Work Step by Step
Slope is defined as:
$\displaystyle slope=\frac{rise}{run}$
To find the slope of $AB$, we need to find the rise and run from $A$ to $B$. From the graph, we see that:
$rise=2$ units
$run=1$ unit
Thus:
$slope=\frac{2}{1}=2$