Programming Question

Book Link:

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

https://csc-knu.github.io/sys-prog/books/Andrew%20S.%20Tanenbaum%20-%20Modern%20Operating%20Systems.pdf

Question 1

Page 591, Problem 31:When a browser fetches a Web page, it first makes a TCP connection to get the text on the page (in the HTML language). Then it closes the connection and examines the page. If there are figures or icons, it then makes a separate TCP connection to fetch each one. Suggest two alternative designs to improve performance here.

Question 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Page 589, Problem 4:

Suppose that the wire between switch 2A and switch 3B in the omega network of Fig. 8-5 breaks. Who is cut off from whom?

Question 3

Please try all the examples discussed in Lab 8 using your Linux account on the server and use “myperl5.pl” in example 2 discussed in Lab 8 as a template for the following:

Use the command “last -wi > myloginfile” to create a file called “myloginfile” that shows all login information on the server. Write a perl script, “myperlone.pl”, to find out how many times you logged in. (Hint: use your own username in the script.)

Test your script to make sure it works properly and then to verify your result using grep command. (last -wi | grep $USER | wc –l)Question 4 Please use the perl script file “myperladd2.pl” discussed in Lab 8 as a template to complete the following tasks:

Create a new perl script file, “myperlmin4.pl”, which will read 4 numbers and determine which number is the smallest using the if statement, and display it. You are not allowed to use any perl built-in functions, such as “sort” in your script.

Are you stuck with your online class?
Get help from our team of writers!

Order your essay today and save 20% with the discount code RAPID