Answer
a) Not affected.
b) Affected
Work Step by Step
$$\color{blue}{\bf [a]}$$
Since glass is not a magnetic material, it will not be affected by a magnet.
$$\color{blue}{\bf [b]}$$
Since the magnet itself is neutral and the ball is positively charged, the magnet will be affected by the ball due to polarization if the magnet is made of metal.
In other words, when a metal magnet is brought near a negatively charged ball, the magnet is polarized and attracts the ball.
So the ball will swing slowly toward the magnet.