CS2005 Exam Revision

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

1/302

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

303 Terms

1
New cards

What is the internet?

The internet is a computer network which interconnects billions of devices throughout the world.

2
New cards

How are end systems connected together?

End systems are connected together though a network of communication links and packet switches

3
New cards

Can different links transmit data at different rates?

Yes

4
New cards

How is the Transmission Rate of a link measured?

The Transmission Rate of a link is measured in bits/seconds

5
New cards

What happens once an End-System has data to send to another End-System?

The sending End-System segments the data and adds header byes to each segment

6
New cards

How do you get Packets?

The sending End-System segments data and adds header byes to each segment which results in packages of information called Packets

7
New cards

What are Packets?

Packages of information which we call Packets

8
New cards

What happens when you create packets?

The packets are then sent through the network to their end destination (The End-System) where they can be assembled back into the original data.

9
New cards

What is a Packet Switch?

A packet switch takes a packet arriving on one an incoming communication link and forwards that packet on one an outgoing communication links

10
New cards

What is the process for sending Data?

When an End-System has data to send to another End-System the Sending End-System segments the data and adds header bytes to each segment.

This creates packets.

The packets are then sent through the network to their end destination where they will be assembled back into the original data.

11
New cards

What are the two main types of Packet Switches?

Routers & Link-Layer Switches

12
New cards

What do packet switches do?

Forward their packets towards their end destination

13
New cards

Where are Link-Layer Switches usually used?

In Access Networks

14
New cards

Where are Routers typically used?

In the core of the Network

15
New cards

What is a Route / Path?

It is the sequence of Communication Links & Packet Switches taken by a packet from the sending End-System to the receiving End-System

16
New cards

What are Packet-Switched Networks?

They transport packets.

17
New cards

What is another way for thinking of Packet-Switched Networks

They are like transportation networks like highways or roads.

Packets => Trucks

Communication Links => Highways & Roads

Packet Switches => Intersections

End Systems => Buildings

Just like a truck travels through a transportation network, a packet takes a path through a computer network

18
New cards

How do End-Systems access the internet?

Through Internet Service Providers (ISPs)

19
New cards

What does an ISP consist of?

Each ISP is in itself is a network of packet switches and communication links

20
New cards

What are the types of network access ISPs provide?

1. Residential broadband access:

a) Cable Moden

b) DSL

2. High Speed Local Area network Access

3. Mobile Wireless Access

21
New cards

What do ISPs do?

ISPs give internet access to content providers, by connecting websites and video servers directly to the internet.

22
New cards

Do ISPs need to be interconnected?

Yes.

Since the internet is all about connecting end systems to each other, ISPs that provide access to End-Systems must also be interconnected.

23
New cards

How are lower-tier ISPs connected?

Lower Tier ISPs are interconnected through national and international upper-tier ISPs

24
New cards

What are upper-tier ISPs made up of?

An upper tier ISP is made up of high speed routers interconnected by high-speed fibre optic links.

25
New cards

How does is an ISP managed & what does it run?

Each ISP network whether it is upper tier or lower tier, is managed independently and runs the IP Protocol

26
New cards

What are some examples of communication links?

Communication Links:

Coaxial Cable

Cable Wire

Optical Fibre

Radio, Satellite

27
New cards

What do protocols do in simple terms?

They control the transmission of information

28
New cards

What are some examples of protocols?

TCP

TP

HTTP

SMTP

802.11

29
New cards

What do protocols all need to adhere to and why?

All protocols need to adhere to the Internet Standards, in order to make sure that all protocols can talk to each-other.

30
New cards

What do End-Systems provide for applications?

End Systems provide programming interfaces to applications (Socket Interface)

31
New cards

What is a protocol?

A protocol is a set of rules which define the format and the order of messages that are exchanged between two or more communicating entities, as well as the actions which are taken on transmission and/or receipt of a message or other event

32
New cards

Give some examples of the pieces which make up a Network

Protocols

Hardware

Routers

Hosts

Software

Applications

33
New cards

What are the 7 ways through which a network is organised?

Application

Presentation

Session

Transport

Network

Link

Physical

34
New cards

How does the Application Layer help Organise a Network?

By supporting Network Applications

35
New cards

Give some examples of the Application Layer

