1. Which tags can make element draggable?
2. What is the result of the following code snippet?el.insert('«span»Prototype«/span»');
3. Which function is used to call the initialize method of the parent class?
4. 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?
5. 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?
6. What does the statement $('item1', 'item2', 'item3'); return?
7. 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?
8. Which function updates an existing hash?
9. PeriodicalUpdater updates an element ___.
10. What is the result of the following code snippet? [1, null, 2, false, 3].partition();
11. What does cleanWhiteSpace method of element do?
12. Which method allows you to add class to a class after that class is defined?
13. Which parameters is/are valid parameter(s) of Effect.Highlight() method?
14. Which property holds the number of active requests?
15. If the server response time is slow, you may consider increasing the ___ option parameter to reduce the response time.
16. Which element method finds siblings of that element?
17. Consider the following code snippet: var s = ''; (5).times(function(n) { s += n; }); alert(s); What does the alert box display?
18. The time to complete an effect generally depends on the speed of the computer.
19. Which statement displays prototype version of Prototype?
20. Consider the following code snippet: new Effect.Scale('id1', arg2); Which attribute(s) is id1 element scaled to?
21. Which options is/are valid element(s) of the function-Form.Element.present(element);
22. Which of the following is/are a valid callback of core effects?
23. What is the result of the following code snippet? [1, 2, 3, 4, 5].map( function(num) { return num * num; } );
24. Which method allows you to add a new instance of method to a class after that class has been defined?
25. What is the difference between the names of native browser events and prototype custom events?
26. 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?
27. What is the valid range of $R(1, 10, true);?
28. __________ allows more than one effects to occur at the same time.
29. Consider the following code snippet: Element.addMethods({ : show: function(element) { : alert('This is prototype.'); } }); What does this code snippet do?
30. 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.
31. Which of the given options is the result of the following code snippet?new Builder.node('div', {className: 'error'}, 'Error');
32. Which effects are core effects?
33. What is the result of the following code snippet? [1, 2, 3, 4, 5].detect(function(n) {return n % 3});
34. When is the Ddom:loaded event fired?
35. Which object allows you to monitor Ajax activities?
36. Which function returns the element that occurred?
37. What is the result of the following function? function a() { var x = 10; return x.toPaddedString(4); }
38. 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?
39. Consider the following code snippet: new Effect.Scale(agr1, arg2); What is arg2 parameter?
40. The callback function in options of Ajax.Autocomplete() is called ___ the request is actually made.
41. ___ extends event with all of the methods contained in Event.Methods.
42. How can you stop an event from propagating?
43. Which statement is valid?
44. What does $F(element).getValue() return?
45. 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?
46. Which code snippet is the proper way to define a class that inherits another class?
47. Which method allows you to set many style attributes in one call?
48. Which code snippet moves id1 element?
49. Which function converts html special characters to their entity equivalents?
50. What does match method of element do?
51. Function.bind(object); will replace ___ variable in function by 'object'.
52. The number of arguments of Try.these() are ___.
53. What will be returned if Event.findElement('click', 'div'); cannot find any elements that match the specified tag?
54. Which methods can you use to make an element droppable?
55. Which ways can you use to check whether prototype is loaded or not?
56. What does identify method of element do?
57. A function prototype is ____.
58. A prototype includes ________ in a category. an exemplar includes ________ in the category.
59. Design prototyping is also known as ____ prototyping.
60. All arthropods _____.