Answer: a) The electric field outside the slab can be calculated using Gauss's Law. Since the electric field is zero in the middle of the slab and the charge density is uniform, the electric flux through any Gaussian surface that encloses the middle of the slab will be zero. Therefore, the electric field outside the slab must also be zero.
b) Inside the slab, the electric field can be calculated using the formula for the electric field due to a uniform charge distribution: E = rho/(2*ε_0). This formula gives the electric field as a constant, independent of x. The electric field inside the slab will be uniform and directed from the negative charge towards the positive charge.