HTTP Flashcards

1
Q

Explain what happens when you send a http request

A

Your browser goes to the Domain Name Server or DNS (think of this like an address book or phone book) and finds the real address of the Google server that the website lives on (the IP address which is a series of four period-separated numbers like 52.33.229.159).

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

What does URL stand for?

A

Uniform Resource Locator When we enter in the URL of http://facebook.com we expect to get Facebook’s homepage back as a resource that was located.

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

What are the two parts to a URL?

A

HTTP is the protocol identifier and facebook.com is the resource name

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

What is an IP Address?

A

“IP Address” is probably another one of those tech buzzwords you may have heard here and there. It may look and sound intimidating, but an IP address is simply one computer’s unique identifying address.

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

What is DNS?

A

Note: When you type in www.cnn.com, your web browser visits something called the DNS (Domain Name Server), which acts like a phone book. The DNS finds the domain name of www.cnn.com, matches it with the correct IP address, and sends the request to CNN’s servers!

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

What are some examples of web server technology?

A

Apache, Nginx, Tomcats, Webrick/Unicorn

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

What are some examples of interpreters technology?

A

PHP, Python, Ruby, C#, Java

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

What are some examples of database technology>

A

MySQL, SQLLite, Postgres, Oracle, Redis, MongoDB

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

What are some frameworks for the interpreters? The tools to add functionality/library

A

PHP - CodeIgniter, CakePHP, Zend Python - Django Ruby - Rails, Sinatra C# - .NET MVC Java - Spring Framework

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

Front End, Server Side, Backend, Database

A

Full-Stack Developer

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

An important thing to not it that although response can be prepared in many different ways, it will always be __

A

Some combination of HTML, CSS, and Javascript

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

What is back end development?

A

Everything that happens on the server-side between the accepted request and the delivered response is what we call back end development

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

What is HTML?

A

HyperText Markup Language (HTML) is the main markup language for all web pages. HTML elements are the basic building-blocks of the internet.

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

What is the purpose of tags?

A

HTML defines a number of tags that we can wrap the contents with. HTML is the language of the web and it gives us a communication method to work with the browser.

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

What are the necessary tags for HTML>

A

HTML, Head, Body

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

When tags encapsulate other tags it’s called ___

A

Nesting

17
Q

What is the DOM?

A

The hierarchy that rises from nesting is called DOM - Document Object Model?

18
Q

How do you comment?

A
19
Q

What does doctype do>

A

It allows the browser to know the type of document that will be used. Read in standard mode. We are using the latest accepted HTML conventions.

20
Q

What does the head do?

A

The head will eventually contain meta-data about the document, the external Stylesheets and JS libraries that the document will use, and the document’s title.

21
Q

What does the body do?

A

The body will contain the user content. Everything in the document that will be visible in the browser window

22
Q

Div?

A

For additional sectioning needs, we will use the

tag which stands for division

23
Q

How is indentation determined?

A

Determined by the PCS relationship, not by how we want the HTML to be visually rendered on the browser

24
Q

What are meta tags?

A

Meta tags make your web page more meaningful for search engines like Google.

25
Q

What does the attribute content of the description tag do?

A

Describves the basic purpose of your web page. For each web page, you should place a concise and relevant summary im this section.

26
Q

Describe

A

It is the proper encoind declared to a browser through a meta tag in the header.

27
Q

Make an image tag

A

SRC is for source where the image resides and alt is the descrition in case the image fails to load.

28
Q

What are the common elements for html?

A

Headings and Paragraphs of text, Images, Links, Lists, Tables, Forms

29
Q

Heading

A

A heading is a section title, which means that often (but not always) each section (

) will have a heading

30
Q

How do you create a link?

A

which stands for anchor tag. Links also need an attrivute called href to tell where to go

31
Q

What are the possible attributes for href?

A

An absolute URL - points to another website (like href=”http://www.example.com/default.html”) A relative URL - points to a file within a website (like href=”default.html”) An anchor URL - points to an anchor inside a page (like href=”#top”)

32
Q

What is the most common use of a list?

A

For navigation links mostly. ul and ol using li for list items

33
Q

Make a table

A
34
Q

Forms are

A

Responsible for all the data exchange betwen the user (front-end) and the server (back-end).

35
Q

A form is declared….

A

A form is declared using the

<form> tag which will have attributes action and method that decide where the form information gets sent, and how it gets sent respectively.
</form>

36
Q

Describe a label and input tag for a form

A

<label>First Name:</label>

<input></input>

The for and id fields are linked together. The name attribute is typically used for sending form data to the back end. It also normally corresponds to the id attribute.