Last Quarter of Exam Deck Flashcards
What are the differences between Relational databases and NoSQL databases
* NoSQl can be diffcult to …
* Relation databases have a …
- NoSQL can be difficult to query due to lack of joins and expressive query language.
- Relational databases have a schema which leads to better design and code.
How do you access data with PHP?
PDO (PHP Data Objects)
List the code to “include files”?
- include
- require
- require_once
Explain “calling functions”
- Functions are a way for us to reuse blocks of code
- Functions have: inputs and outputs
- Inputs: We pass information into a function
- Outputs: The outputs are the result or return value of a function
What is SEO?
Search engine optimisation is a process…
Search engine optimisation is a process of tailoring the structure and content of a Web page with search engines in mind
What is the SEO algorithm?
A search engine algorithm examines…
A search engine algorithm examines a number of factors to decide the priority of search results
What is metadata?
metadata is data about data. meta tag content is not displayed in the page but can be used by browsers and other services to get information about a page.
What is microdata?
Microdata enables you to…
Microdata enables you to define keyword values for specific types of information on the page. This allows search engines to better understand the information and provide better results.
List the video codecs
- H.264 (MPEG-4)
- Theora
- VP8
List the audio codecs
- AAC
- MP3
- Vorbis
What is the source element?
Source elements allow you to…
Source elements allow you to provide multiple copies of the file in different formats
What is the picture element?
An image can be added using a picture element to provide responsive specific images.
Picture v img srcset
- img srcset is about resolution switching. The images are the same just at different resolutions.
- picture allows us to define completely different images to be loaded at different responsive points.
How do you add javascript to HTML?
We can define our scripts…
We can define our scripts locally in the document or the script can by added from an external script file by using a “src” attribute of the script tag to define the location of the script file
What is trigger events with event handlers?
An event handler is…
An event handler is used to indicate the code that should execute in response to a specific type of user action