Twitter Bootstrap MCQs

Twitter Bootstrap MCQs

Our experts have gathered these Twitter Bootstrap MCQs through research, and we hope that you will be able to see how much knowledge base you have for the subject of Twitter Bootstrap by answering these 20 multiple-choice questions.
Get started now by scrolling down!

1:

Which of the following LESS variables does not belong to the Navbar component? 

A.   @navbar-margin-bottom

B.   @navbar-border-radius

C.   @navbar-border-radius

D.   @navbar-default-height

2:

Which of the following are helper classes?

A.   close

B.   badge

C.   caret

D.   clearfix

3:

Which of the following are not options of the method $().tooltip(options)?

A.   animation

B.   delay

C.   backdrop

D.   show

4:

Which of the following is not a Bootstrap component?

A.   Glyphicons

B.   Breadcrumbs

C.   Dropdowns

D.   Pivottable

5:

Which of the following classes will make tables scroll up horizontally when width of the view is under 768px?

A.   table

B.   table-striped

C.   table-condensed

D.   table-responsive

E.   table-scrollable

6:

Which of the following will set a modal window to not be closed on click?

A.   Setting the option "backdrop" to true

B.   Setting the option "backdrop" to static

C.   Setting the option "keyboard" to true

D.   None of these

7:

Which of the following colors is the default hover background color of the table row?

A.   #f9f9f9

B.   #f5f5f5

C.   #ddd

D.   #66afe9

8:

Which of the following is the correct description of the given table? <table class="table"> ... </table>

A.   It has light padding and only horizontal dividers with an enabled hover state on table rows within a <tbody>.

B.   It has zebra-striping enabled on any table row within the <tbody>,

C.   It has light padding and only horizontal dividers.

D.   It is compacted by cutting cell padding in half.

9:

What does the following HTML code do? <span class="caret"></span>

A.   It generates a close icon for dismissing content like modals and alerts.

B.   It utilizes the micro clearfix.

C.   It indicates dropdown functionality and direction.

D.   It indicates back button functionality.

10:

Which of the following will correctly call a dialog prompt?

A.   $('#myModal').modal()

B.   $('#myModal').modal({ keyboard: false })

C.   $('#myModal').modal('show')

D.   All of these

11:

What does the following HTML code do? <span class="badge">...</span>

A.   It indicates dropdown functionality and direction.

B.   It utilizes the micro clearfix.

C.   It highlights new or unread items.

D.   It extends the entire viewport.

12:

How many validation styles for states of on-form controls does Bootstrap have?

A.   6

B.   5

C.   4

D.   3

13:

Which of the following classes are contextual classes?

A.   success

B.   warning

C.   .error

D.   danger

14:

Which of the following components is used to indicate the current page's location within a navigational hierarchy?

A.   navs

B.   breadcrumbs

C.   pagination

D.   navbar

E.   progress bars

15:

Which of the following are not Bootstrap plugins?

A.   transition

B.   tocible

C.   tooltip

D.   boilerplate

16:

Which of the following statements is correct about using the Collapse plugin?

A) The Transitions plugin must be included.

B) The Popover plugin must be included.

A.   Statement A is true while Statement B is false.

B.   Statement B is true while Statement A is false.

C.   Both statements are true.

D.   Both statements are true.

17:

Which type of trigger cannot be used with the "delay" option to show and hide a popover?

A.   click

B.   hover

C.   focus

D.   manual

18:

Which of the following will set a modal window to be closed when the escape key is pressed?

A.   click

B.   hover

C.   focus

D.   manual

A.   2000

B.   3000

C.   5000

D.   None of these

20:

Which of the following will set a modal window to be closed when the escape key is pressed?

A.   Setting the option "backdrop" to true

B.   Setting the option "backdrop" to static

C.   Setting the option "keyboard" to true

D.   Setting the option "escape" to true

21:

Which of the following statements are correct with regards passing options?

A) Options can be passed via data attributes or JavaScript.

B) For data attributes, the option name has to be appended to option-, as in option-animation="".

C) For data attributes, the option name has to be appended to data-, as in data-animation="".

D) Options can be passed only via JavaScript.

A.   A and B

B.   A and D

C.   C

D.   A and C