Final answer:
The cognitive control of task switching predominantly involves the prefrontal cortex in the frontal lobe first, as this area is responsible for executive functions required for goal-directed behaviors and for inhibiting distractions to maintain focus on the goal.
Step-by-step explanation:
When discussing the cognitive control of task switching in the brain, it is generally believed that the regions within the frontal and parietal cortex play significant roles. Nevertheless, it appears that the prefrontal cortex of the frontal lobe is engaged in the process initially. The prefrontal cortex's involvement in higher cognitive functions, such as working memory, attention, and executive functions like planning and decision-making, suggests that it would naturally precede the involvement of the parietal cortex in task switching. These executive functions involve goal-directed behaviors and inhibiting distracting thoughts to focus on a goal.
The prefrontal cortex is particularly significant because it is responsible for the antecedents to planning movements, which means judging whether movements should be made. This cortex is also where judgment, abstract reasoning, and working memory are localized, hinting that the cognitive control necessary for task switching likely starts in this area of the brain.