R4RIN
MCQS
HTML MCQ Quiz Hub
HTML Mcq Question Set 18
Choose a topic to test your knowledge and improve your HTML skills
1. Which is used on a <ul> container?
navbar-static-top
navbar-nav
navbar-toggle
navbar-right
2. Which of the following removes left, top and right borders from navbar?
navbar-toggle
.navbar-right
navbar-static-top
navabr-nav
3. Which of the following aligns .pager previous button to left?
disabled
.pager
next
previous
4. Which class indicates new or unread items?
.jumbortron
badge
.label label-success
pager
5. Which of the following will display a grey label?
.label label-info
label label-primary
.label label-success
.label label-default
6. Which class indicates the current page?
.active
disables
pagination-sm
pagiantion-lg
7. Which of the following is added to link or header element?
navbar-default
navbar
navbar-btn
navbar-brand
8. What creates black navigation bar?
navbar-inverse
navbar-header
navbar-form
navbar-link
9. How many glyphs does bootstrap include?
369
360
260
100
10. Which of the following allows an element to lock to an area on the page?
affix
alert
popover
tooltip
11. Which of the following occurs after fixed positioned is added to the element?
affix.bs.affix
affixed.bs.affix
affix-top.bs.affix
affixed-top.bs.affix
12. What indicates a closable alert box?
.alert-danger
alert-dismissible
alert-link
.alert-success
13. Which of the following makes the button appear pressed?
btn-link
disabled
active
btn-block
14. What changes button text to the original text?
button(“loading”)
button(“string”)
button(“reset”)
button(“toggle”)
15. What adds slides to carousel?
carousel
carousel-inner
item
carousel-indicators
16. The default value for an interval is ____
4000
5000
1000
2390
17. What activates the collapsible element with an option?
collapse(“options”)
collapse(“show”)
collapse(“”toggle)
collapse(“hide”)
18. Which event occurs when collapsible element is fully shown?
show.bs.collapse
shown.bs.collapse
hidden.bs.collapse
hide.bs.collapse
19. Which of the following fades the model in and out?
modal-content
.moal-lg
.fade
modal-sm
20. What appends the popover to specific elements?
container
content
delay
placement
21. Which of the following specifies header text of popover?
title
trigger
selector
placement
22. What is the default value of offset?
20
10
30
50
23. Which of the following method will hide and destroy tooltip?
.tooltip(“hide”)
tooltip(“toggle”)
tooltip(“destroy”)
.tooltip(options)
24. How many classes does bootstrap grid system has?
3
2
1
4
25. What is bootstrap’s global default font-size?
12px
14px
10px
9px
26. Progress bars are not supported in ___
Internet Explorer 10
Internet Explorer 9
Opera
Chrome
27. Which of the following clears bottom-margin of each panel?
panel-group
panel-footer
panel-heading
panel-body
28. For inserting plain text we use ___
.form-control-static
.input-group
nput-group-addon
input-group-btn
29. Which attribute is used to input to prevent user input?
readonly
sr-only
disabled
has-feedback
30. What is the range of dimension for small devices?
450px to 700px
768px to 991px
992px to 1199px
120px to 500px
31. Which will change the order of a grid columns?
col-md-push-*
col-md-offset-*
clearfix
.col-sm-*
32. PHP files have a default file extension of_______
html
xml
.php
.ph
33. What should be the correct syntax to write a PHP code?
&lt; php &gt;
&lt; ? php ?&gt;
&lt;? ?&gt;
&lt;?php ?&gt;
34. Which version of PHP introduced Try/catch Exception?
PHP 4
PHP 5
PHP 6
PHP 5 and later
35. Which of the below statements is equivalent to $add += $add?
$add = $add
$add = $add +$add
$add = $add + 1
$add = $add + $add + 1
36. Which statement will output $x on the screen?
echo “$x”;
echo “$$x”;
echo “/$x”;
echo “$x;”;
37. Which of the below symbols is a newline character?
/n
/n
/r
38. How to define a function in PHP?
function {function body}
data type functionName(parameters) {function body}
functionName(parameters) {function body}
function functionName(parameters) {function body}
39. Type Hinting was introduced in which version of PHP?
PHP 4
PHP 5
PHP 5.3
PHP 6
40. Which of the following PHP functions accepts any number of parameters?
func_get_argv()
func_get_args()
get_argv()
get_argc()
41. Which one of the following PHP functions can be used to find files?
glob()
file()
fold()
get_file()
42. Which of the following PHP functions can be used to get the current memory usage?
get_usage()
get_peak_usage()
memory_get_usage()
memory_get_peak_usage()
43. Which of the following PHP functions can be used for generating unique ids?
uniqueid()
id()
md5()
mdid()
44. Which one of the following functions can be used to compress a string?
zip_compress()
zip()
compress()
gzcompress()
45. PHP’s numerically indexed array begin with position ____
1
2
0
-1
46. Which of the following PHP function will return true if a variable is an array or false if it is not an array?
this_array()
is_array()
do_array()
in_array()
47. Which in-built function will add a value to the end of an array?
array_unshift()
into_array()
inend_array()
array_push()
48. Which of the following function is used to get the value of the previous element in an array?
last()
before()
prev()
previous()
49. Which function returns an array consisting of associative key/value pairs?
count()
array_count()
array_count_values()
count_values()
50. Which of the functions is used to sort an array in descending order?
sort()
asort()
rsort()
dsort()
Submit