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. Which option is used to specify the HTML element that a Vue instance will be mounted to?

2. How can you change the active language/locale in a Vue.js application with vue-i18n?

3. Which command is used to install Vue CLI globally?

4. What is the difference between a computed property and a watcher in Vue?

5. In Vuex, what is an action and when would you use it?

6. What is Vue.js mainly used for?

7. In Vue, when does a watcher function get executed?

8. What is the purpose of slots in Vue components?

9. How can you install Vue Resource in a Vue.js project?

10. What is the purpose of the .then() method when making an asynchronous HTTP request in Vue Resource?

11. Which JavaScript framework is often compared to Vue.js for building user interfaces?

12. What is the role of the "vue.config.js" file in a Vue.js project?

13. Which library is commonly used for Vue.js Internationalization (i18n)?

14. In Vue, what is the purpose of the <transition> component?

15. What is the purpose of the vue-ssr library in Vue SSR?

16. In Vue Router, what is the purpose of the beforeEach navigation guard?

17. What is a mutation in the context of Vuex?

18. Which of the following is a core feature of Vue.js?

19. What is the primary purpose of testing in Vue.js applications?

20. How can you validate user input in a Vue form?