4: Clients and Servers Flashcards

1
Q

What is an IP address ?

A

A numerical label assigned to each device.

  • IPv4: 4 integers, 32 bit
  • IPv6: 6 ints, 128 bit

Function:

  • Host identification
  • Location addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a port ?

A

An abstract gate for data to a computer.

Port 7: ECHO
Port 21: FTP
Port 80: HTTP

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

What is a socket ?

A

A pair (IP address, port number) which is enough for a communication via TCP/IP.

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

Given an example of a domain ?

A

machine1.csc.liv.ac.uk

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

Give examples of top level domains ?

A
  • com: commercial company
  • edu: educational institution
  • gov: government organisation
  • org: other organisation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Difference between client and server ?

A
  • Client is a computer that requests some advice, server is a computer that provides this service.
  • Can be hardware devices or software programs.
  • Computer can be a client at a time, then a server at another.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give 4 advantages of the client-server model ?

A
  • Openness: devices may run different OSs
  • Scalability: many computers can be connected
  • Specialisation: servers can be optimised for particular tasks
  • Reliability: duplicate servers can readily replace faulty machines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Types of servers ?

A
  • File server: provides files for clients
  • Database server: store large data collections
  • Groupware server: organises the work of a group of people
  • Web sever: stores components of web-pages and is accessed by a client’s web-browser
  • Mail server: retrieves, stores, sends emails
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Architecture of client-server systems?

A

2 layers:

  • Presentation and logic tier: manipulates and displays the data
  • Data tier: holds the data for an application (eg relational DB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Middleware functionality examples?

A
  • Detecting/correcting errors in transmission

- Interacting with lower-level protocols

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