Web Tech Flashcards

1
Q

What does Hyper Text Mark up Language do?

A

Describes the content of the webpage. By content we mean the text on the page, any image etc

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

What is the homepage of every website called

A

index.html

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

What are tags

A

A html document is made up of tags. Tags tell the browser what the following data is and where it should go

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

What is CSS

A

Cascading Style Sheets
-A language that defines how webpage will look.

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

what are the the pros and cons of embedding css

A

CSS can be embedded within HTML
+No need for an external file
+Can make direct changes to a particular HTML element specific to that page
-If you want to change something across many webpages it requires many changes

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

What are the pros and cons of having css be an external file

A

+A single change can affect every webpage (no copy / paste)
+HTML files are minimal

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

main heading

A

h1

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

Displays image

A

img src=”hi.jpg>

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

unordered bullet list

A

ul

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

ordered list

A

ol

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

list item

A

li

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

Hyper link that can be clicked on the webpage

A

a href =” “

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

set text to bold

A

b

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

set text as italics

A

i

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

set text underlined

A

u

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

new paragraph

A

p

17
Q

What is the world wide web

A

Is the collection of webpages/resources/images/etc(the stuff we view in a the browser

18
Q

what is the internet

A

an inter connected network its the infastructure

19
Q

How is a search engines index maintened

A

by web crawlers/spiders they are software/programs that continuososly vists publicly available sites to update the websites index entry then follow any hyper links on that page

20
Q

what info is a added to the index by crawlers

A

-URL
-When last updated / frequency of updates/size of update
-meta data
-how credible/ reliable the webpage is

21
Q

what is meta data

A

Data / info about the web page added by a web developer (not visable to users)

22
Q

What is page rank

A

helps the search engine rank web pages by how useful/credable they are

23
Q

How is a web page rank calculated

A

by how many inbound links it has and the page rank of those webpages

24
Q

Describe how a search engine builds it’s index

A

Web crawlers / spiders visit publicly available webpages, by following links.
It records info such as URL / date last modified and it’s Page rank on the index and then continues by following any further hyper links

25
Q

what is the purpose of the page rank algorthm

A

so that webpages can listed in order of relevance

26
Q

What is the purpose of the damping factor

A

A value between 0 and 1. it is the probability that a user will stop following links

27
Q

What is a server

A

Usuually a powerful computer that waits for reuests from clients

28
Q

what is a client

A

A client is a computer that is used by user, it will make requests to server

29
Q

What is a peer to peer network

A

there is no central server. each computer can communicate and share its resources with any other computer.

30
Q

what are the pros and cons of a centrally run server

A

+user IDs, passwords and access levels are centrally controlled
+backup is centralised and usually automated
+no access to other users files unless they are shared

31
Q

what are the pros and cons of a centrally run server

A

+user IDs, passwords and access levels are centrally controlled
+backup is centralised and usually automated
+no access to other users’ files unless they are shared
+used in small medium and large organisations

-Can be expensive to set up and manage

32
Q

What are the pros and cons of peer to peer

A

+files and programs are stored individual computers
+suitable for a home computer network
+cheap to set up and maintain
+ each computer on the network can act as both client and server
+Files can stored on each computer and shared (only works when the pc is on)

33
Q

What are the pros and cons of client-side processing

A

+Allows for more interactivity by immanently responding to a user’s action
+quick execution as no communication with the server is required
+removes potentially unnecessary processing from the sever
+Data cannot be intercepted on the way to the server increasing security for the server

-scripts are processed by the client so dependent on the speed of the client
-different browsers process scripts in different ways inconsistencies for the user

34
Q

What are the pros and cons of client-side processing

A

+Allows for more interactivity by immanently responding to a user’s action
+quick execution as no communication with the server is required
+removes potentially unnecessary processing from the sever
+Data cannot be intercepted on the way to the server increasing security for the server

-scripts are processed by the client so dependent on the speed of the client
-different browsers process scripts in different ways inconsistencies for the user
-JS can be circumvented or modified

35
Q

What is API

A

Application program interface

allows us to add extra functionalty

36
Q

when should we use client side processing

A

we should always aim to use client side processing to keep load of the server