You are on page 1of 4

DISTRIBUTED SYSTEM-CCS21303/TCS21004

ASSIGNMENT 2
DISTRIBUTED SYSTEM

INSTRUCTION:
1. Report MUST contain minimum pages of 5 and maximum of 10.
2. Each student is required to submit an individual written report that
consists of Content, Conclusion and References
3. Mode: Individual
4. Submission in the form of written report (Hard Copy)
5. Date of Submission: 30 March 2018

** If you have any difficulties in submitting the assignment


according to the date given, please come and discuss with me.
DISTRIBUTED SYSTEM-CCS21303/TCS21004

Task 1: ANSWER ALL QUESTIONS:

1. Compare connectionless (UDP) and connection-oriented (TCP)


communication for the implementation of each of the following
application-level or presentation-level protocols:

(a) Virtual terminal access (for example, Telnet).


(2 marks)

(b) File Transfer (for example, FTP).


(2 marks)

(c) User location (for example, rwho, finger).


(2 marks)

(d) Information browsing (for example, HTTP).


(2 marks)

(e) Remote procedure call.


(2 marks)

2. Hyper Text Transmission Protocol (HTTP) is a simple protocol


that can be implemented with small footprint which can be used
in different types of content transfer and other types of services.

(a) Given an example of an HTTP Uniform Resource Locator


(URL).
(6 marks)

(b) List the THREE (3) main components of an HTTP URL,


stating how their boundaries are denoted and illustrating
each one from your example.
(6 marks)

(c) To what extent is a URL location transparent?


(8 marks)

3. Discuss the invocation semantics that can be achieved when the


request-reply protocol is implemented over a TCP/IP connection,
DISTRIBUTED SYSTEM-CCS21303/TCS21004

which guarantees that data is delivered in the order sent, without


loss or duplication.
{Note: Take into account all of the conditions causing a connection
to be broken}

(10 marks)

4. Remote Method Invocation (RMI) is a mechanism that allows


one to invoke a method on an object that exists in another
address space. The other address space could be on the same
machine or a different one. Briefly describe the following with
respect to RMI software architecture:

(a) Proxy.
(2 marks)

(b) Dispatcher.
(2 marks)

(c) Skeleton.
(2 marks)

(d) Binder.
(2 marks)

(e) Activator.
(2 marks)
DISTRIBUTED SYSTEM-CCS21303/TCS21004

Distributed Systems

ASSIGNMENT 2

Received Date : 26/02/2018

Submission Date : 30/03/2018

Weightage : 20 %

Semester : Feb 2018

Lecturer : Dr. Rabab A. Abbas

Instruction to students:

 This is Individual assignment.


 Complete this cover sheet and attach it to your assignment (first page).

Student declaration:
I declare that:
 This assignment is my own work
 I understand what is meant by plagiarism
 My lecturer has the right to deduct my marks in the case of:
- Late submission
- Any plagiarism found in my assignment.
Name Student ID

Total
MARKS:
Task 1 /100

You might also like