FTP, SMTP, HTTP

36
New cards

How does the Presentation Layer help Organise a Network?

It allows applications to interpret the meaning of data

Though it only happens in the ISO/OSI Models and NOT in the internet protocol stack

37
New cards

Give some examples of the Presentation Layer

Encryption

Compression

38
New cards

How does the Session Layer help Organise a Network?

It synchronises checkpointing and the recovery of data exchange,

Though this only happens in the ISO/OSI model and NOT in the internet protocol stack

39
New cards

How does the Transport Layer help Organise a Network?

It covers Process <-> data transfer

40
New cards

Give some examples of the Transport Layer

TCP & UDP

41
New cards

How does the Network Layer help Organise a Network?

It helps with the routing of datagrams from the source to destination

42
New cards

Give some examples of the Network Layer

IP, Routing, Protocols

43
New cards

How does the Link Layer help Organise a Network?

It handles the data transfer between neighbouring network elements

44
New cards

Give examples of the Link Layer

Ethernet, 802.11 (wifi), PPP

45
New cards

How does the Physical Layer help Organise a Network?

It's the actual bits 'on the wire'

46
New cards

What does the internet protocol stack look like?

1. Application

2. Transport

3. Network

4. Link

5. Physical

47
New cards

What does the ISO/OSI reference model look like?

1. Application

2. Presentation

3. Session

4. Transport

5. Network

6. Link

7. Physical

48
New cards

What are Network Applications?

Network applications are programs that run on different end-systems and communicate with eachother over the network

49
New cards

Give an example of a Network Application use

Web Applications

50
New cards

When developers write software for network applications, who do they write the software for?

Developers who write network applications write software which will run on End-Systems, however they don't need to write code for network core devices

51
New cards

Give some examples of Network Core Devices

Routers, Switches

52
New cards

What are the two main types of Network Applications?

Client / Server

Peer - to - Peer

53
New cards

What is a process?

A program while executing is called a Process

54
New cards

How do processes communicate?

Processes communicate within the same host using Inter-Process

Communication which is defined by the OS

55
New cards

Who is the Client in the context of a communication session between processes?

In the context of a communication session between a pair of processes, the process that initiate communication is called the client.

56
New cards

What is the definition of the client

The one who initially contacts the other process at the beginning of the session

57
New cards

Who is the Server in the context of a communication session between processes?

The process which waits to be contacted to the begin the session is known as the server

58
New cards

In P2P architectures, do End-Systems both have client & server processes?

Yes

59
New cards

What is a socket?

The interface between the process and the network is called a socket

A Socket is the software interface between the application layer and the transport layer

It's also called the Application Programming Interface (API) between the application and the network

60
New cards

On the internet, how is the host identified?

By the host's IP Address

61
New cards

How is a process identified?

By a port number

More specifically, it's the receiving port

62
New cards

How does a Client / Server work?

You have an always-on host which is called the server, this takes requests from multiple hosts which we call clients

63
New cards

Do clients communicate directly with each other in a Client / Server architecture?

No, clients don't communicate with eachother directly, it's always through the host

64
New cards

In a Client / Server network does the server have a fixed address?

Yes! The server has a fixed address known as an IP-Address

65
New cards

In a Client / Server network where do servers usually live and why?

Servers usually live in data centres so they're easier to scale up or down

66
New cards

What is encapsulation?

Encapsulation is a method for designing modular communication protocols where logically separate functions in the network are abstracted from their underlying structures by:

Inclusion or information hiding within higher objects

67
New cards

Do you need an Always-On-Server in P2P networks? (explain why)

You don't have an always-on server, end systems also known as peers communicate directly to other peers to request / provide service to other peers

68
New cards

Are P2P networks self-scaling?

Yes! P2P networks self scale since new peers bring new service capacity and demand

69
New cards

How are peers connected in a P2P network and does they're IP Address change?

Peers are intermittently connected and they change IP Addresses

70
New cards

What is the structure and management of a complex management like in a P2P network?

P2P networks have a decentralised structure and a complex management

71
New cards

What transport services does an App need?

Data integrity

Throughput

Timing

Security

72
New cards

Why does an App need Data Integrity as part of it's Transport Services?

