Module 1 Week 1 Flashcards

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
Q

What does html do?

A

It structures the content we see

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

What does css do?

A

Controls the colors and style

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

JavaScript is responsible for what?

A

The user interaction

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

What does html stand for?

A

Hypertext Markup Language

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

How does html work?

A

By using markup tags, and the tags describe the content displayed in the browser window.

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

Html is made up of…

A

Headings, paragraphs, images, and multimedia elements like audio and video.

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

The way html describes content is known as what?

A

Markup

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

What does CSS stand for?

A

Cascading Style Sheets

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

CSS is commonly known as what?

A

Styling

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

What does CSS do?

A

Enhances html elements by telling them how to display.

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

What is JavaScript?

A

A programming language built into web browsers.

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

What does JavaScript do?

A

Provides web developers with tools for interactivity, data processing, control, and action.

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

A couple examples of JavaScript in action are…

A

A website telling you your login information is wrong and a video website updating in real time.

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

How is each line of code processed?

A

In sequential order.

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

When code is processed first to last like building blocks. The process is known as…

A

Page rendering

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

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.

A

True

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

A web browser is…

A

A software application used to browse the world wide web

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

URL stand for what?

A

Uniform Resource Locator

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

What does the URL contain?

A

The HTTP protocol, the domain name, and the file path.

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

The browser and sever communicate using what?

A

HTTP

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

What is web hosting?

A

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.

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

What are the four kinds of web hosting?

A

Shared hosting, Virtual Private hosting, Dedicated hosting, and Cloud hosting.

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

What is the cheapest way of web hosting?

A

Shared hosting

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

How does Shared hosting work?

A

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.

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

Who is Shared hosting a good option for?

A

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.

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

What is a Virtual Private Server (VPS)?

A

A Virtual Server with dedicated CPU, Memory, and Bandwidth resources.

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

How does a VPS work?

A

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.

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

What is Dedicated hosting?

A

A hardware server for personal use.

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

What’s the benefit of using Dedicated hosting?

A

All CPU, Memory, and Bandwidth resources are yours to use.

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

Cloud Hosting is…

A

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.

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

The benefits of cloud hosting are…

A

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.

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

Many major web applications operate using what kind of hosting?

A

Cloud Hosting

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

What is web acceleration?

A

When a server caches commonly requested content to speed up its delivery.

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

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.

A

True

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

What does HTTP do?

A

Defines how text, images, and videos are transmitted on the web.

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

Web standards are…

A

Browsers operating identical enough to provide content in a similar fashion.

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

A rendering engine is used by the browser to…

A

Translate data into texts and images

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

What are hyperlinks?

A

URLs embedded into a webpage

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

URL is also known as what?

A

The web address

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

How do websites save information about you?

A

With cookies

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

We can modify our browsers using…

A

Extensions and add-ons

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

The internet is…

A

A whole bunch of computer networks connected to each other.

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

The first network experiment in the 1960s wasn’t about communication. It was about…

A

Optimizing processor usage, or time-sharing, so scientists could share computer power.

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

Our only source of computing before the 1960s was…

A

Mainframes

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

What allowed mainframes to start processing more than one task at a time?

A

Time-Sharing

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

What was the benefit of time-sharing?

A

It allowed multiple scientists to use a mainframes computing power at the same time.

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

Who came up with packet switching?

A

The British

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

Packet switching was revolutionary because…

A

It helped avoid congestion in busy networks by cutting up data at one end and putting it back together at the other.

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

The term internet was thought to be born when…

A

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.

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

What forms the basic communication language of the internet

A

TCP/IP protocols

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

What does the TCP/IP protocol do?

A

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.

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

What year did networks begin to really communicate with each other?

A
  1. Arguably the beginning of the internet.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
77
Q

Email was developed for ARPANET in what year?

A

1972

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

The internet was mostly what in 1976?

A

Email traffic

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

Who invented the interface using HTTP, HTML and URLs that made internet browsers possible?

A

Timothy Berners Lee

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

Why did Timothy Berners Lee develop his interface

A

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.

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

When was the first website created on the World Wide Web and by who?

A

1991 by Timothy Berners Lee

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

What year did the internet spread enough to become workable by the masses

A

1995

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

Who invented the internet?

A

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.

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

What engine does the chrome browser use?

A

The Blink Engine.

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

What is a browser engine (layout or rendering engine) ?

A

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.

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

A browser engine also…

A

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.

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

The browser engine works in concert with…

A

The JavaScript engine

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

How a computer sends and receives data is similar to what?

A

The postal system

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

What makes it possible to send data across the internet?

A

Internet Protocol (IP) addresses

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

