A ________ is an entity that has its own models, views, controllers, and possibly other modules.
1.Widget
2.Module
3.Models
4.Views
. The global constants should be defined at the __________ of an entry script.
1.end
2.beginning
3.middle
4.anywhere in the script
A ________ is a reusable client-side code, which contains HTML, CSS, and JS.
1.Widget
2.Models
3.Modules
4.Views
Cookies are plain text files stored on the client side.
1.TRUE
2.FALSE
3.Can be true or false
4.Can not say
The asset manager in Yii converts assets in extended syntax into CSS and JS, automatically.
1.TRUE
2.FALSE
3.Can be true or false
4.Can not say
The r parameter in the URL stands for ?
1.response
2.route
3.render
4.requires
The _______ function should normalize the widget properties.
1.run()
2.render()
3.init()
4.widget()
To access a database table, we first need to define an AR class by extending
1.CActive
2.ActiveRecord
3.CController
4.CActiveRecord
To create a model, you should extend the?
1.yiiderivedModel class
2.baseModel class
3.derivedModel class
4.yiiaseModel class
To use a widget in a View, you should call the yiiaseWidget::widget() function.
1.TRUE
2.FALSE
3.Can be true or false
4.Can not say
when you write a new widget, which class you are extending?
1.Widget
2.CWidget
3.CForm
4.CControl
Which assestbundles Includes the yii.js file?
1.yiiwebJqueryAsset
2.yiiwebYiiAsset
3. yiiootstrapBootstrapAsset
4.yiijuiJuiAsset
Which folder contains all the third-party packages managed by Composer?
1.Vendor
2.Views
3.Web
4.Config
Which folder entry point from web?
1.Tests
2.View
3. C. Web
4.Config
Which of the following is not a feature of Yii?
1.Yii implements the MVC architectural pattern
2.It is extremely extensible.
3.Yii provides single-tier caching support.
4.Yii provides RESTful API development support.
Which of the following is true about External Assets?
1.The assets are located in a web accessible directory
2.The assets are located in the directory that cannot be directly accessed via web.
3.The assets are located on another web server.
4.None of These
Which of the following is true about Yii?
1.The Yii framework is an open-source PHP framework for rapidly-developing, modern Web applications
2.Yii is built around the Model-View-Controller composite pattern
3.Yii provides secure and professional features to create robust projects rapidly
4.All of the above
Which represents a query criteria, such as conditions, ordering by, limit/offset?
1.Query
2.CQuery
3.CDbCriteria
4.None of the above
Yii is equipped with a Web-based code generation tool called
1.Yii
2.Gii
3. Zii
4.Cii
Yii manages assets in ?
1. asset blocks
2.asset views
3. asset trigger
4.asset bundles