1.3.4 - Web Technologies Flashcards

(40 cards)

1
Q

Search engine definition

A

Systems that locate resources (web pages, files, pictures) on the WWW

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

Search engine index

A

A record of all the resources on the WWW
Created using software called web crawlers

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

Web crawler

A

Software that continuously crawl the web to discover and record publicly available web pages by following hyperlinks

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

Information stored in the index

A

URL of source
Context of source
Last time updated
Quality of resource
Meta tags

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

Meta tags

A

Describe the content of a web page, hidden from users but discoverable by web crawlers

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

Process of searching the web

A

Web crawlers search the web and copy data to index
Search engine looks through index

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

PageRank purpose

A

To list search results in the order of usefulness and relevance

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

How does the page rank algorithm work

A

Start by guessing one for each page and then repeat formula many times until accurate

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

PageRank algorithm

A

PR(A) = (1-d)+d(PR(Ti)/C(Ti)+…+PR(Tn)/C(Tn))

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

Meaning of d in PageRank algorithm

A

Dampening factor - probability of random web browser reaching a page - usually 0.85

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

PageRank factors

A

Domain name
Frequency of search term
Age
Frequency of page updates
Magnitude of content
Keywords in <h1> tags

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

Components of a network model

A

Client and server

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

Two types of network model

A

Client-server and peer-to-peer

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

Features of a client-server network

A

Central server used to manage security
Files and processing on central server
Clients issue requests to server

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

Features of a peer-to-peer network

A

No central server
All computers can see all files
If a computer is switched off, data can not be retrieved

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

Advantages of client-server

A

Good for all size organisations
Access levels centrally controlled
Centralised and automated backup

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

Disadvantages of client-server

A

Expensive to set up and manage

18
Q

Advantages of peer-to-peer

A

Cheap to set up and maintain
Each computer can act as client and server
Can be used for coverage of live events

19
Q

Client processing

A

Data is processed before it is sent to a server by the client
Usually in the form of scripts

20
Q

Advantages of client processing (JavaScript)

A

Immediately responds to user action
Quick execution as no communication with server
Reduces load on server
Increases security for user as no chance for data interception

21
Q

Disadvantages of client processing (JavaScript)

A

Not all browsers support all scripts
Dependent on performance of client’s machine
Different browsers process scripts differently

22
Q

API

A

Application Programming Interface

23
Q

API description

A

A set of rules and protocols that allows software applications to communicate with each other and exchange data features and functionality

24
Q

Server side processing needs

A

Provide another layer of validation to user input
Display pages
Structure web applications
Interact with databases
Client side can be easily circumvented
Sensitive data
Way of processing is a company secret

25
HTML uses
Defines the content and layout of a web page
26
CSS use
Aesthetics of the page and assets
27
JavaScript
Used to add interactivity to a webpage and for client side processing
28
Linking a CSS file to a file
< link rel="stylesheet" type="text/css" href="filename.css"/>
29
Tag used to create sections of a webpage
30
Identifiers (id="x" in opening tag)
#
31
Classes (class="x" in opening tag)
.
32
Form entry example
Name:
33
Button example
34
JS variable syntax
var x = document.getElementById("box");
35
Changing appearance in JS
x.style.color = "#000000";
36
JS writing to document
document.write("Hello World");
37
JS alert box
alert("Hello World");
38
CSS properties (9)
color background-color border-color border-style border-width font-family font-size height width
39
CSS inline styling

40
CSS stylesheet styling
h1{ color:blue; height:10px; }