*:96 (SU) and 2I1263 (KTH) Internet Application Protocols and Standards Exam 2001-10-20



Relevanta dokument
Isolda Purchase - EDI

Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE

Preschool Kindergarten

Beijer Electronics AB 2000, MA00336A,

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR

1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)

Questionnaire for visa applicants Appendix A

District Application for Partnership

Lösenordsportalen Hosted by UNIT4 For instructions in English, see further down in this document

Webbregistrering pa kurs och termin

Styrteknik: Binära tal, talsystem och koder D3:1

Datasäkerhet och integritet

Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson

Support Manual HoistLocatel Electronic Locks

Materialplanering och styrning på grundnivå. 7,5 högskolepoäng

DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION :15-13: 15

2.1 Installation of driver using Internet Installation of driver from disk... 3

Adding active and blended learning to an introductory mechanics course

Webbreg öppen: 26/ /

SVENSK STANDARD SS :2010

LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik

EXTERNAL ASSESSMENT SAMPLE TASKS SWEDISH BREAKTHROUGH LSPSWEB/0Y09

Writing with context. Att skriva med sammanhang

Protokoll Föreningsutskottet

Support for Artist Residencies


Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm

PORTSECURITY IN SÖLVESBORG

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

Surfaces for sports areas Determination of vertical deformation. Golvmaterial Sportbeläggningar Bestämning av vertikal deformation

UTLYSNING AV UTBYTESPLATSER VT12 inom universitetsövergripande avtal

Installation av F13 Bråvalla

Family appendix for applicants Appendix D

EXPERT SURVEY OF THE NEWS MEDIA

Mönster. Ulf Cederling Växjö University Slide 1

Byggdokument Angivning av status. Construction documents Indication of status SWEDISH STANDARDS INSTITUTE

Immigration Studying. Studying - University. Stating that you want to enroll. Stating that you want to apply for a course.

denna del en poäng. 1. (Dugga 1.1) och v = (a) Beräkna u (2u 2u v) om u = . (1p) och som är parallell

Flervariabel Analys för Civilingenjörsutbildning i datateknik

Your No. 1 Workout. MANUAL pro

Tentamen i Matematik 2: M0030M.

How to format the different elements of a page in the CMS :

Accomodations at Anfasteröd Gårdsvik, Ljungskile

Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås

Module 6: Integrals and applications

Chapter 1 : Who do you think you are?

Övning 5 ETS052 Datorkommuniktion Routing och Networking

Health café. Self help groups. Learning café. Focus on support to people with chronic diseases and their families

SVENSK STANDARD SS-EN ISO 19108:2005/AC:2015

Syns du, finns du? Examensarbete 15 hp kandidatnivå Medie- och kommunikationsvetenskap

1. Varje bevissteg ska motiveras formellt (informella bevis ger 0 poang)

Studieteknik för universitetet 2. Books in English and annat på svenska

Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version

State Examinations Commission

Skyddande av frågebanken

Make a speech. How to make the perfect speech. söndag 6 oktober 13

Application Note SW

Application for exemption - Ansökan om dispens

Workplan Food. Spring term 2016 Year 7. Name:

Every visitor coming to the this website can subscribe for the newsletter by entering respective address and desired city.


Ren Katt. Författare Deepa Balsavar Illustratör Kanchan Bannerjee. Översatt av Bokkok.se

Windlass Control Panel v1.0.1

Byggritningar Ritsätt Fästelement. Construction drawings Representation of fasteners SWEDISH STANDARDS INSTITUTE

Här kan du checka in. Check in here with a good conscience

Unit course plan English class 8C

Stiftelsen Allmänna Barnhuset KARLSTADS UNIVERSITET

SVENSK STANDARD SS-ISO 8734

Utvärdering SFI, ht -13


BOENDEFORMENS BETYDELSE FÖR ASYLSÖKANDES INTEGRATION Lina Sandström

Calculate check digits according to the modulus-11 method

SVENSK STANDARD SS

Alias 1.0 Rollbaserad inloggning

MISSIV Dok.Id Postadress Besöksadress Telefon Telefax Expeditionstid Box 1104

SAMMANFATTNING AV SUMMARY OF

Michael Q. Jones & Matt B. Pedersen University of Nevada Las Vegas

