Before pumpkins became the standard for Jack-o'-lanterns, the Irish traditionally carved turnips, rutabagas, and potatoes to create lanterns for the Samhain festival. When Irish immigrants came to America, they discovered that pumpkins were larger and easier to carve, leading to the modern tradition. Since all three vegetables were historically used, 'all of the above' is correct.