bidezones.com /Yii PHP web application framework/PHP Yii MCQ Questions Sample Test,Sample questions

Question:
 A ________ is an entity that has its own models, views, controllers, and possibly other modules.

1.Widget

2.Module

3.Models

4.Views

Posted Date:-2022-08-08 05:44:11


Question:
. The global constants should be defined at the __________ of an entry script.

1.end

2.beginning

3.middle

4.anywhere in the script

Posted Date:-2022-08-08 11:02:13


Question:
A ________ is a reusable client-side code, which contains HTML, CSS, and JS.

1.Widget

2.Models

3.Modules

4.Views

Posted Date:-2022-08-08 11:03:11


Question:
Cookies are plain text files stored on the client side.

1.TRUE

2.FALSE

3.Can be true or false

4.Can not say

Posted Date:-2022-08-08 11:10:41


Question:
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

Posted Date:-2022-08-08 05:49:47


Question:
The r parameter in the URL stands for ?

1.response

2.route

3.render

4.requires

Posted Date:-2022-08-08 05:30:02


Question:
The _______ function should normalize the widget properties.

1.run()

2.render()

3.init()

4.widget()

Posted Date:-2022-08-08 05:42:44


Question:
To access a database table, we first need to define an AR class by extending

1.CActive

2.ActiveRecord

3.CController

4.CActiveRecord

Posted Date:-2022-08-08 11:09:34


Question:
To create a model, you should extend the?

1.yiiderivedModel class

2.baseModel class

3.derivedModel class

4.yiiaseModel class

Posted Date:-2022-08-08 05:40:58


Question:
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

Posted Date:-2022-08-08 11:04:12


Question:
when you write a new widget, which class you are extending?

1.Widget

2.CWidget

3.CForm

4.CControl

Posted Date:-2022-08-08 11:08:06


Question:
Which assestbundles Includes the yii.js file?

1.yiiwebJqueryAsset

2.yiiwebYiiAsset

3. yiiootstrapBootstrapAsset

4.yiijuiJuiAsset

Posted Date:-2022-08-08 11:07:10


Question:
Which folder contains all the third-party packages managed by Composer?

1.Vendor

2.Views

3.Web

4.Config

Posted Date:-2022-08-08 11:00:58


Question:
Which folder entry point from web?

1.Tests

2.View

3. C. Web

4.Config

Posted Date:-2022-08-08 05:30:48


Question:
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.

Posted Date:-2022-08-08 10:59:45


Question:
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

Posted Date:-2022-08-08 05:45:00


Question:
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

Posted Date:-2022-08-08 05:29:17


Question:
Which represents a query criteria, such as conditions, ordering by, limit/offset?

1.Query

2.CQuery

3.CDbCriteria

4.None of the above

Posted Date:-2022-08-08 05:49:02


Question:
Yii is equipped with a Web-based code generation tool called

1.Yii

2.Gii

3. Zii

4.Cii

Posted Date:-2022-08-08 05:46:28


Question:
Yii manages assets in ?

1. asset blocks

2.asset views

3. asset trigger

4.asset bundles

Posted Date:-2022-08-08 11:05:52


More MCQS[bidezones.com ]

  1. PHP Yii MCQ Questions & Answers
  2. PHP Laravel MCQ
  3. PHP Symfony MCQ
  4. PHP CodeIgniter MCQ