wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT004-MIDTERM REVIEW

Total questions: 50

Worksheet time: 30mins

Name
Class
Date
1.

The default layout of a Bootstrap form is among these options:

a)

.inline

b)

vertical

c)

.horizontal

d)

none of the choices

2.

The Bootstrap button style that signals caution is one of:

a)

.btn-danger

b)

.btn-warning

c)

.btn-link

d)

.btn-info

3.

The Bootstrap style that groups sets of

into a
is chosen from:

a)

.btn-group

b)

.btn-toolbar

c)

.btntoolbar

d)

.btn-group-lg

4.

Pills navigation in Bootstrap is created using styles such as:

a)

.nav, .nav-tabs

b)

.nav, .nav-pills

c)

.nav, .nav-pills, .nav-stacked

d)

.nav, .nav-tabs, .nav-justified

5.

The styles used to align nav links, forms, or buttons inside a navbar to left or right include:

a)

.navbar-align

b)

.navbar-left, .navbar-right

c)

.alignment

d)

.navbar-alignment

6.

Stacked progress bars are created with the Bootstrap style:

a)

.progress

b)

.progress-stacked

c)

.progress-stack

d)

.prog-stack

7.

The Popover Plugin's data-selector attribute behaves as (choose right statement):

a)

Delegates to specified targets

b)

Specifies popover position (top, bottom, left, right, auto)

c)

Inserts HTML into the popover or uses text method if false

d)

Applies a CSS fade transition to popover

8.

The class that applies hover color to table rows or cells is one of:

a)

.active

b)

.hover

c)

.table-hover

d)

.row-hover

9.

The Bootstrap button style that signals caution is included in:

a)

.btn-warning

b)

.btn-danger

c)

.btn-link

d)

.btn-info

10.

The Bootstrap style combining button groups into a toolbar is selected from:

a)

.btn-toolbar

b)

.btn-group

c)

.btn-group-vertical

d)

.btn-group-lg

11.

The class representing a dropdown menu is among:

a)

.drop

b)

.dropdown-list

c)

.dropdown

d)

.select

12.

Standard navigation tabs are created using:

a)

b)

c)

d)

13.

The plugin that creates a modal window is one of:

a)

window

b)

dialog box

c)

modal

d)

popup

14.

The plugin that creates a tooltip is selected from:

a)

popup

b)

modal

c)

tooltip

d)

dialog box

15.

The default size of the H5 heading in Bootstrap is:

a)

18px

b)

16px

c)

20px

d)

14px

16.

The class to make images have rounded corners is among:

4 lines
17.

Pagination controls are created with the class:

a)

pager

b)

pagination-link

c)

link-pagination

d)

pagination

18.

Lists of items are created with the class:

a)

lst-group

b)

menu-group

c)

list-grp

d)

list-group

19.

Bootstrap was developed by:

a)

James Gosling

b)

Mark Jukervich

c)

Jason Thorn and Mark Ottos

d)

Mark Otto and Jacob Thornton

20.

The statement that Bootstrap is a free front-end framework is:

a)

TRUE

b)

FALSE

21.

The class that styles a table with stripes on rows is one of:

a)

table-striped

b)

table

c)

table-bordered

d)

table-hover

22.

The class that styles an image as a thumbnail is among:

a)

img-thumbnail

b)

img-tmbnail

c)

img-thumb

d)

img-thumbnail-image

23.

The Bootstrap style that combines sets of buttons into complex components is one of:

a)

btn-toolbar

b)

btn-group

c)

btn-group-lg

d)

btn-group-vertical

24.

The built-in JavaScript method calling a function on each array element is:

a)

forEach()

b)

while()

25.

The jQuery selector for selecting an element by id "some-id" is:

a)

$('#some-id')

b)

$('some-id')

c)

$('.some-id')

d)

$(.some-id)

26.

The jQuery method that returns true if a class is present is:

a)

hasCSSClass(class)

b)

hasClass(class)

c)

hasStyleClass(class)

d)

hasStyleClass

27.

The jQuery method that sets the text of an element is:

a)

setText(val)

b)

text(val)

c)

setContent(val)

d)

set(val)

28.

The jQuery method that finds descendant elements matching selectors is:

a)

locate(selector)

b)

find(selector)

c)

search(selector)

d)

look(selector)

29.

The jQuery method that gets the inner height excluding the border is:

a)

getCSSHeight()

b)

innerHeight()

c)

getInnerHeight()

d)

getHeight()

30.

The jQuery method that returns the outer width including the border is:

a)

getCSSWidth()

b)

outerWidth([margin])

c)

getWidth()

d)

getWidth

31.

The jQuery method that can make an Ajax call is:

a)

ready(url, [data], [callback])

b)

reload(url, [data], [callback])

c)

load(url, [data], [callback])

d)

reload.data(url, [data], [callback])

32.

The jQuery method that loads a remote page using HTTP request is:

a)

jQuery.ajaxSetup(options)

b)

serialize()

33.

The single global function defined in the jQuery library is:

a)

$()

b)

Queryanalysis()

c)

jQuery()

d)

None of the mentioned

34.

The jQuery method used to hide selected elements is:

a)

hidden()

b)

visible(false)

c)

hide()

d)

display(none)

35.

$.foo() is equivalent to:

a)

javascript.foo()

b)

document.foo()

c)

jQuery.foo()

d)

None

36.

The built-in method that returns the character at a specified index in a string is:

a)

characterAt()

b)

getCharAt()

c)

atchar()

d)

charAt()

37.

The function that holds or releases the execution of jQuery's ready event is:

a)

jQuery.ready()

b)

jQuery.hold()

c)

jQuery.holdready()

d)

jQuery.holdReady()

38.

The method that returns element positions relative to their offset parent is:

a)

width()

b)

offsetparent()

c)

setparent()

d)

position()

39.

The jQuery code to set the background color of all span elements to blue is:

a)

$(“span”).css(“background-color”,”blue”);

b)

$(“span”).layout(“background-color”,”blue”);

c)

$(“span”).manipulate(“background-color”,”blue”);

d)

$(“span”).style(“background-color”,”blue”);

40.

The term "min" stands for:

a)

Miniature

b)

Minimised parameters

41.

The method used for parsing JSON text in jQuery is:

a)

jQuery.noConflict()

b)

jQuery(noConflict)

c)

jQuery.parseJSON()

d)

jQuery.each()

42.

The correct jQuery code for making all div elements 100 pixels high is:

a)

$(“div”).yPos(100)

b)

$(“div”).height=”100

c)

$(“div”).height(100)

d)

all of the above

e)

 None

43.

The jQuery method that checks the current selection against a selector expression is:

a)

getIs(selector)

b)

checkIs(selector)

c)

is(selector)

d)

checkI.selectors()

44.

To select all elements containing specified text, the method is:

a)

:selects()

b)

:selects() and :contains()

c)

:contains()

d)

:selectsText()

45.

The method used to serialize an array or object is:

a)

size()

b)

length

c)

param()

d)

size(length)

46.

The symbol jQuery uses as a shortcut for itself is:

a)

% sign

b)

$ sign

c)

? Sign

d)

None of the above

47.

The jQuery method used to perform an asynchronous HTTP request is:

a)

jQuery.ajaxAsync()

b)

jQuery.ajax()

c)

jQuery.ajaxSetup()

d)

None of the above

48.

The selector $("div.intro") selects:

4 lines
49.

The methods used in jQuery to provide visual effects include:

a)

None of these

b)

All of these

c)

Show()

d)

Toggle()

50.

To get the value of a style property for the first matched element, use:

a)

.style()

b)

.css()

c)

Both .style and .css

d)

None of the above