IP addresses function like…

A

Addresses in a postal system

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

Computers are…

A

Destinations that request and receive data

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

Networks are…

A

Routes that requested data travels across

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

IP version 4

A

192.0.2.235

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

IP version 6

A

4527:0a00:1567:0200:ff00:0042:8329:326b

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

Data is sent across a network as…

A

A series of messages called IP packets, also known as data grams.

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

High level IP packets contain…

A

A header and data. Just like an envelope has an address and a letter. As well as return addresses

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

Just like letters. IP packets can be delivered…

A

Out of order, damaged, or can become lost.

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

To solve delivery problems with IP packets…

A

The payload part of the packet contains other protocols. These are an extra message within the payload of an IP packet.

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

The two most common protocols used with IP are

A

Transmission Control Protocol (TCP) and User Datagram Protocol (UDP)

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

TCP solves

A

IP packets becoming lost, damaged, or delivered out of order with the cost of a small delay when sending data.

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

UDP solves…

A

The corrupt packet issue but packets can still arrive out of order or not arrive at all.

102
Q

TCP is used for…

A

Sending data that must arrive correctly and in order such as texts and image files.

103
Q

UDP is used for…

A

Things like voice calls or live video streaming.

104
Q

What does the lock icon beside the url mean?

A

That the secure version of HTTP is being used (HTTPS)

105
Q

What is HTTP?

A

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
Q

What does an HTTP request consist of?

A

A method, path, version, and a header.

107
Q

The HTTP method describes…

A

The type of action that the client wants to perform.

108
Q

What are the most commonly used HTTP methods?

A

GET, POST, PUT, and DELETE.

109
Q

What is the GET method used for?

A

Retrieving information from the server

110
Q

What is the POST method used for?

A

Sending data to the server.

111
Q

What is the PUT method used for?

A

Updating whatever currently exists on the website with something else.

112
Q

What is the DELETE method used for?

A

Removing the resource.

113
Q

What are the two most common versions of the HTTP protocol?

A

Version 1.1 and Version 2.0

114
Q

What is the path?

A

The representation of where the resource is stored on the web server.

115
Q

An example of a path is…

A

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
Q

What do headers do?

A

They contain additional information about the request and the client that’s making the request.

117
Q

There are certain request methods that…

A

The requests will also contain a body of content that the client is sending.

118
Q

True or false? HTTP responses follow a format similar to the requests.

A

True

119
Q

An HTTP request and response format…

A

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
Q

What indicates if the HTTP request is successfully completed?

A

HTTP status codes

121
Q

The status message is…

A

The text representation of the status codes.

122
Q

Two very common HTTP status codes are…

A

404 error not found & 500 error page not responding

123
Q

What are the five groups of status codes

A

Informational, successful, redirection, client error, and server error.

124
Q

Informational status code #s

A

100-199

125
Q

Successful status code #s

A

200-299

126
Q

Redirection status code #s

A

300-399

127
Q

Client error status code #s

A

400-499

128
Q

Server error status code #s

A

500-599

129
Q

Informational responses are…

A

Provisional responses sent by the server that are interim before the actual response.

130
Q

What is the most common informational response and what does it mean?

A

100 continue, which indicates the Web client should continue to request or ignore the response if the request is already reading finished.

131
Q

What do successful responses indicate?

A

The request was successfully processed by the web server.

132
Q

What is the most common successful response and what does it mean?

A

200 OK which is a response we receive everyday when we successfully receive content from a website.

133
Q

What does OK mean when the method is GET?

A

The resource is found and included in the body of the HTTP response.

134
Q

What does OK mean If the method is PUT or POST?

A

The resource was successfully transmitted to the web server.

135
Q

What does OK mean if the method is DELETE?

A

The resource is deleted.

136
Q

What do redirection responses indicate to the client?

A

That the requested resource has been moved to a different path.

137
Q

What are the most common redirection responses?

A

301 moved permanently & 302 found

138
Q

What is the different between 301 and 302?

A

302 means a temporary redirection.

139
Q

What do client error responses indicate?

A

The request contained bad syntax or content and cannot be processed by the web server.

140
Q

400 is used when…

A

The client submits bad data to the web server.

141
Q

401 is used to…

A

Indicate the must login to an account before the request can be processed.

142
Q

403 is used to…

A

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
Q

404 is used to…

A

Indicate that the request resource was not found on the web server.

144
Q

Server error responses indicate…

A

That a failure occurred on the web server while trying to process the request.

145
Q

What is the most common server error response?

A

500 internal server error

146
Q

500 internal server error is…

A

A generic error status indicating that the server failed to process the request.

