*:96 (SU) and 2I1263 (KTH) Internet Application Protocols and Standards Exam

Similar documents
SAS Data Integration SAS Business Intelligence

Ange om en aktivitet har medfört att en tjänsteresa har utförts med flyg under 2013, och i sådana fall antal gånger.

DECISION/BESLUT

BABIES PG st per förpackning, kan även beställas styckevis.

SAS Education Providing knowledge through global training and certification. SAS Foundation. Kursöversikt 2010

Viktigaste uppgift: Web Browser SSO

Interface Programmera mot interface Johan Eliasson Johan Eliasson Interface kan bryta beroendekedjor Skriv generell kod «Type» Class2 Interface

Repetition inför tentan. Kommunikation. Infrastruktur. ÖP Inga hjälpmedel. v v v

Tanden Care Provider Interfaces PreAssessmentSTB v3

P Swedish National Seismic Network (SNSN) A short report on recorded earthquakes during the second quarter of the year 2009

Panthera - A Helpdesk System developed in Visual Studio.NET

Seminarium om tystare busstrafik

Tanden Care Provider Interfaces Reverse Claim v1

Strategisk planering, Aktiv demokrati, 6-8 jan 2012

Microsoft + SOA = Sant? Joakim Linghall Principal System Engineer SOA and Business Process joakiml@microsoft.com

SWAMID Identity Assurance Level 1 Profile

KINAR13h, KINLO13h. The marking period is, for the most part, 15 working days, otherwise it s the following date:

School of Electrical Engineering

WINDOWS PRESENTATION FOUNDATION LEKTION 3

A Study of Failure Development in Thick Thermal Barrier Coatings. Karin Carlsson

How To Work For A Car Maker

Installation WebInfo 3.3 (deprecated)

Smarta elnät vad händer? Samordningsrådet & Europa

P Control of microorganism content in flushing water used for drilling in KFM01A. Site investigations in the Forsmark area

TDDB84 Design Patterns Exam

Scrum Kandidatprojekt datateknik - TDDD83

We give advice, support and treatment ( Vi ger råd, stöd och behandling engelska)

Microsoft SQL Server 2012: Designing Buisness Intelligence Solutions

Design Suggestions for Danske Bank SE

Jag valde att använda Net-EPP_client.php från centralnic för att komma igång.

The Problem With Adding Positive and Negative Numbers

Decision Support in SAS Decision Support supports the right fact-based business decision

3gamma Från traditionell IT-leverans till modern, processtyrd tjänsteleverans i en multi-sourcing miljö. Peter Wahlgren, September 2013

Använd SAS för att bearbeta och analysera ditt data i Hadoop

Bachelor thesis Software Engineering and Management How can code reuse help a Software Company

CyCity: Swedish research programme on cycle centric cities

WELCOME TO. Information Integration

Readme10_054.doc page 1 of 7

SVERIGE OCH SVENSK RÄTT I INTERNATIONELLA SKILJEFÖRFARANDEN YAS INITIATIV 2012

Projektet Computer: Specifikation. Objektorienterad modellering och diskreta strukturer / design. Projektet Computer: Data. Projektet Computer: Test

Tycker du att det bor vara tillatet att skicka sina barn till kristna friskolor? Freq. Percent Cum.

Course Catalogue SOLVINA OFFERS A RANGE OF HIGHLY REQUESTED PROFESSIONAL COURSES PRESENTED BY TOP LEVEL SPEAKERS AT WORLD-WIDE LOCATIONS

ENVIRONMENTAL MANAGEMENT IN THE SWEDISH CONSTRUCTION INDUSTRY SUGGESTIONS FOR IMPROVED KNOWLEDGE MANAGEMENT

Utbytesbatterier för UPS:er 300VA VA

Rättningstiden är i normalfall tre veckor, annars är det detta datum som gäller:

Configuring and Administering Hyper-V in Windows Server 2012

Sjukförsäkring. If you are signed off sick for a long period. Include your family!

Asian Option Pricing and Volatility. Erik Wiklund

Vet du redan nu att du vill studera på Emirates Academy kan du fylla i ansökan nedan och skicka till KILROY.

Data base for Design Fires -Brandforsk Project

Positive. Aids and HIV in trade unions.

BizTalk 2013, Hands on, IaaS, Paas - Hybridbaserade integrationslösningar med BizTalk lokalt och/eller i molnet

ICT System for Courses in Computer Networking

Introduktion till SAS 9 Plattformen Helikopterkursen

Enterprise Service Buses: A Comparison Regarding Reliable Message Transfer M IKAEL AHLBERG

Rek. 1995:- Technical specifications SB12V3200E-AC SB12V3200E-AC. Recharges much faster. Longer service life. Only 1/3 of the size.

Beställ kläder med klubblogo

