Basic
Test
Model Test
Ebook
Quiz-1: Yii Basic
Index
Yii Home
Basic
51
Controller
1
Model
3
Yii Component
1
Schools
Ebook
Question:
To start using the Query Builder, we create a new instance of
A
DbCommand
B
CDbCommand
C
Command
D
Connection
Note:
Not available
Show answer
Show Note
Report
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
Show answer
Show Note
Report
Question:
Which method need to call to finish the insertion?
A
Add()
B
Save()
C
Insert()
D
Insertion()
Note:
Not available
Show answer
Show Note
Report
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
Show answer
Show Note
Report
Question:
. Which represents a query criteria, such as conditions, ordering by, limit/offset?
A
Query
B
CDbCriteria
C
CQuery
D
CdQuery
Note:
Not available
Show answer
Show Note
Report
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
Show answer
Show Note
Report
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
Show answer
Show Note
Report
Question:
when you write a new widget, which class you are extending?
A
Widget
B
CWidget
C
CForm
D
CControl
Note:
Not available
Show answer
Show Note
Report
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
Show answer
Show Note
Report
Question:
Yii is equipped with a Web-based code generation tool called
A
Yii
B
Gii
C
Zii
D
CI
Note:
Not available
Show answer
Show Note
Report
First
Prev
3
4
5
6
Next
Last
/6
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd