Ajax takes advantage of ________ scripting to make applications more responsive.
ID: 3558032 • Letter: A
Question
Ajax takes advantage of ________ scripting to make applications more responsive.
a) server-side
b) PHP
c) client-side
d) XML
Ajax applications respond to user actions by making ________ requests to a web server.
a) synchronous
b) asynchronous
c) contiguous
d) asymmetric
When an XMLHttpRequest object receives a response from the server, it invokes a ________, which usually performs a ________ to display the retreived data.
a) recursive function, browser reload
b) anonymous function, browser redirect
c) callback function, partial page update
d) delayed function, database query
If the code in a try block causes an exception, execution passes to ________.
a) the next line of the try block
b) the next function
c) the corresponding catch block
d) the corresponding error block
The XMLHttpRequest object parses an XML response into a DOM tree and stores it in the ________ property.
a) response
b) responseXML
c) xmlData
d) responseTree
JavaScript was primarily designed to run in which tier of a three-tier web application?
a) user interface (top) tier
b) business logic (middle) tier
c) information (bottom) tier
d) None of the above.
Which tier typically contains a relational database?
a) user interface (top) tier
b) business logic (middle) tier
c) information (bottom) tier
d) None of the above.
SQL is a ________.
a) relational database
b) non-relational database
c) language for creating database queries and manipulating data
d) personal relational database
Each table column in a relational detabase represents a different ________.
a) data attribute
b) primary key
c) record
d) result set
There is a(n) ________ relationship between a primary key and its corresponding foreign key.
a) one-to-one
b) one-to-many
c) many-to-one
d) inverse
The following SQL query:
SELECT * FROM TableName
a) generates an error.
b) selects all rows from the table TableName.
c) selects all columns from the table TableName.
d) selects all rows and columns from the table TableName.
The ________ SQL statement is used to change existing data in a table.
a) EDIT
b) UPDATE
c) CHANGE
d) MODIFY
MySQL functions on the ________ platform.
a) Windows
b) Linux
c) UNIX
d) All of the above
Which of the following are PHP data types?
a) integers, strings and text
b) integers, floating point numbers and text
c) integers, floating point numbers and strings
d) integers, strings and text
Arrays must be indexed with which of the following data types?
a) integers only
b) either an integer or a string
c) an integer, string, or floating point number
d) either an integer or a floating point number
Which of the following can be used to compare strings?
a) ==
b) !=
c) <=
d) All of the above.
GET and POST data sent to a PHP script are accessible using the ________ and ________ superglobal arrays.
a) $GET, $POST
b) $GETDATA, $POSTDATA
c) $CLIENT, $SERVER
d) $_GET, $_POST
A cookie that lasts only until the browser is closed is called a ________ cookie.
a) session
b) persistent
c) temporary
d) timed
Explanation / Answer
1) c) Client Side
Ajax takes advantage of client-side scripting to make applications more responsive.
2) b) Asynchronous
Ajax applications respond to user actions by making asynchronous requests to a web server.
3) c) Callback function, partial page update
When an XMLHttpRequest object receives a response from the server, it invokes a callback function , which usually performs a partial page update to display the retreived data.
4) c) The corresponding catch block
If the code in a try block causes an exception, execution passes to the corresponding catch block
5) b) responseXML
The XMLHttpRequest object parses an XML response into a DOM tree and stores it in the responseXML property.
6) a) User interface (top) tier
JavaScript was primarily designed to run in user interface (top) tier of a three-tier web application.
7) c) Information (bottom) tier
Information (bottom) tier typically contains a relational database.
8) c) Language for creating database queries and manipulating data
SQL (Structured Query Language) is a language for creating database queries and manipulating data .
9) a) Data attribute
Each table column in a relational detabase represents a different data attribute .
10) b) one-to-many
There is an one-to-many relationship between a primary key and its corresponding foreign key.
11) d) selects all rows and columns from the table TableName.
The following SQL query:
SELECT * FROM TableName selects all rows and columns from the table TableName.
12) b) UPDATE
The UPDATE SQL statement is used to change existing data in a table.
13) d) All of the above
MySQL functions on the Windows, LINUX, UNIX (All of the above) platforms.
14) c) integers, floating point numbers and strings
Integers, floating point numbers and strings are PHP data types.
15) a) integers only
Arrays must be indexed with integer data types.
16) d) All of the above.
==, !=, <= (All of the above) can be used to compare strings.
17) d) $_GET, $_POST
GET and POST data sent to a PHP script are accessible using the $_GET and $_POST superglobal arrays.
18) a) session
A cookie that lasts only until the browser is closed is called a session cookie.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.