13a The Internet Flashcards

1
Q

What is the internet?

A

A wide area network connecting smaller networks around the globe together using established protocols.

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

What is an intranet?

A

A private network within an organization. Operating using World Wide Web technology.
E.g. the school timetable login

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

What is an extranet?

A

Extranets are intranets that can be partially accessed by external organizations allowing closely related businesses access.

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

What is a URL?

A

Uniform Resource Locators are strings of characters that refer to the location of an internet source.

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

How is the domain name (URL) below split up?
http://www.bbc.org.uk/index.html

A

http - protocol used to transfer information
www - third level/sub domain indicates the type of server being connected to
bbc - second level domain/domain name
org.uk - top level domain indicates country registered to and company type
index.html - page/path

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

What is an IP address?

A

When joining a network the device is assigned an IP address not being used in that network. When it leaves, that IP becomes available again.

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

What are the two different forms of IP?

A

IPv4 - 4 8 bit digits e.g. 234.57.255.123
IPv6 - 6 8 bit digits

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

Why is IPv6 needed?

A

We ran out of combination of IPv4 so an extra 16 bits were added allowing for a possible 2^48 different combinations.

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

What is a DNS?

A

A domain name server holds a database of URLs and the corresponding IP.

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

If the DNS cannot map a domain name what happens?

A

The domain name is sent to other nearby servers until it is mapped to an IP.

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

Why aren’t DNS’ always required?

A

The address may be stored locally if regularly accessed.
If the IP is entered directly.
If the URL refers to a resource stored locally.

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

What port is used for websites?

A

Port 80

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

What is a port?

A

Ports allow the device to tell which application should handle the data being received. Each port has a unique number to identify it. They are the points at which data is transferred

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

What do port scanners check?

A

If the port is open
If the port is filtered
This is done by sending a request to the port and seeing its response

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

What is SSH?

A

Secure shell protocol allows remote access to computers

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

How can hackers abuse port scanning?

A

Use it check if there are open ports and send malicious data to those ports.

17
Q

What is a non routable ip?

A

A private IP that is only used for communicating in a LAN and isn’t used for internet access

18
Q

How does network address translation work?

A

All devices in a LAN are connected to a router. When the device tries to access the internet the router replaces its private IP with its own public IP.

19
Q

What are the advantages of Network address Translation?

A

Devices don’t all need a unique IP to join the internet.
More secure as the private IPs are not broadcasted.

20
Q

What is an API?

A

Allows two software applications to communicate.
E.g. google maps API is integrated into apps such as just eat

21
Q

What is a socket?

A

Sockets are the combination of an ip address and a port number.
The socket represents the destination for data.

22
Q

What is a web socket?

A

Web sockets are a higher protocol built on top of sockets that are specifically used for real time communication.
They use http/s

23
Q

What are subnets?

A

Segmented pieces of larger networks

24
Q

What are the benefits of web sockets?

A

Fast
Always open
Real time

25
Q

What are the types of web socket?

A

Simplex - one way
Half duplex - both ways
Full duplex - both ways at the same time

26
Q

What is subnetting?

A

A network is divided into segments

27
Q

What is subnet masking?

A

The process of dividing an ip into two parts. One for identifying the network and one for the host/device.

28
Q

How does subnet masking work?

A

A subnet mask is a 32 bit number similar to an ip. When anded with the ip the subnet mask returns the network id.

29
Q

Give the subnet mask for an ip which has a network number 24 bits large

A

255.255.255.0
When anded with the subnet IP the ones will return whatever is in the ip but the 0 will return nothing.

30
Q

What is DHCP

A

Dynamic host configuration protocol allows IP addresses to be reused by allocating devices on a network dynamic IPs that other devices can use when that device leaves.

31
Q

What is a gateway?

A

A gateway connects two different networks together like a router.
It can also connect networks using two different protocols.

32
Q

What is a router?

A

Receives packets on a network and forwards them to the correct destination based on the address.

33
Q

How does packet switching work?

A

Method for sending data by dividing it into packets.
1. Messages are split into packets
2. Each packet is assigned a destination and sequence number
3. Packets are sent independently through a router
4. Routers forward packets until they reach the destination
5. Packets reassembled in order

34
Q

How are packets declared lost and what happens to lost packets?

A

Each packet is assigned a hop count which decrements each time it transferred between routers. If the hop count reaches 0 the packet is declared lost and is resent by the source.

35
Q

Name two advantages of packet switching

A
  1. More secure
  2. Less stress on cables
36
Q

What are 3 disadvantages of packet switching?

A
  1. Easy to lose packets in high traffic times
  2. Not good for real time applications as it is slow
  3. If the file is small it isn’t worth splitting into packets
37
Q

What do internet registries do?

A

They are company’s that control the assigning of domains and IPs in certain regions.

38
Q

Why are internet registries needed?

A

To ensure each device on the internet has a unique IP address.