Some apps (like file transfer, web transactions) require 100% reliable data transfer, other apps (like audio) can tolerate some loss

73
New cards

Why does an App need Throughput as part of it's Transport Services?

Some apps (like multimedia) require a minimum amount of throughput to be "effective", other apps ("Elastic Apps" like email, web) make use of whatever throughput they get

74
New cards

Why does an App need Timing as part of it's Transport Services?

Some apps (E.g: Internet telephony, interactive games) require low delay to be "effective"

75
New cards

Why does an App need Security as part of it's Transport Services?

Can provide encryption, data integrity, end point authentication, etc

76
New cards

What transport services are provided by the internet?

TCP Services & UDP Services

77
New cards

What TCP Services are provided/not provided by the internet?

Reliable Transport, Flow Control, Congestion Control

It doesn't provide: Timing, Minimum Throughput Guarantee, Security

Connection-Orientated: Set-up between client & server processes is required

78
New cards

What UDP Services are provided/not provided by the internet?

Unreliable data transfer between the sending & receiving process

It doesn't provide: Reliability, Flow Control, Congestion Control, Timing, Throughput Guarantee, Security, Connection Setup

79
New cards

What is HTTP? and what port does it use?

Hypertext Transfer Protocol (HTTP), the web's application layer protocol, it uses port 80

80
New cards

What does a webpage consist of and how can you access them

A web page consists of different objects and the base HTML-File includes multiple references to these objects, each object is addressable by a URL

81
New cards

What type of protocol is HTTP?

HTTP is a client/server protocol, where the client usually sends a browser request which it then receives and "displays" web objects

82
New cards

What does HTTP use as it's underlying protocol?

TCP

83
New cards

How does HTTP use TCP as its underlying transport protocol?

The HTTP Client first initiates a TCP connection with the server

Once the connection is established, the browser processes and the server processes access TCP through their socket interfaces

84
New cards

With a web server what does a client send and receive?

- The client sends HTTP request messages and receives request messages and sends response messages

85
New cards

What are the two types of HTTP connections?

Persistent & Non-Persistent

86
New cards

What is a Persistent HTTP connection?

Where multiple objects can be sent over single TCP connection

87
New cards

What is a Non-Persistent HTTP connection?

Where at most one object is sent over a TCP connection and then the connection is closed requiring multiple connections to downloading multiple objects

88
New cards

What is the Round-Trip Time (RTT)

What does this include?

It's the time it take s 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

89
New cards

What is the time needed to request a HTML file (roughly) in RRTs

The time needed to request and receive an HTML file (roughly) is 2RTTs + the file transmission time.

90
New cards

What are the two types of HTTP Messages?

There two types of HTTP messages. Request message and response message.

91
New cards

Why does HTTP use cookies?

Because a HTTP server is stateless, usually it's useful that the server keeps the session state information, which is why HTTP uses cookies

92
New cards

What are the four components of a HTTP Cookie?

1. a cookie header line in the HTTP response message

2. a cookie header line in the HTTP request message

3. a cookie file kept on the user's end system and managed by the user's browser

4. a back-end database at the Web site.

93
New cards

What is a Web Cache?

A web cache satisfies HTTP requests on behalf of an origin Web server, it's both a client (to the original server) and a server (to the client)

94
New cards

What does Web Caching reduce and why?

The response time and network traffic

Because it's an access link to the internet

95
New cards

What does a web cache do?

A web cache stores a copy of a requested object in its local storage and sends a copy to the client browser.

96
New cards

What does HTTP use to avoid 'stale data'?

To avoid stale data, HTTP uses conditional GET manifested by the 'If-Modified-Since:' and 'Last-Modified:' header lines.

97
New cards

What are the three major components of email?

User Agents

Mail Servers

SMTP (Simple Mail Transfer Protocol)

98
New cards

What are User Agents when it comes to email?

User agents: They compose, edit, read and save (outgoing, incoming messages stored on server) mail messages.

99
New cards

What are Mail Servers when it comes to email?

Mail servers: They have a mailbox ( for incoming messages), a message queue (outgoing messages) and an SMTP implementation.

100
New cards

What is SMTP?

Simple Mail Transfer Protocol (SMTP): This is a protocol between mail servers to send email messages

Client: sending email messages

Server: receiving email messages