If $ A$ is open and $ B$ is closed, is $B\setminus A$ open or closed or neither?

Yes, if $A$ is open and $B$ is closed, then $B\setminus A$ is closed. To prove it, just note that $X\setminus A$ is closed (where $X$ is the whole space), and $B\setminus A=B\cap(X\setminus A)$, so $B\setminus A$ is the intersection of two closed sets and is therefore closed.

Alternatively, you can observe that $X\setminus(B\setminus A)=(X\setminus B)\cup A$ is the union of two open sets and therefore open, so its complement, $B\setminus A$, is closed.


If $A$ is an open subset of $B$, and both $B$ and $A$ are subsets of a space $X$, then $B\backslash A=(X\backslash A)\cap B$. As $A$ is open, $X\backslash A$ is closed, and so $B\backslash A$ is the intersection of two closed sets, and is closed.