1. All arthropods _____.
2. Design prototyping is also known as ____ prototyping.
3. A prototype includes ________ in a category. an exemplar includes ________ in the category.
4. A function prototype is ____.
5. What does identify method of element do?
6. Which ways can you use to check whether prototype is loaded or not?
7. Which methods can you use to make an element droppable?
8. What will be returned if Event.findElement('click', 'div'); cannot find any elements that match the specified tag?
9. The number of arguments of Try.these() are ___.
10. Function.bind(object); will replace ___ variable in function by 'object'.
11. What does match method of element do?
12. Which function converts html special characters to their entity equivalents?
13. Which code snippet moves id1 element?
14. Which method allows you to set many style attributes in one call?
15. Which code snippet is the proper way to define a class that inherits another class?
16. Consider the following code snippet: var template = new Template('This is #{framework} version #{version}'); var a = {framework: 'Prototype', version: '1.6.1'} var b = template.evaluate(a); What is the result of b?
17. What does $F(element).getValue() return?
18. Which statement is valid?
19. How can you stop an event from propagating?
20. ___ extends event with all of the methods contained in Event.Methods.
21. The callback function in options of Ajax.Autocomplete() is called ___ the request is actually made.
22. Consider the following code snippet: new Effect.Scale(agr1, arg2); What is arg2 parameter?
23. If you want to make an Ajax request using xml instead of the regular URL-encoded format, which option parameter do you have to change?
24. What is the result of the following function? function a() { var x = 10; return x.toPaddedString(4); }
25. Which function returns the element that occurred?
26. Which object allows you to monitor Ajax activities?
27. When is the Ddom:loaded event fired?
28. What is the result of the following code snippet? [1, 2, 3, 4, 5].detect(function(n) {return n % 3});
29. Which effects are core effects?
30. Which of the given options is the result of the following code snippet?new Builder.node('div', {className: 'error'}, 'Error');
31. If you create a draggable object, but do not create any droppable objects, then the draggable object cannot be moved by drag and drop actions.
32. Consider the following code snippet: Element.addMethods({ : show: function(element) { : alert('This is prototype.'); } }); What does this code snippet do?
33. __________ allows more than one effects to occur at the same time.
34. What is the valid range of $R(1, 10, true);?
35. Consider the following code snippet: Sortable.create('id1'); Assume that nodes which id: id11, id12 are children of id1 and nodes which id: id111, id112 are children of id11. Which of the following elements can be sortable?
36. What is the difference between the names of native browser events and prototype custom events?
37. Which method allows you to add a new instance of method to a class after that class has been defined?
38. What is the result of the following code snippet? [1, 2, 3, 4, 5].map( function(num) { return num * num; } );
39. Which of the following is/are a valid callback of core effects?
40. Which options is/are valid element(s) of the function-Form.Element.present(element);
41. Consider the following code snippet: new Effect.Scale('id1', arg2); Which attribute(s) is id1 element scaled to?
42. Which statement displays prototype version of Prototype?
43. The time to complete an effect generally depends on the speed of the computer.
44. Consider the following code snippet: var s = ''; (5).times(function(n) { s += n; }); alert(s); What does the alert box display?
45. Which element method finds siblings of that element?
46. If the server response time is slow, you may consider increasing the ___ option parameter to reduce the response time.
47. Which property holds the number of active requests?
48. Which parameters is/are valid parameter(s) of Effect.Highlight() method?
49. Which method allows you to add class to a class after that class is defined?
50. What does cleanWhiteSpace method of element do?
51. What is the result of the following code snippet? [1, null, 2, false, 3].partition();
52. PeriodicalUpdater updates an element ___.
53. Which function updates an existing hash?
54. Consider the following code snippet: new Ajax.InPlaceEditor('id1', 'save.jsp'); What is the request parameter name of id1 element on server When its value changes?
55. What does the statement $('item1', 'item2', 'item3'); return?
56. $('id1').wrap('div', {'class' : 'container'});
57. You have a local autocomplete like the following: new Autocompleter.Local(arg1, arg2, arg3, arg4); Assume that you want to create a local autocomplete text field. You want to display all possible values on div1 div element and show this div to the user. Which of the following arguments is the value of div1 div?
58. Consider the following code snippet: var a = {framework: 'Prototype', version: '1.6.1'}; var b = a.toObject(); alert(b.version); What does the alert box display?
59. Which function is used to call the initialize method of the parent class?
60. What is the result of the following code snippet?el.insert('«span»Prototype«/span»');
61. Which tags can make element draggable?
Palm Pre Application Development
Programming with C
Visual Basic 6
Assembla
E4X (ECMAScript for XML)
YAML Programming
Related MCQ's
Popular MCQ's