Unless specifically mentioned, when directed to write or edit XHTML, XML or other well defined documents, you are expected to turn in strictly conforming documents. Your work will be run through a validating parser and if it fails to parse, then your grade will suffer substantially.
An XML (or other format) document that is not well-formed, is considered to be the same as code that does not compile. Refer to the course syllabus for clarification on the grading policy for code that fails to compile.
Writing assingments should be turned in on paper, however electronic copies may be turned in as well according to the instructions on the syllabus.
At the same time you turn in your writing assignments, you must update your personal page to include the assignment. While I will be grading the material for substance according to what is turned in, any assignments that are not also available on your web site when submitted, will be considered unsubmitted and returned ungraded. See the syllabus for my late homework policy.
If desired, partners may link to a single one copy of an assignment hosted at one or the other's web site. In fact you are discouraged from duplicating content online without good reason or without properly labled mirror links.
Online versions of writing assignments that are hyperlinked to sources and references will be considered exceptional craftmanship and graded appropriately.
Spend time in the Internet Society's Internet pages, http://livinginternet.com and Hobbe's Internet Timeline.
All questions refer to the Universal Character Set unless otherwise noted. You may need to refer to Dr. Toal's character encoding page in order to complete this assignment. You also may have to use Google to search for information on the UCS and the US-ASCII character sets.
Research the following commands (hint: use the man program)
ping, traceroute, route, dig, nslookup, host, arp, rarp, netstat, ifconfig and lsof. Experiment with each, but use care if doing so as root so that you do not trash your system.
Turn in the output (either via script(1) or cut/paste from a terminal) of a non-trivial run of the following utilities. Annotate each with a description showing what each part of the output represents.
Write a perl script to display the IP address and hostname of the machine it is running on. If you have never written a Perl script, now's your chance to learn the language!
Draw a picture of two networks with three hosts, each connected by an IP router. One network uses 26 bits for the network part and the other uses 18. Label each host, router and network with sample IP addresses. Make sure the addresses are consistent. Use the slash notation. Give a routing table for one host.
Explain why the subnetmask 255.255.255.254 is
practically useless, or at least, why you would feel bad if your boss
assigned you and your workstation to a subnet with that mask.
Most client-server programs written in Java using the simple Socket API all look the same: the server waits in a loop, gets a connection and spawns that thread to talk with the client so that it can immediately return to waiting. Write a java class that takes care of all this "framework logic" so that anyone writing a client-server Java application need only supply specific service logic, while allowing the framework class to handle the details of waiting and spawning threads.
Hint: A simple way to do this is to define a thread class that stores
the socket returned from the server's accept() method; all
specific services will extend this thread class.
Pay attention to cleaning up resources (e.g. closing sockets)
Extra credit: Explain why the hint above could be a bad Java based solution from an object orientation standpoint.
Retrieve and turn in the SOA record for lmu.edu, annotate
it to explain what each of the fields mean.
Use dig (or a similar tool to find the following
If your network administrator said that your organization should limit all of its domain names to three segments (as opposed to having no limits) so that all names would resolve faster, you'd rightly conclude your administrator doesn't understand DNS very well. Why is this comment stupid? What really determines how quickly names resolve?
http://www.technocage.com/~caskey/pubkey.txt
Using the OpenSSL tool suite, try and figure out the command to create a self-signed pkcs certificate.
This problem must be answered for three different businesses or entities. Each answer is to be in the form of a one to two page report on that entity that reads as a proper, if brief research paper.
Extra credit will be awarded to students whose solution sets do not include any web sites.
Find organizations or applications that make use of the internet either wholly or partially, publicly or internally to help in their service to customers or users. Examples of businesses that use the internet wholly for their operations would be e-Bay and Amazon. Examples of applications would be ICQ and AIM and examples of businesses that use the internet internally would be LucasFilm which used the Internet to deliver digital ``dailies'' from production in New Zeland to their home office in California.
Perform a file transfer session by telnetting to port 21 on a machine with an ftp server. At least log in anonymously, transfer a text file, transfer a binary file, and list the contents of a directory. Show exactly the commands you entered and the responses you received.
Given the following message, where should bounces be sent to?
Return-Path: <1@example.com> Delivered-To: 2@example.edu Received (qmail 20289 invoked by uid 501); 9 Jul 2143 06:16:38 -0000 Received: from unknown (HELO mx1.example.com) (10.3.1.5) by mx1.example.edu with SMTP; 9 Jul 2143 06:16:36 -0000 Mail-Followup-To: 3@example.com Received: from localhost (HELO localhost) (user@127.0.0.1) by localhost with SMTP; 9 Jul 2143 06:14:33 -0000 Date: Wed, 9 Jul 2143 08:14:31 +0200 (CEST) From: Five <5@example.com> Sender: 6@example.com Reply-To: 7@example.com To: 3@example.edu Subject: Hello Message-ID: <5128d6330150@mx1.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Hello world!
Justify your answer with citations
Write a Java application that takes an email address as a parameter and sends that mailbox a message from itself. It can be a simple command line application that takes the email address as an argument and uses a default subject and message text, or (better) a Swing application with textfields for the "victim" and subject, and a textarea for the message. Do a good job on constructing realistic message headers (including putting the current date in the right format).
Design and create a home page which will be used specifically for this class. The page must clearly indicate the owner of the page and have sections for you to link to copies of the work you will do for this course.
The page must also contain a link to the course home page, as well as at least three other students in the class. Cliques are good and you may go out of your way to construct specific ones and identify them on the page, likewise partitions in the class web of pages will be frowned upon. Reciprocal links are not strictly necessary, but are encouraged.
Bonus points will be awarded to the whole class if I am able to navigate from the course homepage (which will have a link to each of your pages), to a randomly selected student, through every student page and back again without having to return to the course home page. Those that can evidence to me that they worked to coordinate and ensure that this occured will also be rewarded for their resourcefulness.
Write a single (brief) XHTML document and view it under any two web browsers that use different rendering engines and purport to support XHTML. Use as many different XHTML tags as you can, use the list of block and inline tags to find ones you may have missed. You should also use style sheets to set the border and margin properties of the elements.
Find and read the XHTML 1.0 standard.
<li compact> in XHTML?At your option you may do all of these problems on a single page, or have a separate page for each one.
add.xhtml sample javascript page to add three
more buttons, "-", "/" and "*". Use the onclick attribute
to cause them to perform the indicated function and store it's value in input 'c'.http://www.technocage.com/~caskey/lmu/examples/javascript/xhtml/rollovers.xhtml
except with four different images that
change when the user's pointer passes over them.red, green and blue.
When each of these buttons is pressed, the background color of the page should change to
the color specified.
+ and - buttons
next to each field which increment and decrement the value in the field when clicked on.
Since some people are having trouble finding this documentation, don't forget to make use of the DOM2 info at the w3c! These documents describe what the functions and properties are that come built into the DOM objects.
document.bgColor, make a new
version which starts out with four paragraphs, each with their own foreground/background color combination. Each of
the first three paragraphs should have a button in it which when pressed changes the foreground and background
colors of the fourth to match the one that the button was in.| Original list | List after page is first loaded | List when 'a' has been clicked upon | List when 'a' and 'd' have been clicked upon | List after 'a' has been clicked again | |
|---|---|---|---|---|---|
|
|
|
|
|
Find and read RFC2396.
/www as the webroot,
/home
as the personal directories and public_html/ as the
web dir, where, according
to RFC2396 might the web server interpret this file as being located?
http://www.example.edu/~alice/path%2Fto%2Fdata%2Finfo.htmlImagine a service called snurl which given
a snurl server, a timestamp and a url, returns metadata about that
URI as it existed at the time in the timestamp. Snurl servers are
ordinary internet hosts running snurld.
The URI in question is encoded as the path_segments part of the
URI, the desired timestamp is encoded as an ISO-8601 timestamp as the query
part of the uri and the scheme is, of course snurl
Encode the first three URIs in the URI Practice section using this url format. You may use dates and times of your choosing.
For each of the following, determine if they are well formed, and if not, specify exactly why. Some may have multiple well-formedness errors. Some may be strictly well formed but go against the recommendations for the structure of URIs, where applicable point this out and suggest a solution.
http://www.google.com/search?q=URIhttp://straitstimes.asia1.com.sg/latest/story/0,4390,198682,00.htmlisbn:0-201-72152-XSubject: Hello world!c:/dos/mscdex.exehttp:/%32%3F%42%92http://www.lmu.edu/#cmsi/deanhttp://www.lmu.edu/go?cs#deanhttp://12593815/images/12/Take the DTD available at gedcom.dtd along with the biographical data at gedcom-sample.txt and produce an XML document that encodes all the data in the text file.
Take the XML document at calendar.xml and produce a DTD that documents it. The existing document must pass a validating parser using your DTD. Feel free to extend the DTD to add more capabilities than are present in the sample. Extra points will be awarded for creativity.
Go into PROWL and look up your unofficial transcript. Using it as a model (the content, not the HTML), devise your own XML markup to encode all of the student information that is contained in a transcript.
Don't forget to include all of the information that appears in the transcript, though be sure to replace your actual transcript information with made-up information.
You might want to make use of a validating parser to test your document against your DTD. This isn't strictly required, but may improve your grade by catching well-formedness and validity errors. Also, the XML textbook will be your best friend for this assignment. Read thoroughly the chapter on DTDs.
Take one of the data sets and formats below, then design a DTD defining an XML document format to encode that data. You may, at your option, select an unlisted data set, however it must be non-trivial and have a documented format.
After designing your DTD, encode a meaningful amount of data using it. Meaningful means at least 20 records if they are of address-book or bibliography size. The sample records must demonstrate usage of all of the attributes and options defined in your DTD.
Bonus points will be awarded if you include a program to automatically convert a data set into your new XML format.
http://www.trinet.org/shake/archive/For each of the XML documents below, draw a UML Object Diagram that shows the DOM parse-tree of the document. In each Object's box, list the attributes that are specified, if any. Don't forget to appropriately label the objects that have ids.
Write an (annoying) web server in Java that answers every HTTP request with a random response code that is anything but 200. Keep the program down to around 20 lines of source code.
Bonus points will be awarded if you modify uriparse so that it changes its behavior based upon the name that it is called with.
Take your personal page and make an RSS feed using any version 0.9x you like. The feed should include all of your homework assignments, including resubmissions. Don't forget to add in the RSS itself as the most recent entry.
Take the RSS created in the previous problem and make it into an RDF Site Summary.
It's said by UI designers that the 3D button motif affords pushing. Think about the horizontal and vertical scroll bars used in GUIs nowdays. Does the scroll bar afford dragging or clicking? Can you think of a better design for a scroll bar that might afford interaction? Write a 1-2 page paper discussing the design of the scrollbar. You may take the position of defending its current appearance, or challenging it.
Bonus points will be awarded if you propose an alternative design and justify its use.
As an LMU student you have had ample opportunities to interact with the registrar's PROWL system and experience its pros and cons. Write a 1-2 page paper analyzing the PROWL's gui, either broadly or take a specific aspect and analyze it in detail. Be sure to include an anlysis of the intended audience and at least one paragraph discussing the technological and social implications of the GUI design.
Does the university PROWL system enable handicapped members of the LMU community to register for classes? Do you suppose this is a design or implementation issue?
Do not forget: as mentioned in the syllabus, the Keck Computer Lab provides all the resources you need to complete these assignments. Working outside the lab is neither supported nor encouraged. You may do your work outside the lab, however you are responsible for any techical issues that may arise.
Using only CSS and XHTML (no tables), create a series of three column layouts with the following properties. Each of these should use the color scheme below to identify the different portions (if they have the given element). Place each page at a publicly accessible URL, each of these assignments should have in their 'navigation' section links to the other assignments. You will turn in ONLY a piece of paper with the URL of question number 1. Any particulars of the layout that are not listed here may perform any way you choose (e.g. resizing behavior).
li
navigation elements implying other areas of the site that the user could
navigate to. For clear identification, make the background of this element some shade of green.
See
Amazon
for what left-navigation links should look like, but ignore
their particular XHTML for creating the layout, they use tables.