R4RIN
MCQS
HTML MCQ Quiz Hub
HTML Mcq Question Set 12
Choose a topic to test your knowledge and improve your HTML skills
1. Which method is used to verifythe version number?
changeVersion()
readTransaction()
transaction()
executeSql()
2. Which error is invoked when SQLTransactionCallback does not execute?
INVALID_ACCESS_ERR
UNKNOWN_ERR
TIMEOUT_ERR
INVALID_STATE_ERR
3. Which object is created for read-only transaction?
Foo object
SQLTransactionSync
DatabaseSync object
SQLTransaction
4. insertId attribute returns ____
column ID
row ID
user’s ID
database ID
5. Number of rows is returned by the attribute ____
insertIID
rows
rowsAffected
length
6. Which of the error is raised when the quantity of data is too much?
TOO_LARGE_ERR
UNKNOWN_ERR
TIMEOUT_ERR
QUOTA_ERR
7. What is the required argument to openDatabase?
version number
database name
size of a database
text description
8. Which attribute is used for getting an individual row?
results.rows.item(i)
insertId
rowAffected
length
9. Sprites are _____
1-D images
2-D images
3-D images
not the image
10. Sprites are not used for _________
beautify the web page
reducing HTTP request
reduce loading time
reducing multiple server requests
11. Each image in sprite should be approximately of ___________
100 pixels
20 pixels
10 pixels
50 pixels
12. Which of the following is not Sprite Sheet generator?
Lemonade
Firewoks CS6
SpriteMe
Pixelomator
13. Which is the best platform for working with the individual image?
SpriteMe
Fireworks CS6
Lemonade
Compass
14. Which of the following does not generate a sprite sheet?
SpriteRight
Sprite Cow
CSS Sprites
Glue
15. Templates can’t be placed inside ____
<head>
<body>
<table>
<form>
16. The .content property is _____
read-only
write-only
read-write
hidden
17. <template> does not include the attribute ____
id
hidden
lang
src
18. Which browser does not support <template> element?
Chrome
Firefox
Internet Explorer
Opera
19. Which of the following is not DOM property?
element.appendChild(node)
document.createElement()
element.innerHTML
document.getElementById()
20. Which of the following is not a template library?
Mustache
Underscore JS library
Live.js
Handlebars
21. Which process is used for the creation of the end result?
render()
compile()
eval(x)
encodeURI()
22. Each cell of the table can be represented by using ____
&lt;tr&gt;
&lt;td&gt;
&lt;th&gt;
&lt;thead&gt;
23. For heading we can use _____
&lt;td&gt;
&lt;tr&gt;
&lt;thead&gt;
&lt;th&gt;
24. Headings of table lies inside ___
&lt;thead&gt;
&lt;tfoot&gt;
&lt;th&gt;
&lt;tbody&gt;
25. Which of the following is not the element associated with HTML table layout?
size
spanning
alignment
color
26. Which of the following element is not associated with a class attribute?
Row
&lt;thead&gt;
Column cell
Rows
27. For adding caption to the table we use __
&lt;caption&gt;
&lt;thead&gt;
&lt;th&gt;
&lt;tr&gt;
28. border-spacing is given in ____
pixels
cm
mm
inch
29. Borders can’t be applied on ___
&lt;th&gt;
&lt;td&gt;
&lt;tr&gt;
&lt;thead&gt;
30. Which attribute defines numbers of columns in a group?
width=multi-length[CN].
span=number[CN].
scope=scope-name[CN].
headers=idrefs[CS].
31. Which of the following does not specify a column width?
Fixed
Percentage
Proportional
Pixels
32. Scope attribute can’t have the value ____
row
rowgroup
col
&lt;head&gt;
33. Which of the following is not the value for frame attribute?
above
void
none
box
34. Which of the following is not the value for rules attribute?
vsides
rows
all
groups
35. Which of the following is not the value for align attribute?
justify
char
middle
left
36. valign attribute does not take the value _______
justify
middle
baseline
bottom
37. External scripts can’t take the tag __
&lt;script&gt;
&lt;form&gt;
&lt;h1&gt;
&lt;title&gt;
38. For displaying data in JavaScript, we can’t use _____
document.write()
console.log()
innerHTML
document.getElementById()
39. For testing we should use ________
document.write()
console.log()
window.alert()
innerHTML
40. Which of the following keyword stops the execution of JavaScript?
break
return
debugger
try….catch
41. Arrays in JavaScript are written within ____
{}
[].
“”
()
42. typeof “null” in JavaScript is ____
number
string
object
undefined
43. Negative positions for string do not work in __
Internet Explorer 8
Chrome
Safari
Opera
44. For converting string to array we can use ____ method.
charAt()
charCodeAt()
split()
toLowerCase()
45. JavaScript numbers are stored as ______________
integers
double precision floating point
double
floating point
46. The integers in JavaScript are precise up to ____
12 digits
10 digits
23 digits
15 digits
47. Typeof “infinity” will return ___
string
number
object
undefined
48. By default JavaScript displays the numbers as ___
base 16
base 10
base 6
base 2
49. Which method is not used for converting variables to number?
parseInt()
Number()
parseFloat()
valueOf()
50. Math.random() returns __
random number between 0 and 1
random number between 1 and 10
random number between 1 and 100
random number between 0 and 10
Submit