A homework question:
Use an appropriate UML diagram, to describe the process of using a self-service-checkout to purchase stuff from a shop.
The diagram should focus primarily on the required actions taken by the checkout software in completing the transaction.
I have chosen to do this as a activity diagram as it clearly shows the actions taken by the checkout software in completing the transaction.
Is this the correct approach? Any advice?
The requirement is to describe a process and focus on some actions. You can take this as a reflex: in UML, processes and process decomposition are best described with activity diagrams.
You can corroborate this conclusion, reasoning by elimination. Among all the UML diagrams, processes and actions are about behaviors of the system and not structure. So it's necessarily a behavioral diagram: