1. 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
    1. Report
  2. 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
    1. Report
  3. 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
    1. Report
  4. Question: How do you create a new Vue instance?

    A
    Vue.create()

    B
    Vue.new()

    C
    new Vue()

    D
    createVue()

    Note: Not available
    1. Report
  5. 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
    1. Report
  6. 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
    1. Report
  7. 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
    1. Report
  8. Question: Which of the following is NOT a lifecycle hook in Vue.js?

    A
    created

    B
    updated

    C
    destroyed

    D
    changed

    Note: Not available
    1. Report
  9. 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
    1. Report
  10. 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
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd