Yes, the written will be in person. The oral will be part of your checkride.
Honestly you don't really need to purchase a formal ground school program. Like AggieMike said, you can get everything you need right off the FAA's website for free. This is what I used and I also scheduled a couple...