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

The answer is 2 and 3

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

5 is the correct answer because the data will travel through all the levels

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

2 is correct.

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

Bandwidth is the data transfer rate in a network. Bandwidth influences the efficacy of transfer of files. High bandwidth will be smooth and function well, where in contrast low bandwidth will be very 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.

A network has nodes, links, and routers, with different features that allow it to function properly. LANS allow us to connect locally, and WANS all us to connect across the world.

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.

Packet switching is a data transmission method, that opposes the function of circuit switching. It offered flexibility using data packets. It reaches its final location by navigating through the most efficient route.

##