1. Question: To start using the Query Builder, we create a new instance of

    A
    DbCommand

    B
    CDbCommand

    C
    Command

    D
    Connection

    Note: Not available
    1. Report
  2. Question: To access a database table, we first need to define an AR class by extending

    A
    CActive

    B
    ActiveRecord

    C
    CController

    D
    CActiveRecord

    Note: Not available
    1. Report
  3. Question: Which method need to call to finish the insertion?

    A
    Add()

    B
    Save()

    C
    Insert()

    D
    Insertion()

    Note: Not available
    1. Report
  4. Question: To read data in a database table, which method we need to call?

    A
    Add()

    B
    Save()

    C
    Insert()

    D
    Find()

    Note: Not available
    1. Report
  5. Question: . Which represents a query criteria, such as conditions, ordering by, limit/offset?

    A
    Query

    B
    CDbCriteria

    C
    CQuery

    D
    CdQuery

    Note: Not available
    1. Report
  6. Question: Which method use to delete a row of data if an AR instance has been populated with this row?

    A
    Delete()

    B
    Remove()

    C
    Truncate()

    D
    All of them

    Note: Not available
    1. Report
  7. Question: The validation is based on the rules specified in the ___________method of the AR class?

    A
    rules()

    B
    Validation()

    C
    Check()

    D
    Check

    Note: Not available
    1. Report
  8. Question: when you write a new widget, which class you are extending?

    A
    Widget

    B
    CWidget

    C
    CForm

    D
    CControl

    Note: Not available
    1. Report
  9. Question: Which testing is generally used to test the relatively standalone components of an application?

    A
    Unit testing

    B
    Functional testing

    C
    Requirement testing

    D
    All of them

    Note: Not available
    1. Report
  10. Question: Yii is equipped with a Web-based code generation tool called

    A
    Yii

    B
    Gii

    C
    Zii

    D
    CI

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