🧪 CakePHP MCQ Quiz Hub

CakePHP MCQ

Choose a topic to test your knowledge and improve your CakePHP skills

1. Which CakePHP entities can the Bake console create?




2. Which data retrieval function call is most suitable to build input select boxes?




3. Is it possible to define custom data retrieval methods and if so, where would you define them?




4. Which of the following is an example of a model definition in CakePHP?




5. You want to generate three instances of a model form within the context of a view. What syntax is most correct to use with FormHelper::input() ? $i represents an incremented variable.




6. What kind of functionality does the Security Component provide?




7. Which file is processed first?




8. In cakePHP 2.x , the recursive property defines:




9. What should be done before deploying a CakePHP application?




10. What is the AppController class?




11. What is a .ctp file?




12. How is the AppController class defined?




13. The Bake console can be used to create:




14. What does MVC stand for?




15. What is the default action for a controller?




16. By default, what controller action will be invoked if the action is not specified in the URL?




17. Which data retrieval function will return one result only?




18. Which function is executed before every action in the controller.




19. How will you include an element (header/footer etc.) within a layout?




20. What is the name of the CLI console that comes with CakePHP and helps you get your project up and running fast by generating models, views, and controllers from templates.