VERIFICATION OF WRITTEN WORK  PLEASE STOP ANY WRITING, AS YO…

VERIFICATION OF WRITTEN WORK  PLEASE STOP ANY WRITING, AS YOU HAVE COMPLETED ALL THE EXAM QUESTIONS. Before you submit your exam, as part of ensuring integrity of the online proctoring environment, we would like you to show the written work that you have done on your scrap paper. Step 1:  Please put each page of written work, one-by-one, in front of the webcam so that each page is visible. If you have no pages of work to show, please verbally state that. If your webcam picture is not already visible, please select “web camera” so that you can make sure that the pages are visible to the webcam.  Step 2:  In the “Answer” box below, please indicate the approximate number of pages that you have “scanned” via webcam. After completing these steps, you may submit your exam.

The Linux “man” page for the “useradd” command includes the…

The Linux “man” page for the “useradd” command includes the following:  -c, –comment COMMENT Any text string. It is generally a short description of the account, and is currently used as the field for the user’s full name. Show the command you would use to add an account with your Mason NetID as the text user id and your full name as the comment. For this answer it is NOT necessary to show other options that you would use following best practice as shown in this course.

Write a Python class named SimpleQueue that uses a Python li…

Write a Python class named SimpleQueue that uses a Python list internally. Your class must include: • an __init__ method that creates an empty list • an enqueue(value) method that adds value to the rear • a dequeue() method that removes and returns the front value • an is_empty() method that returns True when the queue is empty Then write a few lines of code that create a SimpleQueue, enqueue 10, 20, and 30, dequeue one value, and print the remaining internal list. You may assume dequeue() will not be called on an empty queue.