147
Q

What is HTTPS very useful for?

A

Things like securing credit card information used on a website.

148
Q

What is HTTPS used for?

A

Secure communication between 2 computers so that nobody else can see the information being sent or received.

149
Q

How does HTTPS secure communication?

A

Through encryption

150
Q

How is HTTPS different than HTTP?

A

It turns information into secret code that only the other computer can read.

151
Q

HTTP is a protocol used by web clients and web servers that is…

A

The foundation of any data exchanges on the web.

152
Q

What is an example of an http request?

A

GET/home.html HTTP/1.1 this includes the method, the resource request, and protocol version in that order.

153
Q

What is an HTTP header?

A

A case-insensitive name followed by a : and then followed by a value.

154
Q

What does the host header do?

A

Specifies the host of the server and indicates where the resource is requested from.

155
Q

What does the user-agent header do?

A

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
Q

What does the accept header do?

A

Informs the web server what type of content the client will accept as the response.

157
Q

What does the accept-language header do?

A

Indicates the language and optionally the locale that the client prefers.

158
Q

What does the content-type header do?

A

Indicates the type of content being transmitted in the request body.

159
Q

HTTP response headers

A

The date, server, content-length, and content-type

160
Q

Date header

A

Includes the date and time the HTTP response was generated

161
Q

Server header

A

Describes the web server software used to generate the response.

162
Q

Content-length header

A

Describes the length of the response.

163
Q

Content-type header

A

Describes the media type of the resource returned (e.g. html, document, image, video)

164
Q

What is the aim of the HTTP response body?

A

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
Q

What does html reference?

A

CSS and JavaScript

166
Q

HTML is used on top of TCP to…

A

Transfer webpages and other content from websites.

167
Q

Dynamic Host Configuration Protocol (DHCP)

A

Used to assign your computer an IP address when it connects to a network.

168
Q

How does DHCP work?

A

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
Q

Domain Name System Protocol (DNS)

A

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
Q

Internet Message Access Protocol (IMAP)

A

Used to download emails and manage your mailbox on the server storing your emails.

171
Q

Simple Mail Transfer Protocol (SMPT)

A

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
Q

Post Office Protocol (POP)

A

An older protocol used to download emails to an email client.

173
Q

What is the difference in using POP instead of IMAP?

A

POP will delete emails on the server once they have been downloaded to your local device but IMAP won’t.

174
Q

Even tho POP isn’t commonly used in email clients, developers often use it to do what?

A

Implement email automation because it’s more straight forward than IMAP.

175
Q

File Transfer Protocol (FTP)

A

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
Q

Secure Shell Protocol (SSH)

A

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
Q

SSH File Transfer Protocol (SFTP)

A

Pairing SSH and FTP ensures that data using FTP is transmitted securely. FTP alone transmits data insecurely.

178
Q

What is more informative than interactive? A website or webpage

A

A website is more informative.

179
Q

Web applications

A

Highly interactive, have dynamically updated content, and have personalized results.

180
Q

The Main developer tool functions in the browser are…

A

Elements, Console, Sources, Network, Performance, and Memory.

181
Q

Console Function

A

Outputs JavaScript logs and errors from the web application.

182
Q

Sources Function

A

Shows all content resolve for the current page. Includes html, css, JavaScript, images, and videos.

183
Q

Network function

A

You can inspect the timeline and details of HTTP requests and responses for the webpage.

184
Q

Performance function

A

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
Q

Memory function

A

Displays the parts of your code that are consuming the most resources.

186
Q

Elements function

A

The most used tab, used to inspect the documents, html elements, and their properties.

187
Q

Why are the the web developer tools on our browser very effective?

A

They allow us to quickly inspect and diagnose problems.

188
Q

Frameworks and libraries contain…

A

Key processes used everyday in software development

189
Q

Open source means…

A

Freely available to anyone to edit and build from.

190
Q

frameworks and libraries that are licensed and built internally are called what?

A

Proprietary frameworks and libraries.

191
Q

True or false? Many developers use the terms framework and library interchangeably.

A

True

192
Q

LIBRARIES

A

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
Q

FRAMEWORKS

A

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
Q

Frameworks define…

A

The libraries, flow, and control of an application.

195
Q

Framework advantages vs disadvantages

A

Time saving, structured, best practice vs. structure constraints, compatibility.

196
Q

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.

A

True

197
Q

The upside to not using a framework is..

A

Replacing libraries is much easier than replacing a framework.

198
Q

APIs are most likely being used when…

A

We access information like reading the news, purchasing something, or connecting with friends on social media.

199
Q

What are APIs

A