Adress 15. August 2014

xperia p manual svenska

Consumer attitudes regarding durability and labelling

Dokumentnamn Order and safety regulations for Hässleholms Kretsloppscenter. Godkänd/ansvarig Gunilla Holmberg. Kretsloppscenter

Measuring child participation in immunization registries: two national surveys, 2001

INTERAKTIVA UTBILDNINGAR. UPPDRAG: Trafikutbildning åt Örebro kommun. KUND: Agresso Unit4

CHANGE WITH THE BRAIN IN MIND. Frukostseminarium 11 oktober 2018

The Finite Element Method, FHL064

Authentication Context QC Statement. Stefan Santesson, 3xA Security AB

Enterprise App Store. Sammi Khayer. Igor Stevstedt. Konsultchef mobila lösningar. Teknisk Lead mobila lösningar

En bild säger mer än tusen ord?

Hur fattar samhället beslut när forskarna är oeniga?

Installation Instructions

Rastercell. Digital Rastrering. AM & FM Raster. Rastercell. AM & FM Raster. Sasan Gooran (VT 2007) Rastrering. Rastercell. Konventionellt, AM

Teknisk rapport SIS-TR 18:2007 Publicerad/Published: Utgåva/Edition: 1 Språk/Language: svenska/swedish ICS: ;

Småprat Small talk (stressed vowels are underlined)

Retrieve a set of frequently asked questions about digital loans and their answers

Kursplan. EN1088 Engelsk språkdidaktik. 7,5 högskolepoäng, Grundnivå 1. English Language Learning and Teaching

Transkript:

STOCKHOLMS UNIVERSITET Institutionen för Dataoch Systemvetenskap KUNGLIGA TEKNISKA HÖGSKOLAN *:9 (SU) and 2I123 (KTH) Internet Application Protocols and Standards The following documents are allowed during the exam: 1. Documents in Compendium 1, printed on coloured paper. 2. Documents in Compendium 2, printed on coloured paper. 3. Documents in Compendium 3, printed on coloured paper. 4. Documents in Compendium 7, printed on coloured paper. 5. Ordinary language dictionaries between English and Swedish. Note 1: Compendium 4, 5,, 8 and 9 are not allowed during the exam. Note 2: Some students may have the compendiums from the previous time this course was given. Some of these compendiums have yellow paper only on the front page of the allowed documents, and there was a separate document Appendix A: ASN.1 syntax (basic items) which is allowed during the exam. Note 3: Compendium 4 was wrongly printed on yellow paper in August 1998, but is not allowed during the exam. Note 4: A few copies of these compendiums (part 1-3 and 7) will be available for loan during the exam for students who have not bought the compediums. Important warning It is not acceptable to answer an exam question by just a verbatim quote from the allowed documents above. You must show that you understand the question and your answer by using your own words. Questions during the exam Jacob Palme will come to the exam rooms around 11:00 to answer questions for clarification regarding the exam. Notification of result by e-mail Print your e-mail address on the front cover page of the exam, so that I can notify you by e-mail if you did not pass the exam. Print legibly! Continued on the next page

Page 2 Continued from the previous page. *:9 (SU) and 2I123 (KTH) Internet Application 1. Write an ASN.1 specification to send a request for one or more theater tickets. The request should contain the name of the theatre (text string), the name of the play (text string), the date and time of the performance, a request for one or more tickets, where each ticket request should indicate whether the customer is a minor (lower price), a seinor (lower price) or an ordinary adult (not minor or senior) and whether this seat are wanted in the stalls or on the balcony. Note that it should be possible to order several tickets in one request, some of which are in the stalls and some on the balcony, and some of which are minors, some seniors and some adults, in all possible combinations. Skriv en ASN.1-specifikation för att sända en beställning av en eller flera teaterbiljetter. Beställningen skall innehålla namnet på teatern (textsträng), namnet på pjäsen (textsträng), datum och tidpunkt för föreställningen, samt en beställning av en eller flera biljetter, där var och en av de beställda biljetterna kan avse ett barn (lägre pris), en pensionär (lägre pris) eller en vuxen (normalt pris). Varje enskild biljett skall också kunna beställas på antingen parkett eller balkong. Det skall vara möjligt att i en beställning beställa flera biljetter, där vissa avser barn, vissa vuxna, vissa seniorer, vissa parkett, vissa balkong i alla tänkbara kombinationer. TicketRequest ::= SEQUENCE { theatre VisibleString, play VisibleString, datetime GeneralizedTime, SEQUENCE OF TicketItem } TicketItem ::= SEQUENCE { number INTEGER, agegroup Enumerated { minor(0), adult(1), senior(3) }, seating Enumerated { stalls(0), balcony(1) } }

