Chapters 3 and 4 Flashcards

1
Q

URL

A

Uniform Resource Locator

Representation standard that specifies the format and meaning of web page addresses

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

HTTP

A

Hypertext Transfer Protocol

Primary Web’s application layer protocol. Transfer protocol that specifies how a browser interacts with a web server to transfer data

Uses client/server model
Browser extracts the address of a server from a URL and contacts the server

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

HTML

A

Hypertext Markup Language

Representation standard used to specify the content of a webpage. The language of the Web.

HTML 5 is what we use, newest

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

client

A

browser that requests, receives, “displays” Web objects (files, images, video, etc.)

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

server

A

Web server sends objects in response to requests

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

GET message

A

browser (client) requests a page from server by sending this

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

RESPONSE message

A

Server responds by sending this message with a header, blank line, and requested document

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

POST request

A

Sends data to a server; the server appends the data to a specified item (e.g. a message is appended to a list)

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

HEAD request

A

Requests status information; server responds by sending status information, but does not send a copy of the document

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

PUT

A

Sends data to a server; the server uses the data to completely replace the specified item (i.e., overwrites the previous data)

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

Status code

A

appears in first line in server to client response

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

Status Code: 200

A

OK

request succeeded, requested object later in this message

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

Status Code: 301

A

Moved Permanently

requested object moved, new location specified later in this message (location)

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

Status Code: 400

A

Bad Request

request message not understood by server

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

Status Code: 404

A

Not Found

requested document not found on this server

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

Status Code: 505

A

HTTP Version not supported

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

Cashing: Conditional GET

A

Goal: Server doesn’t send object if browser’s cache has up-to0date cached version

Browser Cache: HTTP requests specifies date of cached copy in header

Server: Response contains no object if cached copy is up to date.

18
Q

Cascading Style Sheets (CSS)

A

Features like background, color, font, layout

19
Q

JavaScript

A

used to make HTML pages interactive

20
Q

Singleton Tags:

A

<hr></hr>

produces a horizontal line
<br></br> line break, continues text on next line

21
Q

HTML tags…

A

define structure and content of a page, but don’t define the style of a page (styling uses CSS)

22
Q

Each tag defines an…

A

element of a page.

  • Some elements are like boxes
  • Some elements are block elements
  • Others are inline elements
23
Q

Required Tags

A

<!DOCTYPE htmtl>

<html>
<head>
</head>

<body>
</body>
</html>

24
Q

<head>
</head>

A

contains the beginning info (title, link to CSS or JavaScript file, etc) that applies to the whole page

this part is not visible on the actual web page

25
Q

Domain Name System (DNS)

A

Client-server application

Core internet application, provides rules for giving names to computers on the internet. System to translate between human readable names of computers and the IP addresses used by the Internet protocol

“phone book” for the internet

26
Q

protocol

A

the name of the protocol used to access the document

27
Q

computer_name

A

“domain name” of the computer storing the document

28
Q

port

A

port number at which the server is listening

29
Q

document

A

name (or pathname) of the document

30
Q

parameters

A

(optional) parameters for the page

31
Q

Top level domain

32
Q

Second level

A

organization (e.g., “saintmarys”)

33
Q

Hierarchy of Client-Server DNS Queries

A

Root “.”

Root -> com -> facebook
Root -> org -> pbs
Root -> edu - > saintmarys -> sites

34
Q

Name Resolution

A

obtaining IP addresses for domain name

35
Q

Reverse DNS resolution

A

obtaining domain name for IP address

36
Q

resolver

A

Sends DNA request to a DNS server when an application needs an IP address of another host (e.g., web server)

37
Q

Top-Level Domain (TLD) Servers

A

Resposible for com, org, net, edu, etc, and all top-level country domains uk, fr, ca, jp, etc.

38
Q

Authoritative DNS Servers

A

Organization’s DNS servers, providing authoritative hostname to IP mappings for organization’s serves (web, main). Can be maintained by organization or service provider

39
Q

Local Name Server

A

Do not strictly belong to hierarchy

Each ISP (residential ISP, company, university) has one (also called default name server)

When a host makes a DNS request, that query is sent to its local DNS name server first

The default name server forwards query, if needed, into hierarchy

40
Q

ISP

A

internet service provider

41
Q

DNS Records

A

Type = record type (name, value)

Type = A (hostname, IPv4)
Type = AAAA (hostname, IPv6)
Type = NS (domain, hostname for authoritative name server for this domain)
Type = CNAME (canonical, canonical name)
Type = MX (value of mailserver associated with name)