How does the web work Flashcards

1
Q

Get colour coded and formatted code on ODIN project (and probably Launch School)

A

```javascript
code code code
~~~

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

What is the Internet?

A

A series of linked cables, routers, and computers.

The internet is the hardware.

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

What’s the world wide web?

A

The web is the pages you see. The Internet is the hardware.

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

What’s a web page?

A

A series of text, videos, formatting that you look at in a browser.

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

What’s a web browser?

A

A program that displays web pages.

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

What’s a search engine?

A

A website that searches over all other web servers for information.

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

What’s is a client?

A

A computer that requests information

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

What is a server?

A

A computer that receives requests from the client and responds with the appropriate data.

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

What is an IP address?

A

A numerical ID that specifies a destination in a network.
Can be for a computer or router.
Like the address for a shop.

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

What does HTTP stand for
What does HTTP do?
What’s an apt metaphor?

A

Hyper Text Transfer Protocol

An application protocol that defines the language for clients and servers to speak to each other.

Like the language, you use at the shop.

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

What does TCP/IP stand for?
What does TCP/IP do?

What’s an apt metaphor for it?

A

Transmission control protocol and internet protocol.
Defines how data should travel across the internet. How data should be
packetized,
addressed,
transmitted,
routed, and
received
Like a car or bike allowing the sending of information.
Maybe more like the packing of a transport truck and it’s route?

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

What are the component files?

A

Code files: HTML, CSS, JS

Asset files: images, music, etc.

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

What does DNS stand for?

What is a DNS server?

A

Domain Name System

A server of IP addresses for websites. The domain name is like a shop’s name, the IP address is like the street address.

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

What happens when you run a search on a search engine like google?

A

Google receives request. Search contents of their data bases, sends back the result as a response.

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

What is the journey of a packet?

A

Enter domain name
Search domain name on local DNS cache. Then send request to DNS server.
DNS server sends IP address to your computer.
Then you send a request to that IP address for a copy of their website.
Website comes back separated into packets.

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

Coder vs Programmer vs Developer vs Software Engineer

A

Coder- usually, coders are considered the least trained or experienced level of programmers. They are often a beginner in the field, skilled in just one coding language. Coders are usually given the job of writing forthright pieces of code that can easily be delegated by the developers. As some are put-off by the title, it is sometimes used interchangeably with “Junior Programmer” or “Junior Developer.

Programmer and Developer- The titles Developer and programmer are often used interchangeably. They are more experienced code writers who are versed in at least two to three languages and write clean, error free codes. They can apply their algorithmic knowledge to create more sophisticated levels of software coding.
Developers in some firms are sometimes referred to as the start to finish overseers of a project, who are responsible for the overall design of the application.

Software Engineers- These are of the highest level among all, who are most expert coders around. They are well versed in three programming languages or more and use their skills to design and implement the overall architecture of the application. They modularize the final product to develop a clean interface and then work with the programmers and developers to implement the more detailed aspects of the design. An engineer position would usually imply that you are a developer who has a specific type of degree, some knowledge of engineering, and is capable of designing a system.

17
Q

How do computers connect (physically)?

A

via wire.

The internet is essentially a wire that connects computers. Routers split the signal.

18
Q

How does email work? Where is a signal going to and from

A

Computer > ISP > Website (like gmail) > Server and ISP > Receiver

19
Q

Why do you usually go through a website? Why can’t an email address just be my computer or something?

A

[don’t know yet]

20
Q

Why do you need a modem?

A

It turns signals from your network into one that can be understood by the unfrustructure of the internet.

21
Q

What executes the JS code in a browser?

A
An "Engine", different names in different apps.
chrome, opera - V8
Firefox - Spidermonkey
IE- Chakra
MS Edge- Chakra Core
Safari- Nitro, SquirrelFish
22
Q

What can in browser JS do? (5 things)

What can it not do? (4 things)

A

What can inbrower JS do?

  • Add new HTML to the page
  • Take input
  • Send requests over network
  • get and set cookies, show messages
  • remember data on client side (local storage)

What can’t inbrower JS do?

  • No access to OS functions
  • can’t read/write local files (unless user allows)
  • require user permission for mic and cam
  • different tabs don’t know about one another