cs2005 question 1 revision

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/63

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:48 PM on 11/18/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

64 Terms

1
New cards

Application Layer

sends the message/data - supporting network applications (FTP, SMTP, HTTP)

2
New cards

Transport Layer

receive the data from the application, divide it into smaller pieces called packets, add a destination address, and then pass the packets along to the next protocol layer (TCP, UDP)

3
New cards

Network Layer

routing of datagrams from source to destination - encloses the packet in an Internet Protocol (IP) datagram, puts in the datagram header and trailer, decides where to send the datagram (either directly to a destination or else to a gateway) (IP, routing protocols)

4
New cards

Link Layer

data transfer between neighbouring elements - accepts IP datagrams and transmits them as frames over a specific network hardware, such as Ethernet or Token-Ring networks (Ethernet, Wifi, PPP)

5
New cards

Physical Layer

the actual hardware and wire

6
New cards

Data

Packets/Segments (transport), Datagrams (network), Frame (link)

7
New cards

ISO/OSI reference model

Presentation and Session come after application

8
New cards

Layers of ISO/OSI reference model

Application, Presentation, Session, Transport, Network, Data Link, and Physical

9
New cards

Presentation Layer

Allow applications to interpret the meaning of data e.g. encryption

10
New cards

Session Layer

synchronisation, checkpointing, recovery of data exchange

11
New cards

Bandwidth

Transmission rate measured in bits per second

12
New cards

Packet Switches

forward packets (chunks of data). Routers and switches

13
New cards

Internet

network of networks - interconnected ISPs

14
New cards

Protocols

control the sending, and receiving of messages e.g. TCP, ICP, SMTP etc

15
New cards

Internet Standards

established through RFC - Request For Comments, Governed by IETF - Internet Engineering Task Force

16
New cards

Infrastructure

provides services to applications: Web, VoIP, email, etc

17
New cards

Programming Interface

hooks that allow sending and receiving app programs to connect to the internet

18
New cards

Service Options

analogous to postal service

19
New cards

Message Transmission

Protocols define format, order of messages sent and received among network entities and action taken on message transmission receipt

20
New cards

Client to Server

Server is always on-host, has a permanent IP and has data centres for scaling. Clients must communicate with the server, may be intermittently connected, may have dynamic IP addresses and do not communicate directly with each other

21
New cards

Peer to Peer

no always-on server, arbitrary end systems directly communicate, peers request service from other peers and provide service

22
New cards

Peers

are intermittently connected and change IP addresses

23
New cards

Process

a program running within a host

24
New cards

Client process

a process that initiates communication

25
New cards

Server process

a process that waits to be contacted

26
New cards

Socket

serve as endpoints for sending and receiving messages, analogous to a door for sending process to shove message out

27
New cards

Transport infrastructure

delivers the message to the socket at the receiving process

28
New cards

Identifier

to receive messages, the process must have an identifier

29
New cards

IP address

host device has a unique 32-bit IP address

30
New cards

Port numbers

associated with the process on host, e.g. HTTP server: 80, mail server: 25

31
New cards

App-layer protocol

defines types of messages exchanged, e.g. request, response

32
New cards

Message syntax

what fields in messages & how fields are defined

33
New cards

Message semantics

meaning of info in fields

34
New cards

Open protocols

defined in RFCs, allows for interoperability, e.g. HTTP, SMTP

35
New cards

Proprietary protocols

e.g., Skype

36
New cards

Data integrity

some apps require 100% reliable data transfer

37
New cards

Timing

some apps require low delay to be effective

38
New cards

Throughput

some apps require a minimum amount of throughput to be effective

39
New cards

Security

encryption, data integrity

40
New cards

TCP service

reliable transport between sending and receiving process

41
New cards

Flow control

sender won't overwhelm receiver

42
New cards

Congestion control

throttle sender when network overloaded

43
New cards

Connection-oriented

setup required between client and server processes

44
New cards

UDP service

unreliable data transfer between sending and receiving process

45
New cards

Securing TCP

TLS/SSL provides encrypted TCP connection, data integrity, end-point authentication

46
New cards

HTTP Overview

HTTP is a client/server protocol where the client requests, receives and displays Web objects

47
New cards

Non-persistent HTTP

At most one object is sent over a TCP connection and then the connection is closed. Requires multiple connections to download multiple objects.

48
New cards

Persistent HTTP

Multiple objects can be sent over a single TCP connection.

49
New cards

Example of Non-persistent HTTP

Transferring a Web page from server to client. The page consists of a base HTML file and 10 JPEG images and all 11 objects reside on the same server.

50
New cards

Round-trip time (RTT)

The time it takes for a small packet to travel from client to server and then back to the client including delays: packet-propagation delays, packet queuing delays in intermediate routers and switches, and packet-processing delays.

51
New cards

HTTP response time for TCP connection

1 RTT.

52
New cards

HTTP response time for file request + response

1 RTT.

53
New cards

Non-persistent HTTP response time

2 RTT plus file transmission time (roughly).

54
New cards

Persistent HTTP connection behavior

The server leaves the connection open after sending the response message. Subsequent HTTP messages between the same client/server are sent over the open connection.

55
New cards

User-server state: cookies

An HTTP server is stateless, but it is useful for the server to keep session state information to identify users and restrict access.

56
New cards

Components of an HTTP cookie

A cookie header line in the HTTP response message, a cookie header line in the HTTP request message, a cookie file kept on the user's end system and managed by the user's browser, and a back-end database on the Web site.

57
New cards

Web cache (proxy server)

A web cache satisfies HTTP requests on behalf of an origin Web server. It is both a client (to the original server) and a server (to the client).

58
New cards

Benefits of web caching

Reduces response time and network traffic (access link to the Internet).

59
New cards

Conditional GET in HTTP

Manifested by the If-Modified-Since: and Last-Modified: header lines to avoid stale data.

60
New cards

Components of Electronic Mail

User agents, mail servers, and Simple Mail Transfer Protocol (SMTP).

61
New cards

User agents

Compose, edit, read and save outgoing and incoming mail messages.

62
New cards

Mail servers

Have a mailbox for incoming messages, a message queue for outgoing messages, and an SMTP implementation.

63
New cards

Simple Mail Transfer Protocol (SMTP)

Protocol between mail servers to send email messages using TCP for reliable email transfer and port 25.

64
New cards

SMTP phases of transfer

Handshaking (greeting), transfer of messages, and closure.