PHP, Images and SEO Flashcards

1
Q

What does URI stand for?

A

Uniform Resource Identifiers

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

What is the interaction between the web client and web server called?

A

HTTP - HyperText Transfer Protocol

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

What does RPC stand for? What is an RPC?

A

Remote Procedure Call. A series of functions called by the User that send requests to the server, the function is executed on the server and a response is sent back.

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

Using the URI http://hostname.com:8080/folder/index.html identify four different sections of the URI?

A

http - the protocol
hostname.com - the server
8080 - the port
/folder/index.html -the request path

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

What does URL stand for?

A

Uniform Resource Locators

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

List the five HTTP verbs.

A

GET
POST
PUT
PATCH
DELETE

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

How does one assign variables in php?

A

$variable_name = variable_value;

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

Print a variable numbers in PHP?

A

echo $numbers;

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

Write a function in C which returns an int that is default valued to 1 if a undefined value is entered.

A

function functionName($parameter=1):int {
return parameter;
}

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

What does a get request do?

A

Passes information via URL.

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

What is the difference between a URL and a URI?

A

URI identifies a resource and differentiates it from others by using a name, location, or both.
URL identifies the location only of a unique resource.

So URL is a subset of URI.

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

When should POST be used instead of GET?

A

POST should be used for sensitive information, or for large amounts of information.

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

What does DBMS stand for?

A

Database management system

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

Give three advantages of databases.

A

Efficient data management
Data integrity and security
Querying and reporting

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

What does RDBMS stand for?

A

Relational Database management system

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

What does GNU mean?

A

General Use - Open source, is a general public licence.

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

What is a URN?

A

Uniform Resource Name, identifies a resource permanently but doesn’t provide a location.

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

What does CMYK stand for?

A

Cyan, Magenta, Yellow and Black

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

How many bits are required for true color?

A

24

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

Define dithering.

A

When a browser cannot show a color out of its range so it mixes two colors to produce the missing one.

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

Define shift.

A

When a browser cannot show a color out of its range so it shifts the missing color to one similar in the supported set.

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

What does a high dithering percentage mean?

A

True color, large file size.

23
Q

Why does format matter?

A

-Search Engine Optimisation.
-Bandwidth and loading times.
-Additional unnecessary functionality can lead to longer load times.

24
Q

What do the following acronyms stand for?
GIF
JPEG
PNG
SVG
WebP
ICO
APNG

A

Graphics Interchange Format
Joint Photographic Expert Group Image
Portable Network Graphics
Scalable Vector Graphics
Web Picture Format
Microsoft Icon
Animated Portable Network Graphics

25
Q

Differentiate between vector and raster?

A

Raster images are only high quality at their intended resolution as pixelation will occur.

Vector Images are mathematically generated from a series of points, and can be resized without a drop in quality.

26
Q

What is transparency?

A

A single color being made invisible.

27
Q

What are the problems with transparency?

A

Creation of artefacts and halos.

28
Q

Explain the solution to artefacts and halos with transparency.

A

Anti-aliasing is a technique which makes diagonal or curved edges smoother by interpolating between the foreground and the background color. The pixels get lighter and lighter until transparent.

29
Q

What is a halo?

A

A White border left around an image

30
Q

Differentiate between lossy and lossless compression.

A

Lossy: Compression algorithm results in a loss of data, will not be the exact same image but not very noticeable.
Lossless: Exact same image as original when decompressed.

31
Q

When was GIF developed, by who?

A

Developed by CompuServe in 1987.

32
Q

What are the three image formats that are universally supported?

A

JPEG, GIF, PNG

33
Q

When was JPEG developed by who?

A

Developed by Joint Photographics Expert Group (1992)

34
Q

What does JFIF stand for?

A

JPEG File Interchange Format

35
Q

When was PNG developed by who?

A

Developed by W3C in 1996

36
Q

When was SVG developed?

A

1998.

37
Q

When was WebP developed by who?

A

Developed by Google in 2007

38
Q

Which formats are vector and which are raster?

A

Vector:
SVG
Raster:
GIF, JPEG, PNG, WebP

39
Q

Which formats support transparency and animation?

A

GIF, PNG, SVG, WebP

40
Q

Which formats use lossy compression and which formats use lossless compression?

A

Lossy:
JPG, WebP
Lossless:
GIF, PNG, SVG, WebP

41
Q

Compare size of these five main image formats.

A

GIF - Small file size.
JPEG - smaller than PNG-24.
PNG-8 smaller than GIF.
PNG-24 larger than JPEG.
SVG-smaller than PNG, JPEG, GIF.
WebP - 25% smaller than other popular formats.

42
Q

What do GIFS, SVG’s and WebP’s support well that other types don’t?

What does SVG only support?

A

Animation.

It can be coded with HTML, CSS, Javascript.

43
Q

What is the best and second best choice for (a) photographs, (b) icons, (c) screenshots (d) diagrams, drawings and charts?

A

WebP than JPEG
SVG than Lossless WebP
Lossless WebP than PNG
SVG than PNG

44
Q

What is interlacing?

A

Image showed in gradually increasing resolution, allows reader to get an idea of what the image will eventually look like much faster.

45
Q

Define SEO?

A

SEO is the process of affecting the visibility of a website or a webpage in a search engine’s unpaid or organic results.

46
Q

List the five steps of search engines.

A

Crawl
Cache
Retrieve
Rank
SERP (Search Engine Results Page)

47
Q

When was the earliest example of SEO?

A

1995-97 the band Jefferson Starship

48
Q

When was the term SEO coined and who popularized it?

A

In 1997, the Webstep Marketing Agency first used the phrase.
Danny Sullivan founder of Search Engine Watch popularized the term in 1998.

49
Q

What percentage of the market does google hold? What percentage of clicks go into the first five organic results?

A

85 %

67.6%

50
Q

What is a Google Core Update?

A

A major change to the Google algorithm that permanently alters SEO.

51
Q

What is the difference between white and black hat SEO?

A

Black hat SEO goes againt guidelines set by search engines to gain higher rankings and can lead to being blacklisted.

White hat SEO uses ethical practices to improve rankings.

52
Q

What is CTR?

A

Click Through Rates - The ratio of users who click on a specific link to the number of total users who view a page, email or advertisement.

53
Q

Name the three different categories of SEO?

A

On-Page, Off-Page and Technical SEO

54
Q

Briefly describe the changes brought in by the following google core updates. Give their year if not already specified.
(a) Caffeine
(b) Panda
(c) Penguin
(d) 2012
(e) Fred
(f) Medic
(g) Bert
(h) MUM

A

(a) 2010 allowed much faster access to news and new updates
(b) 2011 Rewarded high quality content
(c) 2012 anti-spam
(d) Mobile Responsive Sites
(e) 2017 Penalise too many ads
(f) 2018 Medical Website ranked via expertise, authority and trust.
(g) 2019 Search intent, Machine Learning
(h) Natural Language Processing