Mod 2 - Network Organization Flashcards

1
Q

What is a network?

A

it is all the “stuff” & devices that connect and allow computers to communicate with each other (infrastructure)
ex. the internet is the largest network

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

What is synchronous communication?

A

It is real time communication.

ex. talking on the phone, radio broadcast

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

What is asynchronous communication?

A

It uses a time stamp to keep track (like a postcard) and is not done on a particular schedule, meaning there is a time lag.
ex. internet, text messages
(if there is a time stamp on it, it is likely asynchronous)

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

What are communication layers?

A

When a message comes in, it goes from low layers to high layers. When a message is sent out, it goes from high layers to low layers.
Ex. postcard coming in:
mail delivery system>letters on postcard>words>semantic meaning of words
(vice versa for sent out)

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

What are protocols?

A

They are found in every layer of communication. Some protocols will be strict or basic, etc. Think about computer protocols like a form - it must be filled out to work.
Ex. postcard: needs a stamp, address, postal code, etc.

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

What are examples that fall under the physical layer (lowest)?

A

It provides physical interactions & components

  • ethernet
  • phone, ADSL & cable modems (all used to communicate from one computer to another)
  • wifi
  • 3G/LTE
  • IMEI
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is required to use ethernet?

A

It needs a device that can transmit info over a wire & each connection requires a unique identifier known as a Media Access Control (MAC) address (every device with an ethernet port has one).

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

How does communication through ethernet work?

A

It uses sophisticated protocols to allow conversation. So, if one device is “talking”, others back off until there is a gap for them to “talk” - like a dinner party. There are different speed ratings for cables & devices, so a slower device/cable may slow down the entire communication chain.

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

How do phone modems (dial-up) work?

A

It connects a computer to a modem and is also connected to the phone line. There are many different protocols that occur because two devices must communicate to work.

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

How does ADSL work?

A

Asymmetric Digital Subscriber Line (ADSL) evolved from a modem and uses the same idea, but is slightly more sophisticated. The asymmetric means the download speed is faster than the upload speed.

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

How do cable modems work?

A

It uses the the same idea as other modems but communicates over frequencies designed to transmit TV signals & has a higher bandwidth.

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

How does wifi work?

A

It is just a radio wave on the electromagnetic radiation spectrum (can go through walls). Wifi ranges are typically 20-100m & use less power than radio signals. To work, an access point that broadcasts & receives from devices is required. Broadcasting name & security is part of protocol.

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

How does cellular 3G/LTE work?

A

It uses electromagnetic radiation similar to wifi, but has different protocols, frequencies & energies. Cellular range is much farther than wifi (several km) & often communicates with cell towers which is a much noisier environment. This means better error correction & signal change detection is required, so more power is needed (uses lots of battery).

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

What does 3G stand for? What does LTE stand for?

A

3G: 3rd generation (marketing scheme)
LTE: Long-Term Evolution (basically a 3 1/2 G)

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

What is IMEI?

A

an International Mobile Equipment Identity (IMEI) is required by all devices that communicate with cell towers. It is a unique identifier and explains why phones are locked to carriers.

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

What are examples that fall in the middle layer?

A

Middle layer provides interpretations as patterns & symbols. It does matter how lower layer is working (can be using wifi, ethernet, 3G - doesn’t matter)

  • IP
    - DNS
    - DHCP
    - IP Routing
  • TCP (this is actually a higher layer than IP)
17
Q

What is IP?

A

Internet Protocol (IP) is used to communicate on the internet & just like postcards, it needs a sending address and a destination address (IP address).

18
Q

What is an IP address? What is the issue with IP addresses?

A

It is an identifier that uses four numbers ranging from 0-255. Usually large corporations/organizations (like UW & Google) have a fixed IP address.
ex. UWaterloo is: 129.97.208.23
The problem is, there is a maximum of 4 billion IP addresses possible, but we are past that point by now.

19
Q

What are some solutions to the IP address problem?

A
  1. IPv6 (IP version 6): uses a much longer IP address and can handle 340 trillion trillion trillion
  2. NAT (Network Address Translation): is many different computers sharing the same physical address - may not be real IP address, but solves the issue of potentially running out.
20
Q

What is DNS?

A

Domain Naming System (DNS) is a server that receives a request when you type in a website name (the protocol) and the DNS server returns back an IP address. A local DNS server may not know a website name so it can go to the “.ca” server to narrow it down to find the appropriate result.

21
Q

Give some examples of domain names

A
  • .ca
  • .edu
  • .org
22
Q

What is DHCP?

A

A Dynamic Host Configuration Protocol (DHCP) server provides temporary IP addresses. When an individual device tries to connect to a network, it asks for an IP address from the DHCP server (the server has a bank of IP addresses). It gives you one to use that later expires so others can use the same IP address.

23
Q

What is IP routing?

A

Core component for communication. When a computer sends a message, it has a destination IP address which is sent to the local router, then another, etc. until the message reaches the destination computer.

24
Q

What is TCP?

A

Transmission Control Protocol (TCP) is like quality control. If you want to visit something on the internet, first a TCP session is created that messages back & forth b/w computers to establish rules before talking.

25
Q

How are big files/images sent?

A

Through TCP! The big files and images are broken down into smaller pieces called packets, then they “hop” b/w computers and the destination computer reassembles them. Packets can get out of order or go missing so the TCP can request it be resent.

26
Q

What is TCP responsible for?

A
  • breaking down large messages in ordered packets
  • acknowledging received packets
  • requesting missing packets be resent
  • reassembling packets
27
Q

What falls under higher layer protocols?

A

It provides the context & meaning

  • HTTP
  • HTTPS*
  • DHCP & DNS
  • FTP
  • SFTP*
  • POP, SMTP, IMAP

*S is used for encryption

28
Q

What is HTTP?

A

HyperText Transfer Protocol (HTTP) is the most common protocol used for requesting & sending info. Uses URLs which have 3 components for requesting:

  • http:// } protocol
  • uwaterloo.ca } host
  • /about } path
29
Q

What does an HTTP request include?

A
  • your IP address
  • document requested (most in HTML)
  • browser/language info
  • cookies
30
Q

What is (S)FTP? What is POP, SMTP, IMAP?

A

(S)FTP: used for transferring files between computers outside of web browswers
POP, SMTP, IMAP: used for sending emails between computers