Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Chapter 2 Quiz

Total questions: 75

Worksheet time: 40mins

Name
Class
Date
1.

In a client-server paradigm, a _______ program provides services to a (another) _______ program.

a)

client; client

b)

client; server

c)

server; client

d)

server; server

2.

In a client-server paradigm

a)

both the server and the client must be running all the time.

b)

both the server and the client need to be running only when they are needed.

c)

the server must be running all the time but the client needs to be running only when it is needed.

d)

the client must be running all the time but the server needs to be running only when it is needed

3.

The first section of a URL identifier is the __________.

a)

protocol

b)

path

c)

host

d)

port

4.

A _______ document is a fixed-content document that is created and stored in a server. The client can get a copy of the document only.

a)

static

b)

dynamic

c)

active

d)

None of the choices are correct

5.

_____________ is a language for creating a static document.

a)

Extensible Style Language (XSL)

b)

Hypertext Markup Language (HTML)

c)

Extensible Markup Language (XML)

d)

All choices are correct.

6.

A _______ document is created by a Web server whenever a browser requests the document.

a)

static

b)

dynamic

c)

active

d)

None of the choices are correct

7.

For many applications, we need a program or a script to be run at the client site. These are called _______________ documents.

a)

static

b)

dynamic

c)

active

d)

None of the choices are correct

8.

HTTP uses the services of ________.

a)

UDP

b)

IP

c)

TCP

d)

DNS

9.

In HTTP, the first line in a request message is called a _______ line; the first line in the response message is called the ________ line.

a)

request; response

b)

status; response

c)

status; status

d)

None of the choices are correct

10.

In a ___________ connection, one TCP connection is made for each request/response.

a)

persistent

b)

nonpersistent

c)

persistent or a nonpersistent

d)

None of the choices are correct

11.

In a ___________ connection, the server leaves the connection open for more requests after sending a response.

a)

persistent

b)

nonpersistent

c)

persistent or nonpersistent

d)

None of the choices are correct

12.

In HTTP, _______ server is a computer that keeps copies of responses to recent requests.

a)

a regular

b)

a proxy

c)

an auxiliary

d)

a remote

13.

An HTTP request message always contains _______.

a)

a header line and a body

b)

a request line and a header line

c)

a request line, a header line, and a body

d)

a request line, a header line, a blank line, and a body

14.

Which of the following is present in both an HTTP request line and a status line?

a)

version number

b)

URL

c)

status code

d)

method

15.

FTP uses the services of ________.

a)

UDP

b)

IP

c)

TCP

d)

none of the choices are correct

16.

In FTP, _________ well-known port(s) is (are) used.

a)

one

b)

two

c)

three

d)

four

17.

During an FTP session the control connection is opened _______.

a)

once

b)

twice

c)

many times

d)

none of the choices are correct

18.

During an FTP session the data connection may be opened _______.

a)

only once

b)

only two times

c)

as many times as needed

d)

none of the choices are correct

19.

In FTP, a file can be organized into records, pages, or a stream of bytes. These are types of an attribute called _______.

a)

file types

b)

data structures

c)

transmission modes

d)

none of the choices are correct

20.

In FTP, there are three types of _______: stream, block, and compressed.

a)

file types

b)

data types

c)

transmission modes

d)

none of the choices are correct

21.

In FTP, ASCII, EBCDIC, and image define an attribute called _______.

a)

file type

b)

data structure

c)

transmission mode

d)

none of the choices are correct

22.

In FTP, when we _______, it is copied from the client to the server.

a)

retrieve a file

b)

store a file

c)

open a file

d)

none of the choices are correct

23.

In the common scenario, the electronic mail system needs _________________________.

a)

two UAs, two MTAs and one MAA

b)

two UAs, two MTAs and two MAAs

c)

two UAs, two pairs of MTAs and a pair of MAAs

d)

two UAs, two pairs of MTAs and a two pairs of MAAs

24.

________ provides service to the user to make the process of sending or receiving a message easier.

a)

An MTA

b)

An MAA

c)

A UA

d)

None of the choices are correct

25.

An e-mail message contains the ________ and the __________.

a)

header; envelop

