2015Dec.pdf - THE UNIVERSITY OF HONG KONG FACULTY OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE COMP3322\/CSIS0322 Modern Technologies on World Wide Web

2015Dec.pdf - THE UNIVERSITY OF HONG KONG FACULTY OF...

This preview shows page 1 - 5 out of 14 pages.

THE UNIVERSITY OF HONG KONG FACULTY OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE COMP3322/CSIS0322 Modern Technologies on World Wide Web Date: December 17, 2015 Time: 2:30 pm - 5:30 pm University Number: Only approved calculators as announced by the Examinations Secretary can be used in this examination. It is the candidates' responsibility to ensure that their calculator operates satisfactorily, and candidat es must record the name and type of the calculator used on the front page of the examination script. Candidates are allowed to bring into the examination hall one piece of A4 paper with printed or written notes on both sides. Answer ALL questions in the space provided. Write your university number at the top of each page. Total mark is 100. Question Score· · 1 (20%) 2 (21 %) 3 (25%) 4 (24%) 5 (10%) Total (100%) Page 1 of 14
Image of page 1
Question 1 (20%): Answer the following questions. (1) Give three differences between TCP and UDP . (2) Gi _ ve three differences between HTML and XML. (3) Explain what each part (separated by //, :, /, ?, or #) means in the following URL: h _nR.?.. 1-f!g_QJ .? ..:. ~!f. o rg: ?-9~.Q/..ht1J1Jl.r..fQ . ~~lP...9Ee =:~J!.?..~£ t i o n- 3...J. Page 2of14
Image of page 2
UID {4 ) Briefly compare HTMLS localStorage, HTMLS sessionStorage, cookie and session techno logies. {5) Briefly compare SOAP Web service and RESTful web service. {6) Briefly explain the relationship among node.js, express.js and Jade. Page 3 of14
Image of page 3
Question 2 (21%): Consider the following network. There are two subnets connected by one router. Suppose the network prefix in Subnet 1 is 223.1.10.168/29 and the network prefix in Subnet 2 is 223.1.12.80/28. Router Sw itch 2 i \:'...:::·::t~,i ·. Host B ...... __ ·- ... ------··""'" .. ............. - .... :-~-._ . .;.__ .. _: .... ;__, ______ ,.. : Hoste (1) (6%) Allocate an IP address to each interface in each of the two subnets. (2) (7%) Suppose WiFi is used as the link-layer protocol between Host C and Switch 2, and Ethernet is used as the link-layer protocol on all the other links in the network. Host A is sending a data file to Host C using FTP . List the protocols that each host/device along the path from Host A to Host C runs to enable the file delivery, together with the layers that the protocols belong to in the Internet protocol stack. Note that you only need to list protocols in the upper four layers, and there is no need to give physical-layer protocols.
Image of page 4
Image of page 5

You've reached the end of your free preview.

Want to read all 14 pages?

  • Fall '13
  • Dr. C. Wu
  • Computer Science, IP address, Web page, Subnetwork, Ocean Park Hong Kong, Wong Chuk Hang

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture