
Vue.js Quiz
Authored by MUGISHA Germain
Other
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
47 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the `v-model` directive do in Vue.js?
Binds input fields to data in two-way
Connects a component to the router
Creates a loop for dynamic content
Sets a timer for mounted hook
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which file serves as the main entry point in a Vue CLI project?
main.js
App.vue
router.js
index.html
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Vue directive would you use to loop through an array of questions?
v-for
v-if
v-show
v-model
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Vue Router allow you to do in a Single Page Application?
Navigate between views without reloading
Send emails from a form
Add multiple JS frameworks
Store data in local storage
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What Vue feature allows child components to send data to the parent?
this.$emit()
Props
v-on:emit
this.$props
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Vue directive hides an element using CSS but keeps it in the DOM?
v-show
v-if
v-model
v-bind
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of Vuex in a Vue application?
Manage shared state across components
Connect frontend to MySQL
Add new routes dynamically
Animate transitions
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?