Home / CSE MCQs / CakePHP ::

CSE MCQs :: CakePHP

  1. What is the first file that gets loaded when you run an application using a cakephp?
  2. A.
    index.php
    B.
    config.php
    C.
    bootstrap.php
    D.
    core.php

  3. The view layer in CakePHP can be made up of a number of different parts. What are the deferent part of view layer?
  4. A.
    View
    B.
    Element
    C.
    Controller
    D.
    Model

  5. Which of email transports can be used in CakeEmail?
  6. A.
    Only Mail and Smtp
    B.
    Mail, Smtp and your own
    C.
    Only Mail
    D.
    Only Smtp

  7. Which function is executed before every action in the controller?
  8. A.
    beforeFilter
    B.
    All of above
    C.
    afterFilter
    D.
    firstFilter

  9. List some features of CakePHP framework?
  10. A.
    MVC Architecture
    B.
    Zero configuration
    C.
    Inbuilt validation
    D.
    All of these

  11. Which by is not a core find type provided by CakePHP?
  12. A.
    first
    B.
    all
    C.
    active
    D.
    threaded

  13. Which of the following function will be called before any action get executed?
  14. A.
    render
    B.
    index
    C.
    beforeFilter
    D.
    beforeRender

  15. What are commonly used components of Cakephp?
  16. A.
    Security
    B.
    Sessions
    C.
    Access control lists
    D.
    All of the above

  17. What are commonly used helpers of Cakephp?
  18. A.
    FormHelper
    B.
    HtmlHelper
    C.
    JsHelper
    D.
    All of the above mentioned

  19. CSRF protection is provided in CakePHP 2.x in
  20. A.
    None of above
    B.
    Security Methods
    C.
    SecurityComponent
    D.
    Security Plugin