Question 1: On the students.hi.gmu.edu server, create a file that lists contents of /bin folder, including subdirectories. The file should be placed in your home folder and be called exam1. Count number of lines in the resulting file. Include screenshot that shows all performed operations.

Question 2: Define the following terms: IP address, network mask, gateway, DNS server. List values of these parameters for the server students.hi.gmu.edu.

Question 3: Write a Python program that checks if a given number (provided by user) is a power of 3.

Question 4. Write a Python 3 function that calculates frequency of all elements in a given list the result should list all unique elements and their corresponding frequencies. Test the function on the following list:

[0, 3, 4, 4, 7, 9, 5, 2, 3, 1, 4, 0, 8, 4, 3, 3, 4, 4, 2, 4, 9, 6, 0, 9, 0, 7, 5, 5, 1, 9, 6, 6, 8, 4, 1, 2, 9, 9, 2, 9, 5, 5, 9, 5, 6, 5, 1, 7, 2, 2, 5, 4, 2, 8, 1, 3, 1, 5, 2, 1, 3, 7, 6, 0, 8, 3, 4, 3, 2, 1, 4, 2, 1, 7, 0, 6, 9, 1, 7, 3, 5, 9, 2, 7, 4, 7, 1, 1, 8, 4, 3, 9, 3, 5, 2, 5, 0, 6, 7, 1]

Question 5: In the attached file: How many people have first name George? What is distribution of race among those with first name George?

1. You are running algorithm with squared complexity on data with 100 elements and it takes 10 seconds. How much time do you expect the algorithm will take when executed on data with 1000 elements?

2. Order the following: O(n2), O(12 + 7n), O(n log(n) + 300 n2 + 1/125 n3),

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.