The study is an experimental study – not an observational one. This is clear from how the research methodology is explained in the question. An observational study would not have a manipulated variable – while manipulation of a variable (usually independent variable) is crucial for experimental research.
The manipulated variable in the research study is the chocolate offer, with two possible treatments – given chocolate, or not given chocolate. Based on the conducted research it is clear that the group of students who were offered chocolate gave more positive evaluations for the course than the group of students who weren’t offered chocolate.