Yes, you cook the pasta before baking. It ensures tenderness. Boil until "al dente." Then, assemble with other ingredients. Bake to meld flavors and melt cheese.