1. Introduction to Web Programming Flashcards

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
Q

The characters at the beginning of a URL, followed by a colon (e.g., “http”), are called the ____

A

scheme

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

The complete domain name following the scheme is called the ____.

A

hostname

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

The characters to the right of the hostname (e.g., “/dashboard”) in a URL are called the ____

A

path

28
Q

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

A

query string

29
Q

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.

A

fragment

30
Q

A ____ status code returned by a server means that a particular page has not been found

A

404

31
Q

____ is the general name for a once valid link that now returns a 404 status code.

A

Linkrot

32
Q

The ____ is a networking protocol that runs over TCP/IP and governs communication between web browsers and web servers.

A

HyperText Transfer Protocol

33
Q

____ is a protocol suite that governs how data packets are transferred over the internet from one machine to another.

A

Transmission Control Protocol/Internet Protocol (TCP/IP)

34
Q

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.

A

DNS lookup

35
Q

The browser uses the IP address received from the local DNS to establish a ____ connection with the web server and begins communicating with HTTP.

A

TCP

36
Q

What are the four parts that an HTTP request and response are comprised of?

A
  1. Start line
  2. Zero or more header fields
  3. A blank line
  4. Optional message body
37
Q

What does the start line in an HTTP header do?

A

It specifies the HTTP version being used.

38
Q

A header field is a ____ followed by a colon and a ____.

A

keyword, value

39
Q

The message body in an HTTP request/response contains ____ being transferred between a web browser and web server.

A

data

40
Q

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”)

A

MIME

41
Q

What are six common HTTP request methods?

A

GET
HEAD
POST
PATCH
PUT
DELETE

42
Q

Which status code is sent when the web server wants to redirect the browser to a different URL?

A

301 or 302

43
Q

Which status code is sent when the requested URL does not point to an existing resource on the web server?

A

404

44
Q

Which status code is sent when the web browser is denied permission to the requested URL?

A

403

45
Q

Which status code indicates that the HTTP request was successful?

A

200

46
Q

Which status code represents an internal server error?

A

500

47
Q

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.

A

browser cache

48
Q

A(n) ____ is an identifier for a specific version of a web resource.

A

entity tag (Etag)

49
Q

____ 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.

A

If-Modified-Since

50
Q

____ is an HTTP request header that contains a date/time indicating when the requested resource is considered “stale”

A

Expires

51
Q

The ____ header is an HTTP request header that is used to specify a number of caching directives

A

Cache-Control

52
Q

A ____ is software that monitors network traffic and allows users to inspect HTTP requests and responses.

A

network sniffer

53
Q

____ 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

A

HTTPS

54
Q

HTTPS uses a protocol called ____, which uses asymmetric public keys to encrypt data between the browser and web server

A

Transport Layer Security (TLS)

55
Q

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

A

digital certificate

56
Q

Web browsers often use ____ to aid in caching web resources. These serve as an identifier for a specific version of a web resource

A

Entity tags (ETags)

57
Q

____ are visual clues that guide the user in figuring out how to use an app. These are harder to implement for mobile apps.

A

Affordances

58
Q

The ____ is the global collection of communicating devices that sense and control technology on behalf of humans

A

Internet of Things (IoT)

59
Q

____ 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.

A

Cognitive computing

60
Q

____ is the design principle of breaking up web content using distinct languages and documents that overlap as little as possible

A

Separation of concerns

61
Q

A(n) HTML ____ is a single HTML structure that is represented with HTML tags

A

element

62
Q

A(n) ____ has a descriptive name surrounded by < and > characters that the web browser uses to display content

A

tag

63
Q

A(n) ____ has a descriptive name surrounded by < and > characters that the web browser uses to display content

A

element

64
Q

A link is created with a(n) ____ element.

A

anchor

65
Q

____ is a textual language for describing how a webpage is styled for visual presentation.

A

Cascading Style Sheets (CSS)

66
Q

A CSS ____ specifies styling properties for specific HTML elements.

A

rule