3.4 Web Technologies Flashcards

1
Q

What is the purpose of HTML?

A

Allows a browser to render a webpage by describing the structure and layout of the webpage. Defines the contents of the web page using elements that are put in between <>.

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

What is a class/identifier and what is the difference?

A

A HTML attribute given to an element allowing it to be specifically styled in CSS.

Classes can be given to multiple elements whereas IDs are unique to an element.

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

What is the purpose of CSS?

A

Describing the style of a web page. Specifies the way that html elements look. Uses # to select IDs and . to select classes.

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

What is JavaScript?

A

An interpreted scripting language used to add interactivity to web pages.

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

What are the advantages of using JS?

A

client computer can validate input data before sending it to server

eases the load on busy servers

reduces web traffic

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

What is a search engine?

A

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

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

Why are search engine results indexed?

A

So that the most high quality and relevant websites are displayed at the top of the page.

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

What is used to index web pages?

A

web crawlers/spiders

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

How do web crawlers work?

A

Traverse the internet web page by web page using links to travel between sites. At each web page, it takes each word and adds an entry for the page in the index under that word.

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

What factors does the pagerank algorithm depend on?

A

how many incoming links a web page has from other websites

the page rank of the web pages that link to this website

how long the web page has existed

the amount of relevant content on the web page

the number of links to high page rank websites

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

What is the damping factor?

A

A value between 0 and 1 that represents the probability that a user will not follow a link.

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

What is the difference between server-side and client-side processing and give a language that uses each?

A

Server side processing is when a client sends data to the server to process it e.g. SQL or PHP

Client side processing is when data is processed on the local computer e.g. JavaScript

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

What are the advantages of server side processing?

A

server has larger processing power than clients so can perform large calculations

not browser dependent

more secure

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

What are the advantages of client side processing?

A

web page is more responsive on the user end

instructions are executed quicker

developers have more control over the behaviour of the website

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