Electric Field & Charge Distribution

What can we say about the charge inside the boxes?

A.

B.

C.

D.

 

What charge distribution could create the E-field shown below? Is this the only charge distribution that could create it?