1. Introduction to Web Programming Flashcards

(66 cards)

1
Q

____ was an early way for transferring files over the internet.

A

FTP (File Transfer Protocol)

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

A web ____ is a program that serves web pages to web browsers.

A

server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
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
4
Q

The ____ refers to the interconnection of computers communicating using a set of rules. The ____ is just one particular use of the previous entity.

A

internet, web

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

A web ____ is a program that downloads an HTML document from a web server, displays the document to the user with the appropriate formatting, and allows the user to interact with the document.

A

browser

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

Which browser won the first browser war (1995–2002)?

A

Internet Explorer

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

Which browser won the second browser war (2004–2013)?

A

Chrome

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

The ____ is the international standards organization that traditionally has controlled a number of web standards, including HTML

A

World Wide Web Consortium (W3C)

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

What was the final HTML standard released by W3C?

A

HTML5

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

In 2019, the W3C relinquished HTML standards publishing to the ____, an organization that develops a variety of web standards and whose members include the major browser vendors.

A

Web Hypertext Application Technology Working Group (WHATWG)

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

WHATWG produces the HTML ___, a continually evolving standard without version numbers that replaces HTML5.

A

Living Standard

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

____ defines the content and structure of a web page

A

HTML

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

____ specifies the layout and visible appearance of a web page

A

CSS

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

____ describes the dynamic behaviors and actions of a webpage

A

JavaScript

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

An internet ____ contains To and From IP addresses, the information to communicate, and other configuration information

A

packet

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

A(n) ____ is a computer’s unique address on the internet (like a house’s unique address in the world), usually represented numerically like 198.51.100.7

A

IP address

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

The original Internet Protocol, known as ____, has 32-bit addresses. A new version of the Internet Protocol, ____, uses 128-bit addresses.

A

IPv4, IPv6

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

A(n) ____ converts a domain name to an IP address.

A

DNS server

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

Thirteen main DNS servers (called ____ servers) exist in the world, and a computer’s operating system or an ISP keeps a reference to these servers’ IP addresses

A

root

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

Anyone may register an unused domain name with a domain name ____

A

registrar

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

A domain name belongs to numerous ____ domains, such as .com, .net, .org, etc.

A

top-level

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

A ____ domain is typically a company or organization’s name, such as “wikipedia” in “wikipedia.com”

A

second-level

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

A ____, which stands for ____ is the location of a web resource on the web, such as http://www.cdc.gov/alcohol/faqs.htm

A

URL, Uniform Resource Locator

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

A ____ is any retrievable item, like an HTML file, image, video, CSS stylesheet, etc.

A

web resource

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
The characters at the beginning of a URL, followed by a colon (e.g., "http"), are called the ____
scheme
26
The complete domain name following the scheme is called the ____.
hostname
27
The characters to the right of the hostname (e.g., "/dashboard") in a URL are called the ____
path
28
The ____ in a URL is the optional characters to the right of the question mark (?) in a URL that provide data for the web server
query string
29
The ____ in a URL is the optional characters at the end of a URL that start with a hash character (#) and refer to a certain location within a webpage.
fragment
30
A ____ status code returned by a server means that a particular page has not been found
404
31
____ is the general name for a once valid link that now returns a 404 status code.
Linkrot
32
The ____ is a networking protocol that runs over TCP/IP and governs communication between web browsers and web servers.
HyperText Transfer Protocol
33
____ is a protocol suite that governs how data packets are transferred over the internet from one machine to another.
Transmission Control Protocol/Internet Protocol (TCP/IP)
34
Before HTTP communication begins, the web browser extracts the domain name from the URL being accessed and performs a ____. The web browser does this by sending the domain name to the local DNS and getting back the IP address of the web server hosting the domain name.
DNS lookup
35
The browser uses the IP address received from the local DNS to establish a ____ connection with the web server and begins communicating with HTTP.
TCP
36
What are the four parts that an HTTP request and response are comprised of?
1. Start line 2. Zero or more header fields 3. A blank line 4. Optional message body
37
What does the start line in an HTTP header do?
It specifies the HTTP version being used.
38
A header field is a ____ followed by a colon and a ____.
keyword, value
39
The message body in an HTTP request/response contains ____ being transferred between a web browser and web server.
data
40
When the media type is specified in the HTTP response, it is specified as a(n) ____ type, which includes a type (category) and a subtype (specific type), separated by a slash (e.g., "text/html")
MIME
41
What are six common HTTP request methods?
GET HEAD POST PATCH PUT DELETE
42
Which status code is sent when the web server wants to redirect the browser to a different URL?
301 or 302
43
Which status code is sent when the requested URL does not point to an existing resource on the web server?
404
44
Which status code is sent when the web browser is denied permission to the requested URL?
403
45
Which status code indicates that the HTTP request was successful?
200
46
Which status code represents an internal server error?
500
47
A(n) ____ is an area on the computer's file system where web content can be stored by the web browser for quick retrieval later.
browser cache
48
A(n) ____ is an identifier for a specific version of a web resource.
entity tag (Etag)
49
____ is an HTTP request header used with the Last-Modified date/time to request the web server only send the requested resource if the resource has changed since the specified date/time.
If-Modified-Since
50
____ is an HTTP request header that contains a date/time indicating when the requested resource is considered "stale"
Expires
51
The ____ header is an HTTP request header that is used to specify a number of caching directives
Cache-Control
52
A ____ is software that monitors network traffic and allows users to inspect HTTP requests and responses.
network sniffer
53
____ encrypts HTTP traffic between a browser and web server so a network sniffer cannot intercept sensitive information in the HTTP traffic like passwords, credit card numbers, financial transactions, etc
HTTPS
54
HTTPS uses a protocol called ____, which uses asymmetric public keys to encrypt data between the browser and web server
Transport Layer Security (TLS)
55
A website wanting to use HTTPS must acquire a ____, issued by a trusted authority, that contains a public key used by TLS to encrypt data
digital certificate
56
Web browsers often use ____ to aid in caching web resources. These serve as an identifier for a specific version of a web resource
Entity tags (ETags)
57
____ are visual clues that guide the user in figuring out how to use an app. These are harder to implement for mobile apps.
Affordances
58
The ____ is the global collection of communicating devices that sense and control technology on behalf of humans
Internet of Things (IoT)
59
____ is the use of artificial intelligence techniques and access to vast amounts of data to simulate human problem solving in complex situations with ambiguity, changing data, and even conflicting information.
Cognitive computing
60
____ is the design principle of breaking up web content using distinct languages and documents that overlap as little as possible
Separation of concerns
61
A(n) HTML ____ is a single HTML structure that is represented with HTML tags
element
62
A(n) ____ has a descriptive name surrounded by < and > characters that the web browser uses to display content
tag
63
A(n) ____ has a descriptive name surrounded by < and > characters that the web browser uses to display content
element
64
A link is created with a(n) ____ element.
anchor
65
____ is a textual language for describing how a webpage is styled for visual presentation.
Cascading Style Sheets (CSS)
66
A CSS ____ specifies styling properties for specific HTML elements.
rule