PHP Yii Framework Online Test

Instructions:

  • This practice test has 20 questions
  • You have to attempt all the questions
  • Time will be 05:00 minute for 20 questions. After 05:00 minute, practice test will be submitted automatically and you will redirect to result page.
  • This practice test is for self evalutation, if you get less marks then passing marks. Please prepare more for get excellent mark next time
  • Best of luck :)
Time: 05:00 minutes Passing Marks: 60%

1. In Yii's RESTful routing, what URL pattern represents the "view" action for a resource?

2. What is Yii?

3. Which HTTP response header is commonly used to control caching behavior in RESTful APIs?

4. In Yii, which configuration file is typically used to configure extensions?

5. In Yii, what is the purpose of the CListView widget?

6. Which Yii widget is used to render a pager in conjunction with CListView for paginating results?

7. Which Yii widget is commonly used for creating navigation menus in RESTful applications?

8. In Yii, what is the purpose of a "message source" when dealing with Internationalization (i18n)?

9. What is the purpose of using layouts in Yii views?

10. In Yii's RESTful form handling, what is the typical approach to displaying validation errors to the user?

11. What is Yii's primary goal as a web framework?

12. What is the primary purpose of testing in RESTful Yii applications?

13. Which Yii method is commonly used to process form submissions and update a resource's data in the database?

14. In Yii testing, what is the purpose of fixtures?

15. What does the CGridView widget provide in Yii's RESTful applications?

16. What is the purpose of the "GET" HTTP verb in RESTful form handling?

17. What is the primary benefit of using Yii's ActiveRecord models?

18. What is the primary purpose of using 'scopes' in Yii's Active Record?

19. In RESTful API design, what is the purpose of the "id" parameter commonly used in URLs?

20. Which deployment method is typically used for Yii applications that require high scalability and flexibility?