b)

header; body

c)

en

d)
26.

An e-mail message contains the ________ and the __________.

a)

header; envelop

b)

header; body

c)

envelop; body

d)

None of the choices are correct

27.

In the Internet, an e-mail address consists of two parts: a _______ and a _______.

a)

local part; domain name

b)

global part; domain name

c)

label; domain name

d)

local part; label

28.

_________ is a supplementary protocol that allows non-ASCII data to be sent through e-mail.

a)

SMPT

b)

MPEG

c)

MIME

d)

POP

29.

The formal protocol that defines the MTA client and server in the Internet is called ___________.

a)

SMTP

b)

SNMP

c)

TELNET

d)

SSH

30.

SMTP is a __________ protocol.

a)

pull

b)

push

c)

push and pull

d)

None of the choices are correct

31.

The message access protocol is a ________ protocol.

a)

pull

b)

push

c)

push and pull

d)

None of the choices are correct

32.

In the _______ encoding scheme, each 24 bits become four 6-bit chunks, and eventually are sent as 32 bits.

a)

8bit

b)

binary

c)

base64

d)

quoted-printable

33.

In the _______ encoding scheme, a non-ASCII character is sent as 3 characters.

a)

8bit

b)

base64

c)

quoted-printable

d)

binary

34.

TELNET is an abbreviation for ____________.

a)

terminal network

b)

telephone network

c)

telecommunication network

d)

None of the choices are correct

35.

When a user logs into a local time-sharing system, it is called ________ login.

a)

local

b)

remote

c)

local or remote

d)

None of the choices are correct

36.

When a user wants to access an application program or utility located on a remote machine, he or she performs ___________ login.

a)

local

b)

remote

c)

local or remote

d)

None of the choices are correct

37.

Network Virtual Terminal (NVT) uses two sets of characters, one for _____ and one for ________.

a)

sending; receiving

b)

request; reply

c)

data; control

d)

None of the choices are correct

38.

For data, NVT uses US ASCII characters with the highest order bit set to ______.

a)

1

b)

0

c)

1 or 0

d)

None of the choices are correct

39.

For control, NVT uses US ASCII characters with the highest order bit set to ______.

a)

1

b)

0

c)

1 or 0

d)

None of the choices are correct

40.

The _______ translates local characters into NVT characters.

a)

terminal driver

b)

TELNET client

c)

TELNET server

d)

pseudoterminal driver

41.

The _______ translates NVT characters into a form acceptable by the remote operating system.

a)

terminal driver

b)

TELNET client

c)

TELNET server

d)

pseudoterminal driver

42.

The _________ component in the SSH provides confidentiality, integrity, authentication and compression.

a)

SSH Application

b)

SSH-AUTH

c)

SSH-CONN

d)

SSH-TRAN

43.

Port forwarding is ____________________________.

a)

a protocol used to forward messages from one port to another port

b)

a procedure for changing an ephemeral port to a well-known port

c)

a service, provided by SSH, that creates a secure channel for applications that do not have security services.

d)

None of the choices are correct

44.

In a _______ name space, a name is a sequence of characters without structure.

a)

linear

b)

flat

c)

hierarchical

d)

organized

45.

In a _________ name space, each name is made of several parts.

a)

linear

b)

flat

c)

hierarchical

d)

organized

46.

In the DNS, the names are defined in ___________ structure.

a)

a linear list

b)

an inverted-tree

c)

a three-dimensional

d)

None of the choices are correct

47.

The root of the DNS tree is _______.

a)

a string of 127 characters

b)

a string of 63 characters

c)

a string of 15 characters

d)

an empty string

48.

In the domain name space, a full domain name is a sequence of labels separated by ________.

a)

colons

b)

semicolons

c)

dots

d)

commas

49.

In the domain name space, if a label is terminated by a null string, it is called a ________.

a)

PQDN

b)

CQDN

c)

SQDN

d)

None of the choices are correct

50.

In the domain name space, if a label is not terminated by a null string, it is called a ________.

a)

FQDN

b)

PQDN

c)

SQDN

d)

None of the choices are correct

51.

In the domain name space, a _________ is a subtree of the domain name space.

