Customised Socket - Distributed Objects - Past Exam, Exams of Computer Architecture and Organization

Main points of this exam paper : Observer Pattern, Programming Model, Observer Pattern, Customised Socket, Statements, Classes, Essential, Comments, Reference Number, Credit Card Number

Typology: Exams

2012/2013

Uploaded on 03/24/2013

anchal
anchal 🇮🇳

4.6

(9)

95 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Autumn Examinations 2011/12
Module Title: Distributed Objects
Module Code: SOFT8007
School: School of Science and Informatics
Programme Title: Bachelor of Science (Honours) in Software Development
Programme Code: KSDEV_8_Y4
External Examiner(s): Ms Deirdre Lawless
Internal Examiner(s): Mr. Denis Long
Instructions: Answer Q1 and two other questions questions.
Duration: 2 Hours
Sitting: Autumn 2012
Requirements for this examination: Answer Q1 and two other questions questions.
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the
correct examination paper.
If in doubt please contact an Invigilator.
pf3
pf4

Partial preview of the text

Download Customised Socket - Distributed Objects - Past Exam and more Exams Computer Architecture and Organization in PDF only on Docsity!

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Autumn Examinations 2011/

Module Title: Distributed Objects

Module Code: SOFT

School: School of Science and Informatics

Programme Title: Bachelor of Science (Honours) in Software Development

Programme Code: KSDEV_8_Y

External Examiner(s): Ms Deirdre Lawless Internal Examiner(s): Mr. Denis Long

Instructions: Answer Q1 and two other questions questions.

Duration: 2 Hours

Sitting: Autumn 2012

Requirements for this examination: Answer Q1 and two other questions questions.

Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination paper. If in doubt please contact an Invigilator.

Q1. a) Describe the Observer Pattern. ( 10 Marks)

b) What programming model best describes using the observer pattern? ( 3 Marks )

c) Give two examples where the observer pattern could be used and why it is needed. ( 4 Marks )

d) Give a Java RMI code to implement the Observer pattern. (15 Marks)

Q2. a) What is meant by the term Customised Socket? (5 Marks)

b) Give two examples when you might want to customize a socket (or types of Sockets). (6 Marks) c) Give an example code to implement a Customised Socket. Full java programs not essential, but you do need to give the main statements/classes altered, along with comments about what is going on. (23 Marks)

Q4. a) When RMI was used first it was limited to using just java programs. This has changed, RMI can now interact with other systems/languages. Name one of these systems and the protocol(s) that allows this to happen? (5 Marks) b) Why is it sometimes better in terms of execution times to distribute an application? Give an example. (4 Marks)

c) What is the motivation for having services provided by multiple servers in a distributed system? (4 Marks)

d) Describe and give an example of the basic request reply protocol. (4 Marks)

e) Describe the three basic RPC semantics? Which is the preferred semantic? (6 Marks)

f) What is meant by the term Client-Server architecture? Describe this architecture. (6 Marks)

g) What is meant by the term “Blocking-call”? Give an example of a blocking call using RMI. How might this be avoided? (5 Marks)