Decision making: if, switch, loops