Module 1 Week 1 Flashcards

(251 cards)

1
Q

Why does backend development pay more than front end development?

A

Because it requires more set up, configuration, resources, and IT structural knowledge.

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

Full stack developers must have a solid grasp of…

A

Planning, architecture, design, development, deployment, and maintenance.

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

Examples of soft skills include…

A

Communication and listening to understand, not just respond.

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

Backend developers build the schema. What is the schema?

A

A representation of a plan or theory in the form of an outline or model.

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

True or false? Backend developers build the architecture of how data is used.

A

True

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

What are the two types of networks?

A

Wired and wireless

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

Can network switches connect to other network switches?

A

Yes

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

What is a web server?

A

A computer that runs applications and service ranging from websites to instant messaging.

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

Why do they get the name servers?

A

Because they provide a service to another computer and it’s user (also known as the client)

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

Where and how are servers stored?

A

In data centers with hundreds to thousands of other servers.

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

What is the roll of a data center?

A

To ensure servers have continuous power, continuous internet connection, and are kept cool 24 hours a day.

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

Servers are built based on what?

A

The purpose they serve

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

Servers for only storing images would most likely have what?

A

A lot of hard drive space

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

Servers for computing complex calculations would most likely have what?

A

A fast processor and a lot of memory

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

The physical components of a server are called what?

A

Server hardware

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

The code that runs on server hardware is called what?

A

Software

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

The functions of a web server are…

A

Website storage & administration, data storage, security, managing email. and handling web requests.

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

When you type a website into your browser it is the web servers job to respond with the contents of that website. What is this called?

A

The request-response cycle

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

Web servers are designed to…

A

Respond to thousands of requests by clients per second

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

A webpage is…

A

A document that displays images, text, videos, and other content in the web browser.

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

A website is…

A

A collection of webpages that are linked together.

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

How many years would it takes to download all the webpages on the internet with our current speed?

A

3,000,000 years

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

True or false? All the billions of webpages rely on the same core technologies.

A

True

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

A webpage is what in its most basic form?

A

