These Mootools multiple-choice questions and their answers will help you strengthen your grip on the subject of Mootools. You can prepare for an upcoming exam or job interview with these 70+ Mootools MCQs.
So scroll down and start answering.
A. a
B. b
C. c
D. There is no alert box.Â
A. Make e2 the first child of e1.
B. Make e1 the first child of e2.
C. Replace e1 by e2.
D. Replace e2 by e1.
A. true
B. false
C. failed
D. non-failed
A. true
B. false
C. null
D. b
A. classA = new Class({x: 10});
B. Class classA {x: 10}
C. classA = Class.create({x: 10});
D. classA = Class.new({x: 10});
A. Set request option value.
B. Add array to request object.
C. Send request as "put" method.
D. This statement is invalid.
A. send
B. POST
C. post
D. Post
A. Load the image, and insert it at the beginning of the document.
B. Load the image, and insert it at the end of the document.
C. Load the image, but do not insert into the document.
D. Get the id of the imageÂ
A. success or failure
B. is canceled
C. failure
D. failure or is canceled
A. 300
B. 300px
C. 300pt
D. 300em
A. remove
B. delete
C. erase
D. pop
Fill in the blank with the correct words:
getRandom(); will get a random ___ from the ___.
A. element, array
B. word, string
C. letter, string
D. number, range
A. Table
B. TABLE
C. HtmlTable
D. HTMLTABLE
A. Delete request option value.
B. Remove array element from request object.
C. Send request as
D. This statement is invalid
A. It adds log function to predefined JavaScript String class.
B. It adds log function to user's String class.
C. It adds log function to String object.
D. It runs implement function of String object as another function.
A. 1
B. 1.1
C. 11
D. There is no alert box.
A. makeDraggable
B. draggable(true)
C. makeDroppable
D. droppable(true)
A. erase
B. remove
C. delete
D. cut
A. without
B. with
A. 1
B. 2
C. null
D. There is no alert box.Â
A. content area height
B. padding top and bottom
C. margin top and bottom
D. border top width and border bottom width
A. ['1', '2', '3', 4]
B. ['1', '2', '3', '4']
C. [1, 2, 3, 4]
D. This code snippet is invalid
A. Extends
B. extends
C. Inherits
D. inherits
Fill in the blank with the correct option.
The ___ function will be executed each time an instance of a class is created.
A. initialize()
B. create()
C. new()
D. constructÂ
A. setStyle
B. setStyles
C. applyStyle
D. applyStyles
A. var a1 = $('a1'); a1.href="http://www.google.com";
B. var a1 = $('a1'); a1["href"]="http://www.google.com";
C. a and b.
D. None of above.Â
A. Make e1 the last element of e2
B. Make e1 the first element of e2
C. Make e2 the last element of e1
D. Make e2 the first element of e1Â
A. Yes
B. NoÂ
A. Create an image element and show it at the end of the document.
B. Create an image element and show it at the top of the document.
C. Create an image element object.
D. Create a collection of existing image elements.
A. null
B. true
C. false
D. There is no alert boxÂ
A. Load data from "data" page to id1 element.
B. Load data from function "data".
C. Load value from "data" variable.
D. Load id1 element content into
A. Sortables
B. Orderables
C. Effects
D. Movables
A. $('id1').setStyle('background-color', 'yellow');
B. document.getElementById('id1').setStyle('background-color', 'yellow');
C. $('id1').set('background-color', 'yellow');
D. a and b
E. b and c
A. object or array
B. class
C. string
D. class or string
A. 1
B. 2
C. 3
D. 4Â
A. Horizontal up
B. Horizontal down
C. Vertical left
D. Vertical rightÂ
A. {a1: 8, a2: 7, a3: 6, a4: 5, a1: 4, a3: 3}
B. {a1: 4, a2: 7, a3: 3, a4: 5}
C. {a2: 7, a3: 6}
D. {}Â
A. 1
B. 2
C. 3
D. 4
A. addClass
B. toggleClass
C. insertClass
D. injectClassÂ
This is «p»This is mootools«/p»mootools too
This is mootools
This is Mootools
A. 1
B. 2
C. 3
D. 4Â
A. Yes
B. No
A. x is the vertical coordinate of window.
B. x is the horizontal coordinate of window.
C. x is the vertical coordinate of element.
D. x is the horizontal coordinate of element.Â
A. All three requests finish.
B. Each request finishes.
C. rq1 finishes.
D. rq3 finishes.
A. Create and return a Flash object.
B. Create and show a Flash object on the document.
C. Create and return a Java Aplet object.
D. Create and return a Java Aplet object.Â
A. true
B. false
C. null
D. undefined
A. rel and tip attributes
B. description attribute
C. title attribute
D. title and description attributes
A. Yes
B. No
A. e1 element clones all events from e2 element.
B. e2 element clones all events from e1 element.
C. Duplicate event name e2 of e1 element.
D. Duplicate event name e1 of e2 element.Â
A. 1
B. 2
C. 3
D. 4Â
A. Cookie.dispose
B. Cookie.delete
C. Cookie.remove
D. Cookie.emptyÂ