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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

    View Answer

    Workspace

    Discuss Discuss in Forum