Exam 2018 Flashcards

1
Q

The Internet Protocol originates from the early nineties

A

false

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

The DNS (Domain Name Service) existed before the Web was invented.

A

true

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

SMTP and DNS are technologies developed by Tim Berners-Lee

A

false

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

The notion of “hypertext”, text with links, existed before the Web was invented.

A

true

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

IPv6 (Internet Protocol version 6) is the successor of IPv4.

A

true

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

The IPv4 address space can encode 2^32 addresses, while IPv6 can encode 2^128
addresses.

A

true

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

192.16.196.210 is a valid IPv4 address

A

true

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

The concept of a “port” in the TCP protocol is part of the IP protocol

A

false

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

The World Wide Web was originally invented by the US military.

A

false

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

A web server should always send back exactly the same syntactic representation
of a resource for a given URL

A

false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
The WHATWG (Web Hypertext Application Technology Working Group) sees
the HTML specification as a “Living Standard” that needs continuous maintenance as the language
evolves.
A

true

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

To implement the patented HTML5 specification, browser developers need to buy a license from W3C.

A

false

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

HTML5 documents represent a tree with the html element as the root of the tree.

A

true

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

HTML5 is more strict about syntax details than earlier versions of HTML.

A

false

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

A div element cannot have a class attribute when used as semantic markup.

A

false

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

The new title element replaces the old h1 elements

A

false

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

The article element is an alternative for the title element.

A

false

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

Browsers normalize extra spaces when displaying an HTML file.

A

true

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

The header element is used to group the header-related elements of a document
or section.

A

true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
The selector div.question indicates that a style rule should be applied to all
div elements that have a class attribute with the value "question".
A

false

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

CSS3 media queries are used to write styles rules that adapt the rendering of
HTML to a wide variety of devices.

A

true

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

The rule p {font-weight: bold;} is a correct CSS style rule for making p
elements bold.

A

true

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

page-break-after is a CSS property intended for print media usage

A

true

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

To refer to a CSS style sheet embedded in an HTML document, you can use ‘.’

A

False

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

The “small world phenomenon” means that on the web, most pages are not
indexed by search engines.

A

False

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

If Zipf’s law applies to a corpus, then there are a few terms that appear very
frequently, and a long tail with many terms that appear infrequently

A

true

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

An inverted index lists for each term the document ids in which that term appears

A

true

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

Heaps’ law predicts that if you index many documents, you will have quickly
encountered all unique words in the collection.

A

false

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

Using JavaScript host objects, you can create a pop-up window

A

true

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

JavaScript has no “print” or “echo” statements as part of the language.

A

true

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

The external JavaScript file must contain the tag “script”

32
Q

With JavaScript and the DOM API, you can replace the src attribute of an img
element in response to a mouse click

33
Q

With JavaScript and the DOM API, you cannot remove a p element after the document has been loaded into the browser.

34
Q

The Document Object Model (DOM) models a document as a tree data structure

35
Q

The DOM API can be used in JavaScript, but also in many other programming
languages.

36
Q

An event handler is a function that is called in response of a specific event (for
example, a mouse click).

37
Q

To change the content of the HTML element <h1>Anyone

there?</h1>, you can use the Javascript line: document.getElementById(“h1”).innerHTML = “Hello World!”

38
Q

With AJAX technology, you can replace parts of the page without refreshing the
entire page

39
Q

AJAX technology makes inaccessible sites accessible

40
Q

Websites no longer need to use cookies if they upgrade to AJAX.

41
Q

Websites no longer need to use CSS if they upgrade to AJAX.

42
Q

An HTTP server responding to an AJAX request must respond by serving the
HTML representation of any requested resource

43
Q

If JavaScript code on a web page from www.siteB.com tries to sends an AJAX
request to www.siteA.com, modern web browsers add a HTTP request header Origin:
http://www.siteB.com/ to indicate this to site A.

44
Q

If the HTTP server is designed to be used by an AJAX client, it should never
respond to HTTP POST requests.

45
Q

A drawback of AJAX is that HTTP servers can no longer use the common HTTP
response codes.

46
Q

The HTTP request method must be either GET, POST or PUT.

47
Q

HTTP response codes starting with ”5” indicate a server-side error.

48
Q

HTTP requests are sent by the client, HTTP responses by the server.

49
Q

HTTP is a ”stateless” network protocol.

50
Q

To be able to successfully perform an operation on a Web resource, a Web client
and server need to agree on the URL to access the resource.

51
Q

To be able to successfully perform an operation on a Web resource, a Web client
and server need to agree on the HTTP method(s) allowed on the resource

52
Q

To be able to successfully perform an operation on a Web resource, a Web client
and server need to agree on whether the server will generate the resource dynamically or not

53
Q

To be able to successfully perform an operation on a Web resource, a Web client
and server need to agree on the acceptable representation formats of the resource

54
Q

Cross-origin resource sharing (CORS) is a mechanism to allow restricted
resources on a web server to be requested by scripts on pages from another domain.

55
Q

Cookies can be used to adapt sites to the personal preferences of the user.

56
Q

Cookies are a frequent source of “Trojan horses”.

57
Q

Cookies were introduced in HTML5.

58
Q

Cookies can be used to pass on private and sensitive information.

59
Q

A responsive web document conforms to the W3C accessibility guidelines
(WCAG) 2.0.

60
Q

To support screen readers, you should use the ALT tag to only indicate that this
is an image. For example alt=”this is a picture”

61
Q

W3C’s Web Content Accessibility Guidelines (WCAG) 2.0 deal only with visual
disabilities

62
Q

In order to be completely (level AAA) compliant with W3C accessibility
guidelines, one needs to create five separate versions of a web page: a normal one and one each for
visually, auditory, motoric and cognitively impaired users.

63
Q

Auto-play option for videos increase accessibility of web pages.

64
Q

The goal of A/B testing is to analyze the difference in behaviour on a web page
for two different user groups (for example male/female users)

65
Q

HTTP log files are typically stored client-side.

66
Q

You can make a “low-fidelity mockup” with pen and paper.

67
Q

A web site owner hypothesizes that more than 80 percent of his visitors click the
first link on his page and analyzes user logs to test this. This is a typical example of a explorative study

68
Q

A web site owner hypothesizes that more than 80 percent of his visitors click the
first link on his page and analyzes user logs to test this.

In the above scenario, the independent variable is the link clicked, the dependent
variable is the number of visitors.

69
Q

Web Science is the mathematical study of the Web.

70
Q

The term ”Web Science” was coined by Tim Berners-Lee in 1985.

71
Q

Scale-free networks (such as the Web) have nodes with on average many more
in-links than out-links.

72
Q

Scale-free networks have many nodes that have few links and few nodes that have
many links.

73
Q

Open Data are free to use by anyone, without payment

74
Q

If a company such as Facebook provides free Internet to a specific region, and
they do not favour or slow down IP packets from specific services, they still violate Net neutrality principles as the company acts both as service and network provider.

75
Q

It is a violation of the principle of Net neutrality if Internet service providers cut
off specific Web sites or services such as BitTorrent or YouTube.

76
Q

The Resource Description Framework (RDF) is a W3C standard for
interchanging data on the Web

77
Q

The RDF data model uses two-valued tuples to link text strings into graphs (for
example: ”Victor” - ”TeachesAtVU”).