Page 3 *:9 (SU) and 2I123 (KTH) Internet Application 2 A common technique to reduce load on a network is to replicate some information in several places, so that the information needed can be downloaded from a nearby copy. Describe different strategies for managing such replication. Which problems can occur, and how can they be handled? En vanlig teknik för att minska belastningen på ett nätverk är att replikera en del information på flera olika platser, så att den information som behövs kan hämtas från en kopia placerad nära mottagaren. Beskriv olika strategier för att hantera sådan replikering. Vilka problem kan uppstå, och hur kan man hantera dem? Uncontrolled caching Expiration-time-controlled cahing Always check strategy Master-controlled strategy No master strategy No-change allowed Pre-loading Copies are kept for a certain time, without knowledge if the original has changed. Can be combined with methods of guessing liftetime. Original is delivered with a lifetime, and d for this time. For every request, a check is made with the server of the original to see if it has been changed. The master server, which holds the original, knows where replicates are kept and updates them when the original is changed. It may also know secondary replicates, who furthers changes to the original. With this policy, which is used in Usenet News, there is no particular master server for any document. Changes will trickle through from server to server. The advantage is that information is not lost if the master server stops operating. Information is organized into items, which can never be modified. A may request new version of popular documents before any user actually asks for them. Advantage: Fast response time. Disadvantage: May load documents no one wants to see.

Page 4 *:9 (SU) and 2I123 (KTH) Internet Application Manual reload The user can (this is common in web browsers) ask for a reload if the user believes that a page is not up-to-date. The advantage is that a human may know better than a machine, the disadvantage that many users do not understand when and how to use this facility. All can be combined with chaining of successive levels of s: Local user agent Company ISP Local user agent Company Origin server ISP 3 A relative URL is evaluated relative to a base. The method which evaluates a relative URL into an absolute URL takes two parameter values as input, one of them is the relative URL, the other is the base. From which different sources can the value of the base be taken? En relativ URL görs fullständig relativt till en bas. Metoden som omvandlar en relativ URL till en absolut URL tar som indata två parametrar, dels ett värde på den relativa URL-en, dels ett värde på basen. Från vilka olika källor kan ett värde till basen hämtas? 1. Information inside the document itself, for example a <BASE> element in the <HEAD> of the file containing the URI. 2. Information in the environment of the document, such as a Content-Base statement in the HTTP response delivering the file. 3. Use the URI of the referencing file itself, if neither of 1. or 2. provides a base.

Page 5 *:9 (SU) and 2I123 (KTH) Internet Application 4 Write a specification, in a format which might be submitted to a standards organisation, of an extension to HTTP which would allow the requestors to specify their religion, and then get the version of a web page which is appropriate to their religion. It is an advantage if you allow users to specify more than one religion, in order to get a web page adapted to any of these religions. Skriv en specifikation, i ett format som skulle kunna sändas in till en standardiseringsorganisation, av ett tillägg till HTTP som skulle göra det möjlighet för de, som laddar ner en webbsida, att ange sin religion, och sedan få den version nedladdad av webbsidan som passar för deras religiösa övertygelse. Tillåt gärna att man kan ange flera religioner, om man kan godta en sida anpassad till vilken som helst av dessa religioner. The Accept-Religion request-header in HTTP can be used to indicate to which religions web pages, which are available adjusted to multiple religions, should adhere. Accept-Religion = "Accept-Religion" [LWSP] ":" [FLWSP] religion *("," FLWSP religion) religion = majorreligion ["-" subreligion] majorreligion = "Christian" / "Islamic" / "Buddhist" / otherreligion otherreligion = subreligion = 1*ALPHA 1*ALPHA Religions are listed in order of preference.