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