Let $K$ be a non-empty compact subset of $\mathbb{C}$, the complex field. Does there exist an operator $A\in \mathscr{B}(C[0,1])$ such that $\sigma(A)=K$?
$A$ is a multiplication operator iff $K$ is non-empty compact, connected and locally connected set in $C$. As the Hahn-Mazurkiewicz theorem states that:
A non-empty Hausdorff topological space is a continuous image of the unit interval if and only if it is a compact, connected, locally connected second-countable space.
How about the other kinds of compact sets? Any help would be appreciated!