1. Question: Which models are used to store data collected from user input?

    A
    Active Record Model

    B
    Form Model

    C
    Widget

    D
    CModel

    Note: Not available
    1. Report
  2. Question: Which views refer to the views used by Yii to display error and logging information?

    A
    Layout

    B
    Form

    C
    System

    D
    All of them

    Note: Not available
    1. Report
  3. Question: A component is an instance of ____________or its derived class.

    A
    CModel

    B
    CController

    C
    CForm

    D
    CComponent

    Note: Not available
    1. Report
  4. Question: How we can retrieve the error messages?

    A
    by calling CModel::getErrors() and CModel::getError().

    B
    by calling CModel:: Errors() and CModel:: Error()

    C
    by calling Errors() and Error()

    D
    by calling Errors() and Error()

    E
    All of them

    Note: Not available
    1. Report
  5. Question: To create a text input field, we can call

    A
    CHtml::textField();

    B
    CForm::textField()

    C
    CModel::textField()

    D
    CController::textField()

    Note: Not available
    1. Report
  6. Question: ______________generates a label associated with the specified model attribute.

    A
    Labe

    B
    CHtml::Label

    C
    CHtml::activeLabel()

    D
    activeLabel

    Note: Not available
    1. Report
  7. Question: CFormInputElement recognizes which of the following built-in types?

    A
    ActiveLabel

    B
    ActiveTextbox

    C
    Text

    D
    Hidden

    E
    password

    Note: Not available
    1. Report
  8. Question: Yii introduces which of the three ways that allow you to work with databases?

    A
    Active Record

    B
    ADO

    C
    Query Builder

    D
    SQL via DAO

    Note: Not available
    1. Report
  9. Question: Yii DAO mainly consists, which of the following classes?

    A
    DataReader

    B
    CDbConnection

    C
    CDbCommand

    D
    SqlCommand

    Note: Not available
    1. Report
  10. Question: Which class represents a connection to a database?

    A
    CDbConnection

    B
    SQLConnection

    C
    DBConnection

    D
    Connection

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd