4GB is totally insufficient!
8GB is "usually" enough, but you'll need to look at what the special programs you will need for school require/recommend in the amount of RAM.
STRONGLY recommend that if you go with 8GB, you get 2 x 4GB modules, leaving you the option of later upgrading to 16GB (4 x 4GB modules)