Q.1
Which of the following is the descendant operator?
Q.2
Which of the following is an example to perform the most common XML manipulations using the XML objects invocation?
Q.3
What is the code required to delete all “weight” tags?
Q.4
What is the code to be used to trim whitespaces ?
Q.5
What will be the reaction when a catch clause has no conditionals ?
Q.6
When will the finally block be called?
Q.7
What is the return type of typeof for standard JavaScript objects?
Q.8
Which method to use while working with XML fragments, instead of XML()?
Q.9
Which looping statement allows XML tags to appear in JavaScript programs and adds API for operating on XML data?
Q.10
Which exception does the Iterators throw from their next() method when there are no more values to iterate, that work on finite collections ?
Q.11
Which method of the iterable object returns an iterator object for the collection?
Q.12
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?
Q.13
Consider the following code snippet
data.sort(function(a,b),b-a);
What does the above code do?
Q.14
The main difference between the variables declared with var and with let is
Q.15
Consider the following code snippet
function oddsums(n) 
{
     let total = 0, result=[]; 
     for(let x = 1; x <= n; x++) 
     { 
        let odd = 2*x-1; 
        total += odd;
        result.push(total);
     }
     return result;
}

What would be the output if
oddsums(5);
is executed afted the above code snippet ?
Q.16
Consider the following code snippet
console.log(p)
If p is not defined, what would be the result or type of error?
Q.17
Consider the following code snippet
let x=x+1;
console.log(x);
What will be the result for the above code snippet?
Q.18
Consider the following code snippet
[x,y]=[y,x];
What is the result of the above code snippet?
Q.19
Which is the object that defines methods that allow complete control over page content?
Q.20
Which was one of the first security subsets proposed?
0 h : 0 m : 1 s