| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. What will happen after executing the script?

Correct Answer is : Build DOM nodes in render tree

2. What would happen if there were no script tags?

Correct Answer is : Build DOM nodes in render tree

3. What is the function of the XML parser?

Correct Answer is : Converts XML document to XML DOM object

4. What is the purpose of the method ActiveXObject()?

Correct Answer is : Used to instantiate automation object

5. What is the purpose of the url json?

Correct Answer is : Reference JSON formatted data

6. What is the parameter of the method Date.parse()?

Correct Answer is : datestring

7. Which is the function in JavaScript that will print the current page in JavaScript?

Correct Answer is : print()

8. To which of the following object does the print() method belong to?

Correct Answer is : window

9. What will happen if the radix parameter of the parseInt() function is omitted?

Correct Answer is : Runs in assumption

10. What will be the radix value if the string begins with 0x?

Correct Answer is : 16

11. What is the function of the parseInt() method?

Correct Answer is : Parses a string and returns an integer

12. What does it indicate when the radix value is 16?

Correct Answer is : String begins with 0x

13. What is the purpose of the radix parameter in the parseInt() method?

Correct Answer is : Numeral system to be used

14. What will be the radix value of the parseInt() method when the string begins with 0?

Correct Answer is : 8

15. What is the purpose of the method JSON.parse()?

Correct Answer is : Parses a string to JSON

16. What is the return type of the method parseInt()?

Correct Answer is : Integer

17. What are the parameters of the method JSON.parse()?

Correct Answer is : both text and reviver

18. What will be the radix value of the parseInt() method when the string begins with any other value other than 0x and 0?

Correct Answer is : 10

19. What kind of an exception will be thrown if the string to parse is not valid JSON?

Correct Answer is : SyntaxError

20. Which of the following is a JavaScript Compressor?

Correct Answer is : UgilifyJS