$type(/abc/) returns ___.
string 0%
regexp 0%
function 0%
Assume that c1 element is the child of p1 element, how many times is the mouseenter event fired if the mouse moves from outside to p1 element, then over the c1 element?
Complete the sentence with the correct option. A class can inherit other class by using ___ property.
Consider the body of a document below: <p>This is «p»This is mootools«/p»mootools too</p> <p>This is mootools</p> <p>This is Mootools</p> <script type="text/javascript"> al...
Consider the following code snippet: $$('div.e1').setStyle('background-color', 'yellow').addClass('floatBox'); How many times is each div element with e1 class iterated?
Once 0%
Twice 0%
It's equal to the number of div elements with e1 class. 0%
It's equal to twice the number of div elements with e1 class. 0%
Consider the following code snippet: alert(1.1.floor()); Which of the following is displayed in the alert box?
1 0%
2 0%
null 0%
There is no alert box. 0%
Consider the following code snippet: function function1 () { var a = document.getElementById(); return a; } alert(function1.attempt()); What does the alert box display?
null 0%
true 0%
false 0%
There is no alert box. 0%
Consider the following code snippet: fx = new Fx.Tween($('id1'), { onComplete: function() { alert("Finish"); } }); fx.set('opacity', 0.5); Does the onCompl...
Consider the following code snippet: new Fx.Tween($('id1')).start('opacity', 0, 1); Does the transition happen if the current opacity value of id1 element is 1?
Consider the following code snippet: new Fx.Tween($('id1')).start('opacity', 1); Does the transition happen if the current opacity value of id1 element is 1?
Consider the following code snippet: String.implement({log: function(){console.log(this)}}); What does this code snippet do?
It adds log function to predefined JavaScript String class. 0%
It adds log function to user's String class. 0%
It adds log function to String object. 0%
It runs implement function of String object as another function. 0%
Consider the following code snippet: var a = ['1', '2', '3']; var b = 4; a.include(b); What is the result of a?
['1', '2', '3', 4] 0%
['1', '2', '3', '4'] 0%
[1, 2, 3, 4] 0%
This code snippet is invalid. 0%
Consider the following code snippet: var a = ['Dog', 'Cat', 'Chicken']; a.combine(['Dog', 'cat']); What is the result of a?
["Dog", "Cat", "Chicken", "cat"] 0%
["Dog", "Cat", "Chicken"] 0%
["Dog", "Cat", "Chicken", "Dog", "cat"] 0%
Consider the following code snippet: var a = [0, 3, 5].some(function(value) {return value % 3;}); What is the value of a?
true 0%
false 0%
null 0%
undefined 0%
Consider the following code snippet: var a = $$('div'); var b = a.filter('.blue'); What is the result of b?
All div elements that contain "blue" class. 0%
All div elements that do not contain "blue" class. 0%
All elements that contain "div" and "blue" class. 0%
All elements that do not contain "div" and "blue" class. 0%
Consider the following code snippet: var a = $arguments(1); alert(a('a','b','c')); What does the alert box display?
a 0%
b 0%
c 0%
There is no alert box. 0%
Consider the following code snippet: var a = 256; var b = a.limit(0, 100); alert(b); What does the alert box display?
Consider the following code snippet: var a = Function.from(1.1); alert(a(10)); Which of the following does the alert box display?
1 0%
1.1 0%
11 0%
There is no alert box. 0%
Consider the following code snippet: var a = function(arg1) {console.log(arg1.toString());}; var b = a.pass('a'); b(); What does this code snippet write into console?
a 0%
aa 0%
null 0%
This code snippet is invalid. 0%
Consider the following code snippet: var a = new $H({"a": 1, "b": 2}); var b = a.toQueryString(); What is the result of b?
a=1&b=2 0%
b?a=1&b=2 0%
1&2 0%
a:1&b:2 0%
Consider the following code snippet: var a = new Fx.Morph($('id1'), {link: value}); Which value of "value" in this code snippet makes the new transitions stop the current transition?
cancel 0%
ignore 0%
chain 0%
stop 0%
Consider the following code snippet: var arr1 = {a1: 8, a2: 7}; var arr2 = {a3: 6, a4: 5}; var arr3 = {a1: 4, a3: 3}; var arr4 = $merge(arr1, arr2, arr3); Which of the following i...
{a1: 8, a2: 7, a3: 6, a4: 5, a1: 4, a3: 3} 0%
{a1: 4, a2: 7, a3: 3, a4: 5} 0%
{a2: 7, a3: 6} 0%
{} 0%
Consider the following code snippet: var global = 1; var a = new Chain(); a.chain( function(){ global++;}, function(){ global++;} ); a.callChain(); a.callCh...
Consider the following code snippet: var rq1 = new Request('request1'}); var rq2 = new Request('request2'); var rq3 = new Request('request3'); var group = new Group(rq1, rq2, rq3);...
All three requests finish. 0%
Each request finishes. 0%
rq1 finishes. 0%
rq3 finishes. 0%
Consider the following code snippet: var a = new Drag.Move($('id1'), {droppables: $('.droppables'), container: $('container'), handle: $('handler')}); Where can the id1 element drop into?
All elements that have droppables class. 0%
Anywhere. 0%
Anywhere in "container" element. 0%
This code snippet is invalid. 0%
Consider the following code snippet: var animals = ['Cow', 'Pig', 'Dog']; var sounds = ['Moo', 'Oink', 'Woof', 'Miao']; var result = sounds.associate(animals); What will alert(result.Miao) functi...
null 0%
Dog 0%
Undefined 0%
Cow 0%
Consider the following: $('id1').load("data"): What does the code snippet do?
Load data from "data" page to id1 element. 0%
Load data from function "data". 0%
Load value from "data" variable. 0%
Load id1 element content into "data" variable. 0%
Fill in the blank with correct word. Fx Events: onChainComplete: The function onChainComplete of Fx.Events is executed after ___ effect(s) in the chain have completed.
all 0%
each 0%
the predefined 0%
selected 0%
Fill in the blank with the correct option: By default, the class Tips use the element's ___ to display tooltip.
rel and tip attributes 0%
description attribute 0%
title attribute 0%
title and description attributes 0%
Fill in the blank with the correct option. The ___ function will be executed each time an instance of a class is created.
initialize() 0%
create() 0%
new() 0%
construct 0%
Fill in the blank with the correct phrase: function1.bind(object1) function replaces ___ in function1 by object1.
The This keyword 0%
The first argument 0%
The first object 0%
None of the above. 0%
Fill in the blank with the correct value: The Drag class enables the modification of ___ CSS properties of an Element based on the position of the mouse while the mouse button is down.
1 0%
2 0%
3 0%
more than 3 0%
Fill in the blank with the correct value: The maximum number of arguments of onSuccess event of Request.HTML is ___.
Fill in the blank with the correct word: fireEvent function executes all events of the specified type present in the ___.
element 0%
window 0%
document 0%
object 0%
Fill in the blank with the correct word: Function.attempt function tries to execute a number of functions. Returns immediately the return value of the first ___ function without executing successi...
true 0%
false 0%
failed 0%
non-failed 0%
Fill in the blank with the correct word: Implements is similar to Extends, except that it adopts properties from one or more other classes ___ inheritance.
Fill in the blank with the correct word: The onComplete event is fired if the request ___.
success or failure 0%
is canceled 0%
failure 0%
failure or is canceled 0%
Fill in the blank with the correct word: JSON.encode function converts any ___ into a JSON string.
object or array 0%
class 0%
string 0%
class or string 0%
Fill in the blank with the correct words: getRandom(); will get a random ___ from the ___.
element, array 0%
word, string 0%
letter, string 0%
number, range 0%
getSize() method returns width and height of an element, which value is counted in the height of the return value of getSize() function?
content area height 0%
padding top and bottom 0%
margin top and bottom 0%
border top width and border bottom width 0%
Is Fx.Morph class allows you to execute animation of more than one property at the same time?
State whether the following statement is True or False: "The Flash file must use ExternalInterface class to register its functions to make these functions available to JavaScript so that these fun...
What does $('div'); return if there is no element with "div" id?
Elements that have class "div". 0%
null 0%
It causes an exception. 0%
All div elements. 0%
What does $('div'); return?
An element with id div. 0%
Elements that have div class. 0%
The first div element. 0%
A collection of div elements. 0%
What does $$('a', 'b'); return?
All anchor elements and bold elements. 0%
Element with id a and element with id b. 0%
Element with class a and element with class b. 0%
Element that has class a and class b. 0%
What does Asset.image do?
Load the image, and insert it at the beginning of the document. 0%
Load the image, and insert it at the end of the document. 0%
Load the image, but do not insert into the document. 0%
Get the id of the image. 0%
What does e1.grab(e2, 'top'); do?
Make e2 the first child of e1. 0%
Make e1 the first child of e2. 0%
Replace e1 by e2. 0%
Replace e2 by e1. 0%
What does e1.inject(e2); do?
Make e1 the last element of e2 0%
Make e1 the first element of e2 0%
Make e2 the last element of e1 0%
Make e2 the first element of e1 0%
What does request.delete({name: 'mootools'}); do?
Delete request option value. 0%
Remove array element from request object. 0%
Send request as "delete" method. 0%
This statement is invalid. 0%
What does Swiff class do?
Create and return a Flash object. 0%
Create and show a Flash object on the document. 0%
Create and return a Java Aplet object. 0%
What does the code snippet do? e1.cloneEvents(e2);
e1 element clones all events from e2 element. 0%
e2 element clones all events from e1 element. 0%
Duplicate event name e2 of e1 element. 0%
Duplicate event name e1 of e2 element. 0%
What does the code snippet do? var css = Asset.css("css");
Load file "css" and links that file into header as css file. 0%
Create a css class. 0%
Apply "css" class to Asset element. 0%
This statement is invalid. 0%
What does the following code snippet do? var img1 = new Element('img', {src:'img1.png'});
Create an image element and show it at the end of the document. 0%
Create an image element and show it at the top of the document. 0%
Create an image element object. 0%
Create a collection of existing image elements. 0%
What does the following do? «font size=2» $('id1').href = "http://mootools.net"; «font »
Create "href" attribute for element id1 if it does not exist and assign "http://mootools.net" variable to that attribute. 0%
Change the content of id1 element to "http://mootools.net". 0%
Change "href" attribute of id1 anchor to "http://mootools.net". 0%
This statement is invalid. 0%
What does the following do? request.put({name: 'mootools'});
Set request option value. 0%
Add array to request object. 0%
Send request as "put" method. 0%
This statement is invalid. 0%
What does the statement 'moo tools'.contains('t', ' '); return?
true 0%
false 0%
null 0%
b 0%
What is a valid value of $('e1').getStyle('width');?
300 0%
300px 0%
300pt 0%
300em 0%
What is the result of- alert($defined('«body»'));?
true 0%
false 0%
null 0%
undefined 0%
What is the valid direction of Fx.Slide?
Horizontal up 0%
Horizontal down 0%
Vertical left 0%
Vertical right 0%
Which method below inserts css class to an element?
addClass 0%
toggleClass 0%
insertClass 0%
injectClass 0%
Which method can you use to make a div resizeable?
makeResizable 0%
allowResize 0%
makeSizeChangeable 0%
allowSizeChangeable 0%
Which method(s) below is valid request method(s)?
Which of the following classes can you use to create sortable elements?
Sortables 0%
Orderables 0%
Effects 0%
Movables 0%
Which of the following code snippets defines a class?
classA = new Class({x: 10}); 0%
Class classA {x: 10} 0%
classA = Class.create({x: 10}); 0%
classA = Class.new({x: 10}); 0%
Which of the following functions can be used to load json data?
Request.JSON 0%
json.request 0%
Which of the following functions removes cookie from the browser?
Cookie.dispose 0%
Cookie.delete 0%
Cookie.remove 0%
Cookie.empty 0%
Which of the following functions stops propagation from child element to its parents?
preventDefault 0%
stopPropagation 0%
preventPropagation 0%
stopDefault 0%
Which of the following is a valid mootools table class?
Which of the following methods can you use to apply a collection of styles to an element?
setStyle 0%
setStyles 0%
applyStyle 0%
applyStyles 0%
Which of the following methods can you use to make an element draggable?
makeDraggable 0%
draggable(true) 0%
makeDroppable 0%
droppable(true) 0%
Which of the following methods removes an element from a Hash object?
remove 0%
delete 0%
erase 0%
pop 0%
Which of the following statements change the background color of id1 element to yellow?
$('id1').setStyle('background-color', 'yellow'); 0%
document.getElementById('id1').setStyle('background-color', 'yellow'); 0%
$('id1').set('background-color', 'yellow'); 0%
a and b 0%
b and c 0%
Which option of Fx.Morph class can use to change the transition type?
transition 0%
link 0%
affect 0%
type 0%
Which options below change the href of a1 anchor link to http://www.google.com?
var a1 = $('a1'); a1.href="http://www.google.com"; 0%
var a1 = $('a1'); a1["href"]="http://www.google.com"; 0%
a and b. 0%
None of above. 0%