Category work in courtroom talk about domestic violence: Gender as an interactional accomplishment in child custody disputes

Workshop 1: Can CM find common ground for HW & SW development?

MBA. EA GBG Bolag. EA GBG Bolag Enrollment id Kommunleasing GotEvent Renova

Introducing a New Framework for Modelling Requirements, Traceability, and Patterns in UML MIKAEL SIMONSSON

2012:13. Technical Note. A review of the creep ductility of copper for nuclear waste canister application. Author: Kjell Pettersson

Agile project management in the construction industry - An inquiry of the opportunities in construction projects

IBM idag. Johan Rittner VD IBM Svenska

ANVÄNDARINSTRUKTION Patientlyftvåg SLSC2 200kg/100g

Advantages when Changing to a Nationwide Reference System Experiences from Umeå, a Municipality in Northern Sweden

Den mänskliga dimensionen

Anders Ingvarsson (CEO) LifeAssays today May, 2015

Sweden National H.O.G. Rally July 2010

THE INBOUND MARKETING WAY THE BATTLE OF GOOGLE MARKETING HOUSE MARKETING HOUSE MARKETING HOUSE

The CoAct Project. Participation in the Grand Cooperative Driving Challenge. IVSS Project Report

Automated Integration Testing an Evaluation of CruiseControl.NET C H R I S T I A N J Ö N G R E N

Use Case Explorer. Johan Helldahl Usman Ashraf. A Use Case Tool. Master of Science Thesis in Software Engineering and Technology

Housing allowance for families with children [Bostadsbidrag till barnfamiljer]

Differences in Situational Awareness and How to Manage Them in Development of Complex Systems

astro 320 manual svenska

Decision Analysis in Fire Safety Engineering. Henrik Johansson

Mobile Phone Use while Driving

MF2019, CAD 3D-modeling och visualization Spring 2011 PROJECT

Comparison of the EU s Sustainable urban mobility plan (SUMP) and the Swedish planning support Transport for an attractive city (TRAST)

ENGLISH LISTENING COMPREHENSION TEST PITKÄ OPPIMÄÄRÄ LÅNG LÄROKURS YLIOPPILASTUTKINTOLAUTAKUNTA STUDENTEXAMENSNÄMNDEN

Mobil data hetare än någonsin.

Development of a cloud service and a mobile client that visualizes business data stored in Microsoft Dynamics CRM

Development allowance and activity grant [Aktivitetsstöd och utvecklingsersättning]

Security in EIS. The Future. This lecture. Jonny Pettersson 29/4 2010

Marknadsföring som en del av intäktsprocessen.

HR (Human Resources) user manual

Demo Gotland (Smart Customer Gotland)

9 Marital status Single Married Separated Divorced Widow(er) * 19 Current occupation Valid: From

Performance Management for Cloud Services: Implementation and Evaluation of Schedulers for OpenStack

Why We Are Reorganising the Swedish Land Registry

Adjectives/adverbs When do you use careless and when do you use carelessly?

If You Get Sick during a Temporary Stay Abroad [Sjuk vid tillfällig vistelse utomlands]

Windowsadministration II, 7.5hp, 1DV424 MODUL 5 EXCHANGE SERVER 2013 FÖRELÄSNING 3

MME TECHNICAL SERVICE NEWSLETTER GROUP 16 ALTERNATOR LOOSE PULLEY _ 4N13 DATE SERVICE CAMPAIGN (REF. MMC: SSI )

Windows 7, Enterprise Desktop Support Technician

Institutionen för datavetenskap Department of Computer and Information Science

Transcription:

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 colored paper. 2. Documents in Compendium 2, printed on colored paper. 3. Documents in Compendium 3, printed on colored paper. 4. Documents in Compendium 7, printed on colored paper. 5. Ordinary language dictionaries between English and Swedish. Note 1: Compendium 4, 5,, 8 and 9 are not allowed during the exam. The exam supervisor will check that you do not have copies of compendiums 4,5,, 8 and 9 printed on color paper. Bringing such compendiums on colored paper is cheating and can result in suspension of your rights to study. Note 2: Underscoring and short handwritten notes in the yellow documents are allowed. Note 3: 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 compendiums. 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. Jacob Palme can be reached by phone 4 77 48 between 18:00 and 20:00 on the exam day if you need clarification of an exam question. Continued on the next page

