Vue Js Online Test

Instructions:

  • This practice test has 20 questions
  • You have to attempt all the questions
  • Time will be 05:00 minute for 20 questions. After 05:00 minute, practice test will be submitted automatically and you will redirect to result page.
  • This practice test is for self evalutation, if you get less marks then passing marks. Please prepare more for get excellent mark next time
  • Best of luck :)
Time: 05:00 minutes Passing Marks: 60%

1. What is the main benefit of using SSR in a Vue.js application?

2. How can you create a reusable Vue component that can be used across multiple Vue applications?

3. Which directive is commonly used for handling user input events like input or click?

4. Which tool provides a guided setup for creating and managing Vue.js projects?

5. What is the primary function of the Vue.js ecosystem tool known as "Vue Devtools"?

6. What is the purpose of the describe function in testing with Jest or Mocha?

7. How can you bind a CSS class to an element conditionally in Vue templates?

8. How do you specify different transitions for entering and leaving elements in Vue?

9. In Vue, when are computed properties recalculated?

10. What is lazy loading in the context of Vue Router?

11. How do you use a custom directive in a Vue template?

12. What is the purpose of the v-on directive in a Vue template?

13. Which CSS class is applied to an element when it leaves the DOM with a Vue transition?

14. What is the purpose of the update hook in a Vue custom directive?

15. Which directive is commonly used for rendering translated text in Vue templates?

16. In Vuex, what is a store?

17. How can you handle errors when making an HTTP request with Vue Resource?

18. In Vue, what is the syntax for using a custom directive in a template expression?

19. What is Vue Server-Side Rendering (SSR) primarily used for?

20. What is the purpose of the "public" directory in a Vue.js project created with Vue CLI?