1. The event handler property of the XMLHttpRequest object is ________. status r
ID: 3845009 • Letter: 1
Question
1. The event handler property of the XMLHttpRequest object is ________.
status
readystate
onreadystatechange
responseText
2. In a typical three-tiered webapp, the client of the database server is the _____________.
information tier
web client
DBMS
web server
3. To populate a database table, use the SQL ________ statement.
SELECT
USE
CREATE TABLE
INSERT INTO
4. In the MVC architecture, the user interface is presented in the _____________ layer.
Model
MVC
View
Controller
5. In the adventureGame.php script, the ____________ function returns the form data sent with the HTTP request from the web client.
filter_input
mysqli_query
include
mysqli_connect
6. A PHP array with string indexes is called a(n) _____________ array.
indexed
superglobal
global
associative
7. Which of the following is NOT a way to create a string in PHP?
single quotes
object literal
heredoc
double quotes
8. GET and POST data sent to a PHP script are accessible using the ________ and ________ arrays.
$GETDATA, $POSTDATA
$GET, $POST
$_GET, $_POST
$CLIENT, $SERVER
9. In the adventureGame.php script, the buildButton function returns a _____________________.
number
string
object
boolean
10. In the acronym LAMP, the P stands for _____________.
Python
Perl
any of the above
PHP
11. In PHP, variable names are _______________.
case-sensitive
case-insensitive
over-sensitive
insensitive
status
readystate
Explanation / Answer
1.The event handler property of the XMLHttpRequest object is on ready state change.
2.In a typical three-tiered webapp, the client of the database server is the web server.
3. To populate a database table, use the SQL INSERT INTO statement.
4.In the MVC architecture, the user interface is presented in the View layer.
5.In the adventureGame.php script, the mysqli_connect function returns the form data sent with the
HTTP request from the web client.
6.A PHP array with string indexes is called an associative array.
7.By using an object literal we cannot create a string in PHP.
8.GET and POST data sent to a PHP script are accessible using the $_GET and $_POST arrays.
9. In the adventureGame.php script, the buildButton function returns a boolean.
10. In the acronym LAMP, the P stands for Perl or Python.
11.In PHP, variable names are case-sensitive.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.