Continued from the previous page. *:9 (SU) and 2I123 (KTH) Internet Application 1 A freight train can carry three kinds of wagons: Container wagons, tank wagons and piece-goods wagons. Limits for these wagons are: For container wagons: Maximum number of tons, for tank wagons: Maximum number of both tons and maximum number of cubic meters, for piece-goods wagons: Maximum number of tons. Write a specification of a protocol to transmit a description of a train containing a variable number of wagons with specified maximal limits of these three kinds. You are free to use ABNF, XML or ASN.1 whichever you prefer. Ett godståg kan innehålla tre typer av vagnar: Containervagnar, tankvagnar och styckegodsvagnar. Gränser för dessa vagnar är: För containervagnar, ton. För tankvagnar, både ton och kubikmeter. För styckegodsvagnar: ton. Skriv en specifikation av protokoll för att överföra en beskrivning av ett tåg omfattande ett varierande antal vagnar med specificerade gränser enligt ovan. Du kan själv välja att använda ABNF, XML eller ASN.1. DTD: <!ELEMENT train (wagon*) <!ELEMENT wagon ( container tank piecegoods) <!ELEMENT container EMPTY <!ELEMENT tank EMPTY <!ELEMENT piecegoods EMPTY <!ATTLIST container <!ATTLIST piecegoods <!ATTLIST tank maxvolume CDATA #REQUIRED Example of XML based on this DTD: <?xml version="1.0"? <!DOCTYPE train SYSTEM "train.dtd" <train <wagon<container maxweight="10" /</wagon <wagon<tank maxweight="10" maxvolume="20" /</wagon <wagon<piecegoods maxweight="12" /</wagon </train

*:9 (SU) and 2I123 (KTH) Internet Application 1 ASN.1: Train ::= SEQUENCE OF Wagon Wagon ::= CHOICE { [0] Container, [1] Tank, [2] Piece-goods } Container ::= SEQUENCE { maxweight REAL } Tank ::= SEQUENCE { maxweight REAL, maxvolume REAL } Piece-Goods ::= SEQUENCE { maxweight REAL } ABNF: TRAIN = "Train: CRLF *(CONTAINER / TANK / PIECE-GOODS ) "TrainEnd" CRLF CONTAINER = "Container: " *DIGIT "." *DIGIT " Maxweigth" CRLF TANK = "Tank: " LIMIT " Maxweigth" LIMIT " Maxvolume" CRLF PIECE-GOODS = "Piece-goods: " LIMIT Maxweigth" CRLF LIMIT = *DIGIT "." *DIGIT " Example of data based on this ABNF specification: Train: Container: 10.0 Maxweight Tank: LIMIT 10.0 Maxweight LIMIT 20.0 Maxvolume Piece-goods: LIMIT 10.0 Maxweight TrainEnd 2 Write a specification in HTML of part of an HTML form which contains a HIDDEN control. You can choose yourself a suitable application where such a control might be useful. Also describe why use of the HIDDEN control was suitable in the application you describe. Skriv en specifikation i HTML av en del av ett HTML-formulär som innehåller en HIDDEN-kontroll. Du kan själv välja ett lämpligt exempel på en tillämpning där det kan vara lämpligt att använda en sådan kontroll. Beskriv också varför användning av HIDDEN-kontrollen var lämplig i ditt exempel.

*:9 (SU) and 2I123 (KTH) Internet Application 2 HTML Code <FORM action="http://mysite.com?" method="post"name="comment" <PAdd to your cart:</p <P<INPUT name="added" type="checkbox" value="apples" Apples</P <PAlready ordered: Oranges, Pears</P <P<INPUT type="hidden" name="ordered" value="oranges;pears"</p May look in the web browser like this Add to your cart: Apples Already ordered: Oranges, Pears Use of a hidden form field was used to remember the contents already stored in the cart for a customer adding more and more products to a card. 3 A Usenet news client is often restricted to communicate only with a certain news server. In spite of this, communication is possible between users connected to different news servers. What technology is used to make this possible. What are the pros- and cons of this technology? En Usenet news-klient har ofta bara rätt att kommunicera med en viss newsserver. Trots detta, är det möjligt att kommunicera mellan användare knutna till olika newsservrar. Vilken teknologi används för att göra detta möjligt, och vad är för- och nackdelar med denna teknologi? Messages are duplicated between servers, by nearby servers exchanging messages so that a message successively reaches all servers. Pros: Automatic backups by multiple copies on different servers. Fast response times for users. Cons Expensive duplicate storage. Short retention times. All newsgroups not available everywhere. Slow distribution.

*:9 (SU) and 2I123 (KTH) Internet Application 4 Write an extension to RFC 1894 to be able to report that a message was stopped for national security reasons. Skriv ett tillägg till RFC 1894 för att kunna rapportera att ett meddelande stoppades av hänsyn till nationella säkerhetsintressen. This extension adds functionality to RFC1894 to report that a message has been stopped for national security reasons. The IANA registry of diagnostic types is extended with a new diagnostic type with the name national-security-reasons. MTAs performing national-security control of e-mail can send this notification, combined with an action-value failed. Security considerations: Even though this extension is meant to increase security, there are obvious security risks with monitoring mail for security reasons, such as the risk of improper rejection of a message and infringement of privacy risks.