CI = sample proportion +/- z-critical value * standard error
sample proportion (phat) = 332/400 = 0.83
standard error = sqrt(phat*(1-phat)/sample size) = sqrt(0.83*0.17/400) = 0.019
z-critical value (alpha/2 = 0.005, find z score for 0.995 probability) = 2.575
CI = 0.83 +/- 2.575 * 0.019 = 0.781, 0.879