{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Homework7 - CSE 335 Homework 7 Objectives 1 Read and...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 335 Homework 7 Objectives: 1. Read and understand the code for an application that simulates concurrent control. 2. Become familiar with some of the abstractions and code that will be used in Project 3. Description: In this exercise, you are to take a tour of the code that implements the graphical Perli- sism browser that we discussed in class. There is nothing to “turn in” for this homework. Rather, I want you to use this handout to help you read through and understand the various abstractions that are being combined and used in this complex design. When you have finished, send an e-mail to the TA stating this fact, so that he can record your progress. I will assume that anyone who sends such an e-mail has actually taken the tour. Recall that the Perlisism browser is a graphical browser (scrollable viewport) that displays lines of text arriving in real time over the network. The lines of text are a random sequence of quotes on programming from one of the fathers of modern day computer science, the late Alan J. Perlis. 1 These quotes are sometimes called Perlisisms , and we have constructed a server program that con- tinuously issues a random Perlisism to network clients. Getting your own copy: On arctic, copy the directory /user/cse335/AlexLiu/HW/HW07/PerlisismBrowser into your user space. Among other things, this directory contains a script called runBrowserReactive , which you can execute to run the application. Note: This is a networked application, meaning that the server and the client are run as separate Unix processes, which communicate with one another over a port. Before launching the application, you must decide on a unique port number , which you (and only you) will use to open a network connection to your running server process 2 . Choose a ran- dom port number between 5000 and 7000. Suppose it’s 5678. Edit the
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern