4.1 The Internet

Part 1

Packet

How do computers send data to each other?

Popcorn Hack 1

The Internet

  1. Bandwidth
  2. Computer Network
  3. Packet Switching
  4. Operating System

Part 2

OSI Model

TCP Model

Waist Model

Popcorn Hack 2

A request from the frontend to the backend is being made and the response returns JSON. What layer(s) did the data go through?

  1. Application
  2. Transport
  3. Internet
  4. Network Access
  5. All layers

What is an example of the OSI/TCP Model

Process

Network Access/Internet Layer

Application/Transport Layer

  1. The user sends a request to a server or page
  2. If the user wants to go to a website like amazon.com, it has its unique IP address but it isn’t readable by humans so a DNS(Domain Name Service), which stores the IP address inside of a database, sends it over the user
  3. During this process, the user sent a TCP request for the IP of amazon.com to the DNS server and the DNS server sent a TCP response in the form of packets for the IP of amazon.com
  4. Now, the user can send a request to the IP of the webpage like amazon.com
  5. The last step is for a router to send the user to the correct destination of the IP. In this case, amazon.com.

Popcorn Hack 3

How does a user get the IP for a web page when they enter the url?

  1. It goes through layers when the request is made to the webp
  2. The DNS sends it to the user in the form of a TCP response
  3. There is no need for the user to know the ip when going to the url
  4. The user automatically knows

Protocols used here are:

HTTP

TCP/IP

Homework

Bandwidth:

  1. In the context of computer networks, elaborate on the concept of bandwidth. Discuss how bandwidth influences the speed and efficiency of data transfer. Provide examples of scenarios where both high and low bandwidth can impact the performance of internet connected devices.

ANSWER: Bandwidth is the strength of the rate at which data is transferred across the internet. Higher bandwidths make it faster and easier for data to travel from place to place while low bandwidth means that there is currently a lot of data being transferred at a time, making it harder for data to get to where its going as quickly as it could. One scenario where high and low bandwidth can impact the performance of internet connected devices is in the case of video games. Higher bandwidth will make it easier for players to run their games smoothly while low bandwidth can make the game slow and laggy.

Computer Network:

  1. Explore computer networks by detailing the key components and their interplay. Discuss the significance of scalability, security, and reliability in designing computer networks. Provide real-world examples of how different types of computer networks, such as local area networks (LANs) and wide area networks (WANs), serve distinct purposes in various settings.

ANSWER: When it comes to computer networks, scalability is important to have a large network with little traffic. Security helps protect networks and prevent cyber threats from disturbing the flow of data within the network. Finally, reliability ensures that a network is consistent with its purpose and trustworthy when people are using it. An example of how local area networks are used is in small wifi networks that are used at home. Wide area networks, on the other hand, can be used by large corporations when connecting multiple networks of their company.

Packet Switching:

  1. Investigate packet switching and its role in modern communication systems. Compare and contrast packet switching with alternative methods, such as circuit switching, highlighting the advantages that packet switching brings to data transmission. Describe the journey of a data packet through a network.

ANSWER: Packet switching is a form of data transmission where data is broken down into smaller parts before being sent out. First, data is broken into small packets, then the data is routed to its destination and transmitted, sometimes out of order. Finally, the small data packages will be reordered in the sequence they are meant to be in. Circuit switching is an alternative form of packet switching where a communication path is established between two devices. The use of this is common in two-person conversations.

##