Explore topic-wise MCQs in Html.

This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.

1.

Number of rows is returned by the attribute __________

A. insertIID
B. rows
C. rowsAffected
D. length
Answer» D. length
2.

insertId attribute returns ____________

A. column ID
B. row ID
C. user’s ID
D. database ID
Answer» C. user’s ID
3.

INSERTID_ATTRIBUTE_RETURNS_____________?$

A. column ID
B. row ID
C. user’s ID
D. database ID
Answer» C. user‚Äö√Ñ√∂‚àö√ë‚àö¬•s ID
4.

Which of the error is raised when the quantity of data is too much?$

A. TOO_LARGE_ERR
B. UNKNOWN_ERR
C. TIMEOUT_ERR
D. QUOTA_ERR
Answer» B. UNKNOWN_ERR
5.

Number_of_rows_is_returned_by_the_attribute___________$

A. insertIID
B. rows
C. rowsAffected
D. length
Answer» D. length
6.

Which attribute is used for getting an individual row?

A. results.rows.item(i)
B. insertId
C. rowAffected
D. length
Answer» B. insertId
7.

What_is_the_required_argument_to_openDatabase?

A. version number
B. database name
C. size of a database
D. text description
Answer» B. database name
8.

Which object is created for read-only transaction?

A. Foo object
B. SQLTransactionSync
C. DatabaseSync object
D. SQLTransaction
Answer» C. DatabaseSync object
9.

Which error is invoked when SQLTransactionCallback does not execute?

A. INVALID_ACCESS_ERR
B. UNKNOWN_ERR
C. TIMEOUT_ERR
D. INVALID_STATE_ERR
Answer» E.
10.

Which method is used to verifythe version number?

A. changeVersion()
B. readTransaction()
C. transaction()
D. executeSql()
Answer» B. readTransaction()
11.

transaction() does not take the argument _______

A. callback
B. success callback
C. error callback
D. database name
Answer» E.
12.

Which feature is not used when SQL features are not being supported?

A. BEGIN
B. END
C. COMMIT
D. ROLLBACK
Answer» C. COMMIT
13.

The sign is used for the placeholder _____________

A. &
B. *
C. ^
D. ?
Answer» E.
14.

openDatabase() method does not take the argument in __________

A. database name
B. display name
C. database version
D. server name
Answer» E.
15.

Which function is used to return a handle to the database?

A. prepareDatabase()
B. showDocCount()
C. executeSql()
D. openDatabase()
Answer» B. showDocCount()