1.3.4 - Web Technologies Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is HTML?

A

Hypertext Markup Language is a programming language that is used to write web pages.

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

What are the two sections of an HTML webpage?

A

Head and body.

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

What is the HTML syntax for a heading?

A

<h1>, <h2>, ... <h6>

In order of decreasing size.</h6></h2></h1>

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

What is the HTML syntax for a paragraph?

A

<p></p>

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

What is the HTML syntax for an image?

A

<img></img>

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

What is the HTML syntax for a hyperlink?

A

<a> Link text </a>

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

What is the HTML syntax for an ordered list?

A

<ol>
<li> Item 1 </li>
<li> Item 2 </li>
</ol>

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

What is the HTML syntax for an unordered list?

A

<ul>
<li> Item 1 </li>
<li> Item 2 </li>
</ul>

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

What does the div tag do?

A

Divides the page into separate areas which can be uniquely referred to by name.

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

What is the syntax for a named division?

A

div id = “page”

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

What is CSS?

A

Cascading style sheets is a language used to determine the style of the webpage.

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

What is embedded CSS?

A

Where CSS is placed inside the style tags directly into the HTML document.

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

What is external CSS?

A

Where CSS is written on a separate document and a link is provided in the header.

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

What is the syntax to link an external CSS sheet?

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

In terms of CSS, what is a class?

A

A way of applying a particular CSS style to multiple elements.

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

In terms of CSS, what is an identifier?

A

A way of applying a particular CSS style but only to a single element.

17
Q

What is JavaScript?

A

A programming language that is used to add interactivity to websites such as mini-games or validating forms.

18
Q

Is JavaScript interpreted or compiled?

A

Interpreted.

19
Q

What are the advantages of using JavaScript?

A

The local computer can deal with invalid data before it goes to the servers which ease the load on busy servers.

Reduces web traffic.

20
Q

What is the JavaScript syntax for changing an attribute of an HTML element?

A
element = document.getElementById("example");
element.innerHTML = "Hello world";
21
Q

What is the JavaScript syntax for writing directly to the document?

A

document.write(“Hello world”);

22
Q

What is the JavaScript syntax for displaying an alert box?

A

alert(“Hello world”);

23
Q

What is a search engine?

A

A program that searches through a database of internet addresses looking for resources based on criteria set by the client.

24
Q

What determines the order of web pages?

A

The PageRank algorithm.

25
Q

What is a web crawler?

A

A bot that traverses the Internet following links on each site. It then adds this to the index which is then searched by the browser.

26
Q

What are the two factors that affect the value of the PageRank?

A

How many incoming links it has from other web pages.

The PageRank of the web page that links to it.

27
Q

What is server-side processing?

A

When a client sends data to a server for it to be processed.

28
Q

What are the advantages of server-side processing?

A

Can perform large calculations much faster than clients.

Not browser-dependent

More secure.

29
Q

What is client-side processing?

A

When a client processes data on a local device.

30
Q

What are the advantages of client-side processing?

A

Doesn’t waste server space.

Webpage immediately responds to user actions.

Executes quickly.

31
Q

What are the disadvantages of server-side processing?

A

Can waste server time for simple tasks.

Can reduce security as data has to be transmitted to the server.

32
Q

What are the disadvantages of client-side processing?

A

Browser dependant.

Slower to process large amounts of data.

Cannot access features of a server such as comparing credentials to a customer database.