1. Lecture 1Introduction to Programming Tariq Ali, Room No 21 2. Outline A computer is a useful tool for solving a greatvariety of problems. To make a computer do anything…