Instructions: There are 4 questions for this lab assignment,…

Questions