COMP3040 Tutorial 1 Analysis of algorithms Outline Motivation Analysis of algorithms Examples Practice questions Outline Motivation Components of a program Brief introduction…