Nothing Special   »   [go: up one dir, main page]

0% found this document useful (0 votes)
441 views3 pages

Itec 4010

Download as pdf or txt
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 3

ITEC 4020

Internet Client-Server Systems


Sample Final Exam

Note: Only a few questions per section are provided.

Part A: Multiple choice (30%, 1 mark each question) - Circle one answer

1. Which of the following is true about WWW (choose one)


a. is also known as Internet
b. is based on URLs, HTML and HTTP
c. was invented by Al Gore
d. does not support open standards
e. is made of thousands computers connected together

2. How many web servers exists in the world? ( select the closest number)
a. 1 million
b. 10 millions
c. 100 millions
d. 1 billion
e. 100,000

3. In a peer to peer architecture, which of the following is not true (choose the most
likely)
a. Each participating software entity is both a client and a server
b. Data is decentralized, and spread across each peer
c. Napster is an example of peer to peer application
d. The architecture is not reliable, if one peer fails, the whole system fails
e. It scales well

1
Part B: Short Answer Questions (35%, marks indicated next to each question)

1. Explain the elements of the following URL


http://www.foo.com:9080/global/search?q=servlet

2. Describe 4 layers in a client server system (can use a diagram). Explain the role of
each layer

Part C: Composition (35%, weight indicated next to each question)

1. Write an html markup that displays: “to learn more about York University, click
here”
Note: “here” is a hyperlink to yorku.ca

2. In a network,
message transmission time = latency+length/(data transfer rate)
Q: how long takes to transfer 1MB data between two computers located at 10000Km
of each other? Assume a transmission rate of 20KB/s and that data travels with the
speed of light

A: T=(10000/300000)+ 1000/20=

3. In a database “articles”, with 2 columns “title” and “ content”, if I want to find all
rows that contain „tricky‟ and do not contain „database‟ how does the query looks
like?

2
4. For the web service descriptor bellow(wsdd file), how does the provider looks
like? Write the name of the class and the method‟s signature.

<deployment xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="Foo" provider="java:RPC" style="wrapped" use="literal">
<parameter name="className" value="Foo"/>
<operation qname="foo" returnQName="fooReturn" returnType=“xls:string"
>
<parameter qname="bar" type=“xls:string"/>
</operation>
</service>
</deployment>

Answer

Class Foo{

String foo ( String bar){};


}

```````

You might also like