Vue
Test
Model Test
Ebook
Index
Vue Home
Basic
4
Components
5
Directives
5
Lifecycle Hooks
24
Computed Properties
26
Props and Data
18
Events and Methods
14
Schools
Ebook
Question:
Which class adds a heading to a panel?
A
.panel-heading
B
v-model
C
v-bind
D
v-show
Note:
Not available
Show answer
Show Note
Report
Question:
What is Vue.js?
A
.panel-head
B
.panel-footer
C
A back-end framework
D
.panel-header
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
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd