Final Exam Flashcards
HipText markup language (HTML) is the standard markup language for web documents.
false
Developing ______________ web pages requires knowledge of disabilities, assistive technologies and software used by users with disabilities, and following design practices to ensure content is compatible with those assistive tools.
accessible
In the early 1990s, ______________________ was working at a Swiss research institute named CERN and developed a more convenient way for computers to communicate files over the Internet.
Tim Berners-Lee
PHP code has to start with the PHP opening tag. What does this look like?
php
Where is PHP code executed?
On the server
What is the value of $colours[2] ?
$colours = [ “red”, “green”, “blue”, “orange” ];
blue
Which data type can not be used as an array index?
boolean
What is the index of the last element of this array, “Wednesday”?
$data = array(
“Monday”,
3 => “Tuesday”,
“Wednesday”
);
4
What is displayed with the following markup?
<a>Wikipedia</a>
A link with the text Wikipedia
What is HTML used for?
To markup text to tell a browser how it’s structured
is the control to use for multiple lines of text.
true
Given this URL with this query string:
http://example.com/show.php?page=3&print=true&lang=en
What does the $_GET array in PHP contain?
An array: [ “page” => 3, “print” => “true”, “lang” => “en” ]
Are these the four pieces of data that are required to connect to a database from a PHP script?
hostname, database name, username, password
true
Which form method should be used for a search form?
GET
Which form method should be used for a login form?
POST