a)

label

b)

name

c)

domain

d)

None of the choices are correct

52.

In the domain name space, what a server is responsible for or has authority over is called a ________.

4 lines
53.

In the domain name space, what a server is responsible for or has authority over is called a _________.

a)

domain

b)

label

c)

zone

d)

None of the choices are correct

54.

A _______ server is a computer whose zone system consists of the whole tree.

a)

domain

b)

zone

c)

root

d)

primary

55.

A ________ server is a computer that stores a file about the zone for which it has an authority.

a)

primary

b)

secondary

c)

zone

d)

root

56.

A ________ server is a computer that transfers the complete information about a zone from another server.

a)

primary

b)

secondary

c)

zone

d)

root

57.

In the Internet, the country domain section uses ___________ country abbreviations.

a)

two-character

b)

three-character

c)

four-character

d)

None of the choices are correct

58.

In __________ resolution, the resolver expects the server to supply the final answer.

a)

iterative

b)

recursive

c)

straight

d)

None of the choices are correct

59.

In __________ resolution, the server returns the IP address of the server that it thinks can resolve the query.

a)

iterative

b)

recursive

c)

straight

d)

None of the choices are correct

60.

DNS can use the services of ________.

a)

UDP

b)

TCP

c)

either UDP or TCP

d)

None of the choices are correct

61.

A registrar, a commercial entity accredited by ________ is responsible for adding new domains to DNS data base

a)

NIC

b)

ICANN

c)

ISOC

d)

IEFE

62.

In a centralized P2P network, the directory system uses the ________ paradigm; the storing and downloading of the files are done using __________ paradigm.

a)

client-server; client-server

b)

peer-to-peer; client-server

c)

client-server; peer-to-peer

d)

peer-to-peer; peer-to-peer

63.

Napster is an example of a ____________ peer-to-peer network

a)

centralized

b)

structured-decentralized

c)

unstructured-decentralized

d)

None of the choices are correct

64.

Gnutella is an example of a ____________ peer-to-peer network

a)

centralized

b)

structured-decentralized

c)

unstructured-decentralized

d)

None of the choices are correct

65.

BitTorrent is an example of a ____________ peer-to-peer network

a)

centralized

b)

structured-decentralized

c)

unstructured-decentralized

d)

None of the choices are correct

66.

In a structured-decentralized P2P network, ________________.

a)

the directory system is kept in a center

b)

a query to find a file must be flooded through the network

c)

a pre-defined set of rules is used to link nodes so that a query can be effectively and efficiently resolved

d)

None of the choices are correct

67.

In a DHT-based network, each peer

a)

has a partial knowledge about the whole network.

b)

has a complete knowledge about the whole network.

c)

only has a knowledge about its successor.

d)

None of the choices are correct

68.

The finger table is the routing table used in ______________.

a)

Gnutella

b)

Pastry

c)

Kademlia

d)

None of the choices are correct

69.

Which of the following is not a Chord interface.

a)

Lookup

b)

Fix node

c)

Stabilize

d)

Join

70.

In __________ a key is stored in a node whose identifier is numerically closest to the key.

a)

Chord

b)

Pastry

c)

Kademlia

d)

None of the choices are correct

71.

To resolve a query, _________ uses two entities: a routing table and a leaf set.

a)

Chord

b)

Pastry

c)

Kademlia

d)

None of the choices are correct

72.

In Kademlia, the distance between the two identifiers (nodes or keys) are measured as the bitwise-___________ between them.

a)

AND

b)

NOR

c)

OR

d)

None of the choices are correct

73.

In ________, nodes and data items are m-bit identifiers that create an identifier space of 2m points distributed at the leaves of a binary tree

a)

Chord

b)

Pastry

c)

Kademlia

d)

None of the choices are correct

74.

In Kademlia, each node in the network divides the binary tree into m subtrees that.

a)

include the node itself

b)

do not include the node itself

c)

include the node itself and the successor node

d)

None of the choices are correct

75.

Trackerless BitTorrent uses __________ DHT to do the job of tracking.

a)

Chord

b)

Pastry

c)

Kademlia

d)

None of the choices are correct