๐Ÿงช Yii PHP web application framework MCQ Quiz Hub

PHP Yii MCQ Questions

Choose a topic to test your knowledge and improve your Yii PHP web application framework skills

Which of the following is true about Yii?





โœ… Correct Answer: 4

The r parameter in the URL stands for ?





โœ… Correct Answer: 2

Which folder entry point from web?





โœ… Correct Answer: 3

To create a model, you should extend the?





โœ… Correct Answer: 3

The _______ function should normalize the widget properties.





โœ… Correct Answer: 3

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





โœ… Correct Answer: 2

Which of the following is true about External Assets?





โœ… Correct Answer: 3

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 3

The asset manager in Yii converts assets in extended syntax into CSS and JS, automatically.





โœ… Correct Answer: 1

Which of the following is not a feature of Yii?





โœ… Correct Answer: 3

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





โœ… Correct Answer: 1

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 1

To use a widget in a View, you should call the yiiaseWidget::widget() function.





โœ… Correct Answer: 1

Yii manages assets in ?





โœ… Correct Answer: 4

Which assestbundles Includes the yii.js file?





โœ… Correct Answer: 2

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





โœ… Correct Answer: 2

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





โœ… Correct Answer: 4

Cookies are plain text files stored on the client side.





โœ… Correct Answer: 1