Lecture 8: Fornt-End Flashcards

1
Q

The internet 🌐 is a network of?

A

Computers and servers communicate with one another by sending and receiving data.

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

Routers 📟 are specialized computers that has

A

CPUs and memory, that send, or receive, data from one point to another

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

What are protoclos?

A

Protocols are a set of rules or conventions, like a physical handshake for humans

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

TCP/IP are protoclos for

A

sending data between two computers. TCP for the desired distinction and IP for our own address

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

Thenmaximum address of cureent virson IP are?

A

4 billion
since each address takes 4 bytes or 32 bits

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

What is the important jop of TCP?

A

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

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

What dose UDP protocol do? and how we use it?

A

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)

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

Port numbers work as

A

an endpoint for communication between applications, generally referring to a logical connection.

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

DNS is another portocol thath

A

translates domain names like cs50.harvard.edu to IP addresses ↩ī¸
(Domain Name System)

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

What do HTTP protocol and its pair HTTPS do?

A

it controls how web browsers and web servers communicate within TCP/IP packets.

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

The 2 main commands that supported by HTTP are

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does JS work to make our web pages attractive and dynamic?

A

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

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