1.3 Flashcards

(9 cards)

1
Q

Inline css disadvantage

A

-Site is slower to access as formatting info needs to be reloaded for each page
-unlikely to have formatting specific to users devices (external file does)
-formatting code has to be written for every page
-changes have to be made to each page
-lot of work to keep the look of the site consistent

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

What is a key advantage of client side processing?

A

Client side processing doesn’t require data to be sent back and forth, making code more responsive.

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

What is a disadvantage of client side processing?

A

Code is visible, which means it can be copied, and the browser may not run the code if it lacks capability or if the user disables it.

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

What is a key advantage of server side processing?

A

Server side processing removes reliance on the browser having the correct interpreter and hides the code from the user.

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

What is a disadvantage of server side processing?

A

It puts extra load on the server, which can be costly for the company hosting the website.

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

When is client side processing best used?

A

Client side processing is best used when the code is not critical and a quick response is needed, such as in games.

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

When is server side processing best used?

A

Server side processing is best used when it is integral to carry out processing, often for generating content or accessing secure data.

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

What is good practice for validation?

A

Good practice is to validate first on the client for a quick response, then on the server to check against circumvention.

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

Methods of improving accessibility

A

Using text alternatives for images

Changing styles using CSS

Avoiding combining colours that may be indistinguishable by those with colour blindness.

Using character sets and fonts that support different alphabets.

Using server side processing to amend the content shown.

Writing web pages to facilitate screen readers (such as giving hyperlinks meaningful names and not just “click here”).

Using tables for tabular data (as they are intended) and not layout (again to aid screen readers).

Ensuring that all content can be accessed with the keyboard alone in a logical way.

Avoiding CAPTCHA.

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