Lecture 8: Fornt-End Flashcards
The internet đ is a network of?
Computers and servers communicate with one another by sending and receiving data.
Routers đ are specialized computers that has
CPUs and memory, that send, or receive, data from one point to another
What are protoclos?
Protocols are a set of rules or conventions, like a physical handshake for humans
TCP/IP are protoclos for
sending data between two computers. TCP for the desired distinction and IP for our own address
Thenmaximum address of cureent virson IP are?
4 billion
since each address takes 4 bytes or 32 bits
What is the important jop of TCP?
it allows for a single server, to provide multiple services for sending and receiving data from them. it also allows for a large amount of data, like an image, to be sent in smaller chunks
What dose UDP protocol do? and how we use it?
User Datagram Protocol
it works like TCP in the field of data but It speeds up communications. We often use it for time-sensitive applications (such as real-time video streaming)
Port numbers work as
an endpoint for communication between applications, generally referring to a logical connection.
DNS is another portocol thath
translates domain names like cs50.harvard.edu to IP addresses âŠī¸
(Domain Name System)
What do HTTP protocol and its pair HTTPS do?
it controls how web browsers and web servers communicate within TCP/IP packets.
The 2 main commands that supported by HTTP are
1-Get: ask for a page or file in a URL
2-Post: end additional data to the server that is hidden from the URL
How does JS work to make our web pages attractive and dynamic?
JavaScript code is designed to keep talking every second, every 10 seconds, or something to the server and if it received something new it will appear immediately without updating the entire page by yourself