Question 1 of 25
Hints left: 3
Q1
Which of the following is an event emitter?
Q2
What is the code required to delete all “weight” tags?
Q3
What is the function used to deregister event handler ‘f’?
Q4
When do uncaught exceptions generate events?
Q5
Consider the following code snippet let succ = function(x) x+1, yes = function() true, no = function() false; What convenience does the above code snippet provide?
Q6
What are the events generated by the Node objects called?
Q7
Which method to use while working with XML fragments, instead of XML()?
Q8
Rhino is originated by
Q9
Which of the following is an example to perform the most common XML manipulations using the XML objects invocation?
Q10
What will be the reaction when a catch clause has no conditionals ?
Q11
Consider the following code snippet data.sort(function(a,b),b-a); What does the above code do?
Q12
Which exception does the Iterators throw from their next() method when there are no more values to iterate, that work on finite collections ?
Q13
Which method of the iterable object returns an iterator object for the collection?
Q14
What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?
Q15
Which of the following is the descendant operator?
Q16
Which function is a synonym for on()?
Q17
What is the method used to pause “data” events?
Q18
What is the code to be used to trim whitespaces ?
Q19
Which looping statement allows XML tags to appear in JavaScript programs and adds API for operating on XML data?
Q20
What is the function used to remove all handlers for name events?
Q21
Consider the following code snippet [x,y]=[y,x]; What is the result of the above code snippet?
Q22
Which among the following POSIX signals generate events?
Q23
When will the finally block be called?
Q24
When the “end” event fires on EOF when no more data will arrive, which function is called?
Q25
What is the return type of typeof for standard JavaScript objects?