Examen 2 P2 Flashcards

1
Q

Message passing between a pair of processes can be supported by two message communication
operations:

A

Send and receive operations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In this form of communication, the use of the send operation is non-blocking, the receive operation can
have blocking and non-blocking variants

A

the asynchronous communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

We can describe this as the guaranteed to be deliver the message despite a reasonable number of
packets being dropped or lost.

A

Reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Both forms of communication (UDP and TCP) use _________, which provides an endpoint for
communication between processes

A

the socket abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In this form of communication, the sending and receiving processes synchronize at every message. In
this case, both send and receive are blocking operations.

A

the synchronous communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Any process may make use of multiple of this elements to receive messages, but a process cannot share
them with other processes on the same computer

A

Ports

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The internet protocols, and the local port pairs define the:

A

Message destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This consist of transmitting a message between a socket in one process and a socket in another process.

A

Interprocess communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

is sent by UDP is transmitted from a sending process to a receive process without acknowledgement or
retries.

A

A datagram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Messages may be dropped occasionally, either because of a checksum error or because no buffer space
is available at the source or destination is’s called:

A

Omission failure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This defines reliable communication in terms of two properties: integrity and validity.

A

Failure model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This was oeiginated from BSD 4.x UNIX, provides the abstraction of a stream of bytes to which data may
be written and from which data may be read.

A

The API to the TCP protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This assume that when a pair of processes are establishing a connection, one of them plays the client
role and another plays the server role, but thereafter they could be peers.

A

The API for stream communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The TCP protocol attempts to match the speeds of the processes that read from and write to a stream,
this is called:

A

Flow control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

These items transmitted in messages can be data values of many different types, and not all computers
store primitive values such as integers in the same order.

A

The individual primitive data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The TCP protocol uses an acknowledgement scheme. If the sender does not receive an
acknowledgement with a time out, it retransmits the message and this is performed when:

A

There is lost messages

17
Q

This is the process of taking a collection of data items and assembling or disassembling (respectively)
into a form suitable for transmission in a message.

A

Marshalling and Unmarshalling

18
Q

They are three alternative approaches to external data representation.

A

XML, CORBAS’s, Java’s object serialization

19
Q

The first was designed for defining the appearance of web pages. the second one was designed for
writing structured documents for the Web

A

HTML and XML

20
Q

They are tagged with ‘markup’ strings. The tags are used to describe the logical structure of the data and
to associate attribute-value pairs with logical structures.

A

XML data items

21
Q

XML is ________ in the sense that users can define their own tags, in contrast to HTML, which uses a
fixed set of tags

A

Extensible

22
Q

This is a markup language that was defined by the World Wide Web Consortium (W3C) for general use
on the Web.

A

XML

23
Q

The structure of an XML document is defined by pairs of these elements enclosed in angle brackets.

A

Tags

24
Q

They define the name of values associate to tags in XML schemes.

A

XML Attributes

25
Q

This is used to enable clients to communicate with web services and for defining the interfaces and
other properties of web services.

A

XML - service

26
Q

All of the information in XML elements must be expressed as character data.
But the question is: how do we represent encrypted elements or secure hashes?

A

Binary data

27
Q

Every start tag has a matching end tag and all tags are correctly nested these are?

A

Basic rules of XML

28
Q

Every XML document must have this as its first line and must at least specify the version of XML in use
(Which is currently 1.0)

A

A prolog

29
Q

This is a set of names for a collection of element types and attributes that is referenced by a URL.

A

XML namespace

30
Q

This defines the elements and attributes that can appear in a document, how the elements are nested
and the order and number of elements, and whether an element is empty or can include text.

A

XML schema

31
Q

This protocol is based on a trio of communication primitives: doOperation, getRequest and sendReplay.

A

The request-replay protocol

32
Q

This scheme involves the management of messages requires that each message have a unique message
identifier by which it may be referenced.

A

Message Identifiers

33
Q

As its name indicates, it is a mechanism to call a procedure or a function available on a remote
computer.

A

Remote Procedure Call (RPC)

34
Q

This uses the HTTP protocol to pass information from a client computer to a server computer and uses a
small XML vocabulary to describe the nature of requests and responses.

A

XML- RPC parameters

35
Q

This specifies a procedure name and parameters in the XML request, and the server returns either a
fault or a response in the XML response

A

XML – RPC client

36
Q

Data model , request structures and response structures are parts of

A

XML - RPC

37
Q

They are a simple list of types and content - structs and arrays are the most complex types available

A

XML - RPC structure