Developer friendly, easily accessible, and very valuable/useful development tools. The are a service, application, or interface offering advanced functionality with some syntax.

200
Q

What does API stand for?

A

Application Programming interface

201
Q

The term API is…

A

Intentionally open to many applications and use cases.

202
Q

True or false? A lot of the day to day job of a web developer involves working with APIs

A

True

203
Q

3 common API that web developers work with are…

A

Browser API, RESTful API, and sensor-based API

204
Q

Why do APIs get nicknamed middleware or gateways

A

Because APIs are often the bridge between different components or systems in software development.

205
Q

Browser API/Web API

A

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
Q

DOM API

A

Turns an HTML document into a tree of nodes which are represented as JavaScript objects.

207
Q

Geolocation API

A

Returns the coordinates of where the browser is located.

208
Q

Fetch API

A

For fetching data

209
Q

Canvas API

A

For graphics

210
Q

History API

A

For Keeping history

211
Q

RESTful API

A

Provides data for popular web and mobile apps (“web servers”) and are critical for web development.

212
Q

REST stands for…

A

Representational State Transfer

213
Q

What is REST

A

A set of principles that help build highly efficient APIs

214
Q

What is a main responsibly of RESTful APIs

A

Sending and receiving data to and from a centralized database.

215
Q

Sensor-Based API

A

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
Q

Server API

A

GET, POST, PUT, DELETE

217
Q

API endpoint example

A

HTTP://example.com/?T=info

218
Q

How do we create discoverable interfaces?

A

APIs using the REST principle and good design practice.

219
Q

What do APIs use endpoints for?

A

To specify how different resources can be accessed. The endpoint is built in to the URL when accessing the API

220
Q

What happens when the API endpoint is hit?

A

The API performs whatever server side processing is need to build the response.

221
Q

Two most common endpoint response are../

A

Full webpages and a data form based on JavaScript called JSON

222
Q

We often use APIs to..

A

Extend the abilities or systems or act as a bridge between different components.

223
Q

What does IDE stand for?

A

Integrated Development Environment

224
Q

What is an IDE?

A

The main tool in your toolbox as a developer. It is just like a text editor but for code.

225
Q

Syntax highlighting

A

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
Q

Some great features of an IDE are…

A

Error highlighting, autocomplete, intellisense, and refactoring.

227
Q

Transport Layer Security (TLS)

A

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
Q

Proxies

A

A group of entities between servers and clients that perform different operations and act as gateways or caches.

229
Q

There are more computers between a browser and server handling requests such as…

A

Routers, modems, and more; they are Hidden in the network and transport layer.

230
Q

True or false? A web page isn’t a hypertext document

A

False.

231
Q

What is load balancing?

A

When a collection of servers work together to provide the data requested.

232
Q

What makes a proxy transparent

A

When they forward on the requests they receive without altering them in any way.

233
Q

What make a proxy non transparent?

A

When they change the request in some way before passing it along to the server.

234
Q

What are the numerous functions proxies can perform?

A

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
Q

What can make HTTP stateful?

A

Cookies

236
Q

HTTP relies on what?

A

TCP. Which is connection-based

237
Q

What is QUIC

A

A general-purpose transport layer network protocol that builds on UDP to provide a more reliable and efficient TLP

238
Q

Who designed QUIC

A

Jim Roskind at Google

239
Q

Common features controllable with HTTP are?

A

Caching, relaxing the origin constraint, authentication, proxy & tunneling, sessions.

240
Q

HTTP flow

A
  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
Q

What happens when HTTP pipelining is activated?

A

Several requests can be sent without waiting for the first response to be fully received.

242
Q

HTTP message defined in HTTP/1.1 and earlier..

A

Are human-readable

243
Q

Messages in HTTP/2 are…

A

Embedded into a binary structure, a frame, allowing optimizations like compression of headers & multiplexing.

244
Q

What is the most commonly used API based on HTTP?

A

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
Q

What is a protocol?

A

A rule which describes how an activity should be performed, especially in the field of diplomacy.

246
Q

Why is HTTP so successful?

A

Because it is relatively simple compared to most client/server protocols.

247
Q

What is the key to designing protocols?

A

To think through all possible uses of the protocol and describe each scenario carefully.

248
Q

Metadata

A

Data about data

249
Q

Open Systems Interconnection (OSI) model

A

A more abstract model than TCP/IP that can be used to understand a wide range of network architectures.

250
Q

What are the OSI model layers?

A
  1. Physical 2. Datalink 3. Network 4.Transport 5. Session 6. Presentation 7. Application
251
Q

What is the TCP/IP model widely used to do? Compared to the OSI model

A

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.