A text document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does html do?
It structures the content we see
26
What does css do?
Controls the colors and style
27
JavaScript is responsible for what?
The user interaction
28
What does html stand for?
Hypertext Markup Language
29
How does html work?
By using markup tags, and the tags describe the content displayed in the browser window.
30
Html is made up of…
Headings, paragraphs, images, and multimedia elements like audio and video.
31
The way html describes content is known as what?
Markup
32
What does CSS stand for?
Cascading Style Sheets
33
CSS is commonly known as what?
Styling
34
What does CSS do?
Enhances html elements by telling them how to display.
35
What is JavaScript?
A programming language built into web browsers.
36
What does JavaScript do?
Provides web developers with tools for interactivity, data processing, control, and action.
37
A couple examples of JavaScript in action are…
A website telling you your login information is wrong and a video website updating in real time.
38
How is each line of code processed?
In sequential order.
39
When code is processed first to last like building blocks. The process is known as…
Page rendering
40
True or false? The response from the web server must be a complete webpage in order to fulfill the request and show the page in the browser.
True
41
A web browser is…
A software application used to browse the world wide web
42
URL stand for what?
Uniform Resource Locator
43
What does the URL contain?
The HTTP protocol, the domain name, and the file path.
44
The browser and sever communicate using what?
HTTP
45
What is web hosting?
A service where you place your website and files and the hosting company’s web server. Essentially renting the space for stables and secure storage.
46
What are the four kinds of web hosting?
Shared hosting, Virtual Private hosting, Dedicated hosting, and Cloud hosting.
47
What is the cheapest way of web hosting?
Shared hosting
48
How does Shared hosting work?
By renting a location on a web server containing many web hosting accounts. Meaning you share the servers processing power, memory, and bandwidth with other websites which can slow your performance.
49
Who is Shared hosting a good option for?
Small websites with a small amount of users and those looking for a low cost way to launch a website and play around with it.
50
What is a Virtual Private Server (VPS)?
A Virtual Server with dedicated CPU, Memory, and Bandwidth resources.
51
How does a VPS work?
Shared with other account but uses fixed resources for each account so your website is unlikely going to be impacted by the performance of others.
52
What is Dedicated hosting?
A hardware server for personal use.
53
What’s the benefit of using Dedicated hosting?
All CPU, Memory, and Bandwidth resources are yours to use.
54
Cloud Hosting is…
When your website runs in the cloud environment which spans across multiple physical and virtual servers. Causing your website to jump to another server if one fails.
55
The benefits of cloud hosting are…
You can use as many resources as you need without hardware limitations, you pay based on resource used, and allows you to scale your website as popularity grows.
56
Many major web applications operate using what kind of hosting?
Cloud Hosting
57
What is web acceleration?
When a server caches commonly requested content to speed up its delivery.
58
True or false? A web server can also be used to communicate between web clients and servers in local area networks such as a company’s intranet.
True
59
What does HTTP do?
Defines how text, images, and videos are transmitted on the web.
60
Web standards are…
Browsers operating identical enough to provide content in a similar fashion.
61
A rendering engine is used by the browser to…
Translate data into texts and images
62
What are hyperlinks?
URLs embedded into a webpage
63
URL is also known as what?
The web address
64
How do websites save information about you?
With cookies
65
We can modify our browsers using…
Extensions and add-ons
66
The internet is…
A whole bunch of computer networks connected to each other.
67
The first network experiment in the 1960s wasn’t about communication. It was about…
Optimizing processor usage, or time-sharing, so scientists could share computer power.
68
Our only source of computing before the 1960s was…
Mainframes
69
What allowed mainframes to start processing more than one task at a time?
Time-Sharing
70
What was the benefit of time-sharing?
It allowed multiple scientists to use a mainframes computing power at the same time.
71
Who came up with packet switching?
The British
72
Packet switching was revolutionary because…
It helped avoid congestion in busy networks by cutting up data at one end and putting it back together at the other.
73
The term internet was thought to be born when…
The French were working on a scientific network called CYCLADES and decide to work on direct connections between computers, as opposed to working on gateway computers.
74
What forms the basic communication language of the internet
TCP/IP protocols
75
What does the TCP/IP protocol do?
Labels the packets of data to make sure even though some pieces of data take a different route, they all arrive at their destinations and can be reassembled.
76
What year did networks begin to really communicate with each other?
1975. Arguably the beginning of the internet.
77
Email was developed for ARPANET in what year?
1972
78
The internet was mostly what in 1976?
Email traffic
79
Who invented the interface using HTTP, HTML and URLs that made internet browsers possible?
Timothy Berners Lee
80
Why did Timothy Berners Lee develop his interface
While spending time with LERN, the European Organization for Nuclear Research, he wanted to manage the scientists information and make it possible for them to share and interconnect their work easily, making progress more likely.
81
When was the first website created on the World Wide Web and by who?
1991 by Timothy Berners Lee
82
What year did the internet spread enough to become workable by the masses
1995
83
Who invented the internet?
Not one person in particular. It was many cool inventions that came together over time and helped create what we know today as the internet.
84
What engine does the chrome browser use?
The Blink Engine.
85
What is a browser engine (layout or rendering engine) ?
A core software component of every major web browser that’s used to transform html documents and other resources of a webpage into an interactive virtual representation on a users device.
86
A browser engine also…
Enforces the security policy between documents, handles navigation through hyperlinks and data submitted through forms, and implements the document object model (DOM) data structure exposed to page scripts.
87
The browser engine works in concert with…
The JavaScript engine
88
How a computer sends and receives data is similar to what?
The postal system
89
What makes it possible to send data across the internet?
Internet Protocol (IP) addresses
90
IP addresses function like…
Addresses in a postal system
91
Computers are…
Destinations that request and receive data
92
Networks are…
Routes that requested data travels across
93
IP version 4
192.0.2.235
94
IP version 6
4527:0a00:1567:0200:ff00:0042:8329:326b
95
Data is sent across a network as…
A series of messages called IP packets, also known as data grams.
96
High level IP packets contain…
A header and data. Just like an envelope has an address and a letter. As well as return addresses
97
Just like letters. IP packets can be delivered…
Out of order, damaged, or can become lost.
98
To solve delivery problems with IP packets…
The payload part of the packet contains other protocols. These are an extra message within the payload of an IP packet.
99
The two most common protocols used with IP are
Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)
100
TCP solves
IP packets becoming lost, damaged, or delivered out of order with the cost of a small delay when sending data.
101
UDP solves…
The corrupt packet issue but packets can still arrive out of order or not arrive at all.
102
TCP is used for…
Sending data that must arrive correctly and in order such as texts and image files.
103
UDP is used for…
Things like voice calls or live video streaming.
104
What does the lock icon beside the url mean?
That the secure version of HTTP is being used (HTTPS)
105
What is HTTP?
A core operational protocol of the World Wide Web that enables the web browser to communicate with a web server that hosts a website. It is the communication protocol we use when browsing the web.
106
What does an HTTP request consist of?
A method, path, version, and a header.
107
The HTTP method describes…
The type of action that the client wants to perform.
108
What are the most commonly used HTTP methods?
GET, POST, PUT, and DELETE.
109
What is the GET method used for?
Retrieving information from the server
110
What is the POST method used for?
Sending data to the server.
111
What is the PUT method used for?
Updating whatever currently exists on the website with something else.
112
What is the DELETE method used for?
Removing the resource.
113
What are the two most common versions of the HTTP protocol?
Version 1.1 and Version 2.0
114
What is the path?
The representation of where the resource is stored on the web server.
115
An example of a path is…
If you wanted to request an image from a page on a website then the URL in the address bar would need to contain the full path to that particular file on the web server Example.com/images/image.jpg
116
What do headers do?
They contain additional information about the request and the client that’s making the request.
117
There are certain request methods that…
The requests will also contain a body of content that the client is sending.
118
True or false? HTTP responses follow a format similar to the requests.
True
119
An HTTP request and response format…
Following the header, the response will optionally contain a message body consisting of the response contents such as the HTML document, the image file, and so forth.
120
What indicates if the HTTP request is successfully completed?
HTTP status codes
121
The status message is…
The text representation of the status codes.
122
Two very common HTTP status codes are…
404 error not found & 500 error page not responding
123
What are the five groups of status codes
Informational, successful, redirection, client error, and server error.
124
Informational status code #s
100-199
125
Successful status code #s
200-299
126
Redirection status code #s
300-399
127
Client error status code #s
400-499
128
Server error status code #s
500-599
129
Informational responses are…
Provisional responses sent by the server that are interim before the actual response.
130
What is the most common informational response and what does it mean?
100 continue, which indicates the Web client should continue to request or ignore the response if the request is already reading finished.
131
What do successful responses indicate?
The request was successfully processed by the web server.
132
What is the most common successful response and what does it mean?
200 OK which is a response we receive everyday when we successfully receive content from a website.
133
What does OK mean when the method is GET?
The resource is found and included in the body of the HTTP response.
134
What does OK mean If the method is PUT or POST?
The resource was successfully transmitted to the web server.
135
What does OK mean if the method is DELETE?
The resource is deleted.
136
What do redirection responses indicate to the client?
That the requested resource has been moved to a different path.
137
What are the most common redirection responses?
301 moved permanently & 302 found
138
What is the different between 301 and 302?
302 means a temporary redirection.
139
What do client error responses indicate?
The request contained bad syntax or content and cannot be processed by the web server.
140
400 is used when...
The client submits bad data to the web server.
141
401 is used to…
Indicate the must login to an account before the request can be processed.
142
403 is used to…
Indicate the request was valid but the web server is refusing to process it ( often indicating the user does not have the sufficient permissions to execute an action in a web application)
143
404 is used to…
Indicate that the request resource was not found on the web server.
144
Server error responses indicate…
That a failure occurred on the web server while trying to process the request.
145
What is the most common server error response?
500 internal server error
146
500 internal server error is…
A generic error status indicating that the server failed to process the request.
147
What is HTTPS very useful for?
Things like securing credit card information used on a website.
148
What is HTTPS used for?
Secure communication between 2 computers so that nobody else can see the information being sent or received.
149
How does HTTPS secure communication?
Through encryption
150
How is HTTPS different than HTTP?
It turns information into secret code that only the other computer can read.
151
HTTP is a protocol used by web clients and web servers that is…
The foundation of any data exchanges on the web.
152
What is an example of an http request?
GET/home.html HTTP/1.1 this includes the method, the resource request, and protocol version in that order.
153
What is an HTTP header?
A case-insensitive name followed by a : and then followed by a value.
154
What does the host header do?
Specifies the host of the server and indicates where the resource is requested from.
155
What does the user-agent header do?
Informs the web server of the application that is making the request. Often including the operating system (Mac, windows, Linux) version and application vendor.
156
What does the accept header do?
Informs the web server what type of content the client will accept as the response.
157
What does the accept-language header do?
Indicates the language and optionally the locale that the client prefers.
158
What does the content-type header do?
Indicates the type of content being transmitted in the request body.
159
HTTP response headers
The date, server, content-length, and content-type
160
Date header
Includes the date and time the HTTP response was generated
161
Server header
Describes the web server software used to generate the response.
162
Content-length header
Describes the length of the response.
163
Content-type header
Describes the media type of the resource returned (e.g. html, document, image, video)
164
What is the aim of the HTTP response body?
To provide the client with the resource it requested, or inform the client that the action it requested has been carried out; or else to inform the client that an error occurred in processing its request.
165
What does html reference?
CSS and JavaScript
166
HTML is used on top of TCP to…
Transfer webpages and other content from websites.
167
Dynamic Host Configuration Protocol (DHCP)
Used to assign your computer an IP address when it connects to a network.
168
How does DHCP work?
Computers communicate over User Datagram Protocol (UDP) using a protocol with a type of server called a DHCP server. The server keeps track of computers on the network and their IP addresses. It will assign your computer to an IP address and respond over the protocol to let it know which IP address to use. Once your computer has an IP address it can communicate with other computers on the network.
169
Domain Name System Protocol (DNS)
Provides a way for your computer to know which IP address to communicate with when you visit a website in your web browser. After your computer does this is will check with the DNS server associate with domain name and then return the correct IP address.
170
Internet Message Access Protocol (IMAP)
Used to download emails and manage your mailbox on the server storing your emails.
171
Simple Mail Transfer Protocol (SMPT)
Allows email clients to submit emails for sending via an SMPT server. It can also be used to receive from an email client, but IMAP is more commonly used for this.
172
Post Office Protocol (POP)
An older protocol used to download emails to an email client.
173
What is the difference in using POP instead of IMAP?
POP will delete emails on the server once they have been downloaded to your local device but IMAP won’t.
174
Even tho POP isn’t commonly used in email clients, developers often use it to do what?
Implement email automation because it’s more straight forward than IMAP.
175
File Transfer Protocol (FTP)
A way to transfer the files from your local computer to the server they’ll run on. It allows you to list, send, receive, and delete files on a server.
176
Secure Shell Protocol (SSH)
The most common method of logging in and interacting with the computer remotely when working with servers. Using an SSH client allows you to connect to an SSH server running on a server to preform commands on the remote computer. All data sent over SSH is encrypted.
177
SSH File Transfer Protocol (SFTP)
Pairing SSH and FTP ensures that data using FTP is transmitted securely. FTP alone transmits data insecurely.
178
What is more informative than interactive? A website or webpage
A website is more informative.
179
Web applications
Highly interactive, have dynamically updated content, and have personalized results.
180
The Main developer tool functions in the browser are…
Elements, Console, Sources, Network, Performance, and Memory.
181
Console Function
Outputs JavaScript logs and errors from the web application.
182
Sources Function
Shows all content resolve for the current page. Includes html, css, JavaScript, images, and videos.
183
Network function
You can inspect the timeline and details of HTTP requests and responses for the webpage.
184
Performance function
Shows what the web browser is doing over time. Very useful if your web application is running slow because you can pinpoint the functions that are taking the most time.
185
Memory function
Displays the parts of your code that are consuming the most resources.
186
Elements function
The most used tab, used to inspect the documents, html elements, and their properties.
187
Why are the the web developer tools on our browser very effective?
They allow us to quickly inspect and diagnose problems.
188
Frameworks and libraries contain…
Key processes used everyday in software development
189
Open source means…
Freely available to anyone to edit and build from.
190
frameworks and libraries that are licensed and built internally are called what?
Proprietary frameworks and libraries.
191
True or false? Many developers use the terms framework and library interchangeably.
True
192
LIBRARIES
are full of Reusable pieces of code that can be used by your application and they are purpose built to provide a specific functionality such as validating email addresses, etc. They help save time.
193
FRAMEWORKS
provide a structure for developers to build with, just like builders use blueprints. They handle functionality common to all web applications such as receiving HTTP requests. The programmer then implant a their own code which defines the functionality of the application. They generally use many libraries and are considered opinionated.
194
Frameworks define…
The libraries, flow, and control of an application.
195
Framework advantages vs disadvantages
Time saving, structured, best practice vs. structure constraints, compatibility.
196
True or false? Some of the libraries the framework uses may conflict with a library that you are required to use and cause compatibility issues.
True
197
The upside to not using a framework is..
Replacing libraries is much easier than replacing a framework.
198
APIs are most likely being used when…
We access information like reading the news, purchasing something, or connecting with friends on social media.
199
What are APIs
Developer friendly, easily accessible, and very valuable/useful development tools. The are a service, application, or interface offering advanced functionality with some syntax.
200
What does API stand for?
Application Programming interface
201
The term API is…
Intentionally open to many applications and use cases.
202
True or false? A lot of the day to day job of a web developer involves working with APIs
True
203
3 common API that web developers work with are…
Browser API, RESTful API, and sensor-based API
204
Why do APIs get nicknamed middleware or gateways
Because APIs are often the bridge between different components or systems in software development.
205
Browser API/Web API
Built in to the browser and extend the functionality of the browser by adding new services. They are designed to simplify complex functions and provide easy syntax for building advanced features.
206
DOM API
Turns an HTML document into a tree of nodes which are represented as JavaScript objects.
207
Geolocation API
Returns the coordinates of where the browser is located.
208
Fetch API
For fetching data
209
Canvas API
For graphics
210
History API
For Keeping history
211
RESTful API
Provides data for popular web and mobile apps (“web servers”) and are critical for web development.
212
REST stands for…
Representational State Transfer
213
What is REST
A set of principles that help build highly efficient APIs
214
What is a main responsibly of RESTful APIs
Sending and receiving data to and from a centralized database.
215
Sensor-Based API
Actual physical sensors that are interconnected with each other; this is what the Internet of Things (IOT) is based on. The sensors can communicate through API and they track and respond to physical data. (Examples: Philip hue smart lights, Node Bots)
216
Server API
GET, POST, PUT, DELETE
217
API endpoint example
HTTP://example.com/?T=info
218
How do we create discoverable interfaces?
APIs using the REST principle and good design practice.
219
What do APIs use endpoints for?
To specify how different resources can be accessed. The endpoint is built in to the URL when accessing the API
220
What happens when the API endpoint is hit?
The API performs whatever server side processing is need to build the response.
221
Two most common endpoint response are../
Full webpages and a data form based on JavaScript called JSON
222
We often use APIs to..
Extend the abilities or systems or act as a bridge between different components.
223
What does IDE stand for?
Integrated Development Environment
224
What is an IDE?
The main tool in your toolbox as a developer. It is just like a text editor but for code.
225
Syntax highlighting
Improves the readability for developers and is built in to the IDE. Special keywords are highlighted in different colors to help differentiate them from basic syntax.
226
Some great features of an IDE are…
Error highlighting, autocomplete, intellisense, and refactoring.
227
Transport Layer Security (TLS)
A protocol by applications to communicate securely across a network. It prevents tampering with and eavesdropping on email, web browsing, messaging, and other protocols.
228
Proxies
A group of entities between servers and clients that perform different operations and act as gateways or caches.
229
There are more computers between a browser and server handling requests such as...
Routers, modems, and more; they are Hidden in the network and transport layer.
230
True or false? A web page isn’t a hypertext document
False.
231
What is load balancing?
When a collection of servers work together to provide the data requested.
232
What makes a proxy transparent
When they forward on the requests they receive without altering them in any way.
233
What make a proxy non transparent?
When they change the request in some way before passing it along to the server.
234
What are the numerous functions proxies can perform?
Caching (public or private), filtering (like an anti virus scan or parental controls), load balancing (to allow multiple servers to serve different requests), authentication (to control access to different resources), logging (allowing the storage of historical information)
235
What can make HTTP stateful?
Cookies
236
HTTP relies on what?
TCP. Which is connection-based
237
What is QUIC
A general-purpose transport layer network protocol that builds on UDP to provide a more reliable and efficient TLP
238
Who designed QUIC
Jim Roskind at Google
239
Common features controllable with HTTP are?
Caching, relaxing the origin constraint, authentication, proxy & tunneling, sessions.
240
HTTP flow
1. Open a TCP connection 2. Send an HTTP message 3. Read the response sent by the server 4. Close or reuse the connection for further requests
241
What happens when HTTP pipelining is activated?
Several requests can be sent without waiting for the first response to be fully received.
242
HTTP message defined in HTTP/1.1 and earlier..
Are human-readable
243
Messages in HTTP/2 are…
Embedded into a binary structure, a frame, allowing optimizations like compression of headers & multiplexing.
244
What is the most commonly used API based on HTTP?
XMLHTTPRequest API which is used to exchange data between a user agent and server. The modern fetch API provides the same features with a more powerful and flexible feature set
245
What is a protocol?
A rule which describes how an activity should be performed, especially in the field of diplomacy.
246
Why is HTTP so successful?
Because it is relatively simple compared to most client/server protocols.
247
What is the key to designing protocols?
To think through all possible uses of the protocol and describe each scenario carefully.
248
Metadata
Data about data
249
Open Systems Interconnection (OSI) model
A more abstract model than TCP/IP that can be used to understand a wide range of network architectures.
250
What are the OSI model layers?
1. Physical 2. Datalink 3. Network 4.Transport 5. Session 6. Presentation 7. Application
251
What is the TCP/IP model widely used to do? Compared to the OSI model
Guide implantation of TCP/IP network, hardware, and software while the OSI model can help us look at and compare a wide range of network architectures ranging from openly developed networks to proprietary vendor-specific networks.