Exam 2018 Flashcards

(77 cards)

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
The “small world phenomenon” means that on the web, most pages are not indexed by search engines.
False
26
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
true
27
An inverted index lists for each term the document ids in which that term appears
true
28
Heaps’ law predicts that if you index many documents, you will have quickly encountered all unique words in the collection.
false
29
Using JavaScript host objects, you can create a pop-up window
true
30
JavaScript has no “print” or “echo” statements as part of the language.
true
31
The external JavaScript file must contain the tag "script"
false
32
With JavaScript and the DOM API, you can replace the src attribute of an img element in response to a mouse click
true
33
With JavaScript and the DOM API, you cannot remove a p element after the document has been loaded into the browser.
false
34
The Document Object Model (DOM) models a document as a tree data structure
true
35
The DOM API can be used in JavaScript, but also in many other programming languages.
false
36
An event handler is a function that is called in response of a specific event (for example, a mouse click).
true
37
To change the content of the HTML element

Anyone | there?

, you can use the Javascript line: document.getElementById("h1").innerHTML = "Hello World!"
false
38
With AJAX technology, you can replace parts of the page without refreshing the entire page
true
39
AJAX technology makes inaccessible sites accessible
false
40
Websites no longer need to use cookies if they upgrade to AJAX.
false
41
Websites no longer need to use CSS if they upgrade to AJAX.
false
42
An HTTP server responding to an AJAX request must respond by serving the HTML representation of any requested resource
false
43
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.
true
44
If the HTTP server is designed to be used by an AJAX client, it should never respond to HTTP POST requests.
false
45
A drawback of AJAX is that HTTP servers can no longer use the common HTTP response codes.
false
46
The HTTP request method must be either GET, POST or PUT.
false
47
HTTP response codes starting with ”5” indicate a server-side error.
true
48
HTTP requests are sent by the client, HTTP responses by the server.
true
49
HTTP is a ”stateless” network protocol.
true
50
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.
True
51
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
true
52
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
false
53
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
true
54
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.
true
55
Cookies can be used to adapt sites to the personal preferences of the user.
true
56
Cookies are a frequent source of “Trojan horses”.
false
57
Cookies were introduced in HTML5.
false
58
Cookies can be used to pass on private and sensitive information.
true
59
A responsive web document conforms to the W3C accessibility guidelines (WCAG) 2.0.
true
60
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"
false
61
W3C’s Web Content Accessibility Guidelines (WCAG) 2.0 deal only with visual disabilities
false
62
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.
false
63
Auto-play option for videos increase accessibility of web pages.
false
64
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)
false
65
HTTP log files are typically stored client-side.
false
66
You can make a “low-fidelity mockup” with pen and paper.
true
67
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
False
68
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.
true
69
Web Science is the mathematical study of the Web.
false
70
The term ”Web Science” was coined by Tim Berners-Lee in 1985.
false
71
Scale-free networks (such as the Web) have nodes with on average many more in-links than out-links.
false
72
Scale-free networks have many nodes that have few links and few nodes that have many links.
true
73
Open Data are free to use by anyone, without payment
true
74
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.
false
75
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.
true
76
The Resource Description Framework (RDF) is a W3C standard for interchanging data on the Web
true
77
The RDF data model uses two-valued tuples to link text strings into graphs (for example: ”Victor” - ”TeachesAtVU”).
false