| 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 is the function used to extract arguments from the search property of a URL?

Correct Answer is : urlArgs()

2. The decodeURIComponent() is defined by

Correct Answer is : Client-side JavaScript

3. Which is the method that removes the current document from the browsing history before loading the new document?

Correct Answer is : replace()

4. Why is the replace() method better than the assign() method?

Correct Answer is : Handles unconditional loading

5. What is the purpose of the assign() method?

Correct Answer is : Loading of window and display

6. .The history property belongs to which object?

Correct Answer is : History

7. JavaScript Code can be called by using ___________

Correct Answer is : Function/Method

8. The type of a variable that is volatile is _______________

Correct Answer is : Mutable variable

9. A hexadecimal literal begins with __________

Correct Answer is : Both 0x and 0X

10. The generalised syntax for a real number representation is __________

Correct Answer is : [digits][.digits][(E|e)[(+|-)]digits].

11. JavaScript _________ when there is an indefinite or an infinite value during an arithmetic computation.

Correct Answer is : Displays “Infinity”

12. Which of the following is not considered as an error in JavaScript?

Correct Answer is : Division by zero

13. The escape sequence ‘\f’ stands for _________

Correct Answer is : Form feed

14. The snippet that has to be used to check if “a” is not equal to “null” is _________

Correct Answer is : if(a!==null)

15. The statement a===b refers to _________

Correct Answer is : Both a and b are equal in value and type

16. Assume that we have to convert “false” that is a non-string to string. The command that we use is (without invoking the “new” operator)

Correct Answer is : Both false.toString() and String(false)

17. In which part does the form validation occur?

Correct Answer is : Server

18. What would happen if the data in the client had been wrong?

Correct Answer is : Sends back the data and Waits for correction

19. What is the purpose of the basic validation?

Correct Answer is : Mere data existence

20. What is the purpose of data format validation?

Correct Answer is : Data correctness