Vue
Test
Model Test
Ebook
Index
Vue Home
Basic
5
Components
5
Directives
5
Lifecycle Hooks
24
Computed Properties
26
Props and Data
19
Events and Methods
14
Schools
Ebook
Question:
Which directive is used for data binding in Vue.js?
A
v-text
B
v-model
C
v-bind
D
v-show
Note:
Not available
Show answer
Show Note
Report
Question:
What is Vue.js?
A
A database management system
B
A programming language
C
A back-end framework
D
A front-end JavaScript framework
Note:
Not available
Show answer
Show Note
Report
Question:
What does the Vue instance represent in a Vue.js application?
A
A single Vue component
B
A CSS class
C
A JavaScript function
D
The root of the Vue application
Note:
Not available
Show answer
Show Note
Report
Question:
How do you create a new Vue instance?
A
Vue.create()
B
Vue.new()
C
new Vue()
D
createVue()
Note:
Not available
Show answer
Show Note
Report
Question:
Which directive is used for conditional rendering in Vue.js?
A
v-if
B
v-for
C
v-bind
D
v-show
Note:
Not available
Show answer
Show Note
Report
Question:
What is a Vue component?
A
A function in Vue.js
B
A reusable Vue instance
C
A built-in HTML element
D
A type of CSS selector
Note:
Not available
Show answer
Show Note
Report
Question:
How do you define a component locally in Vue.js?
A
Using the Vue.extend() method
B
Using the Vue.component() method
C
Using the new Vue() constructor
D
Using the defineComponent() method
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is NOT a lifecycle hook in Vue.js?
A
created
B
updated
C
destroyed
D
changed
Note:
Not available
Show answer
Show Note
Report
Question:
How do you pass data from a parent component to a child component in Vue.js?
A
Using props
B
Using data
C
Using methods
D
Using computed properties
Note:
Not available
Show answer
Show Note
Report
Question:
What is the purpose of the data function in a Vue component?
A
To define methods
B
To manage component lifecycle hooks
C
To store component data
D
To handle user input events
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
Next
Last
/10
Go
Schools
Whiteboard
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd