Home / CSE MCQs / CodeIgniter 2 ::

CSE MCQs :: CodeIgniter 2

  1. default controller can be set from which configuration file:
  2. A.
    database
    B.
    config
    C.
    routes
    D.
    autoload

  3. Which one is the business logic in codeIgniter?
  4. A.
    Model
    B.
    view
    C.
    controller
    D.
    helper

  5. What kind of link is this:
  6. A.
    URI
    B.
    QueryString
    C.
    ftp link
    D.
    None

  7. Which function gives you to view file friendly syntax to get browser cookies?
  8. A.
    get_cookie()
    B.
    list_cookie()
    C.
    dis_cookie()
    D.
    set_cookie()

  9. You can display the amount of memory used by the system by calling:
  10. A.
    this->benchmark->memory_use()
    B.
    this->memory_use()
    C.
    this->benchmark->memory_usage()
    D.
    this->memory_usage()

  11. List features of Codeigniter?
  12. A.
    Model View Controller support System
    B.
    Extremely Light Weight
    C.
    Full Featured database classes with compatibility to several platforms
    D.
    All of these

  13. To load a default controller, what should you do?
  14. A.
    Give the default controller name
    B.
    Always inherit the parent controller
    C.
    Specify this in application/config/routes.php
    D.
    Add a setting to application/config.php

  15. What are the different types of hook point in Codeigniter?
  16. A.
    post_controller_constructor
    B.
    pre_controller
    C.
    post_sytem
    D.
    All of these

  17. Which one will control all the segments?
  18. A.
    index.php
    B.
    somethingvone
    C.
    somethingvtwo
    D.
    somethingvthree

  19. _______ is an Application Development Framework - a toolkit - for people who build web sites using PHP.
  20. A.
    Joomla
    B.
    Zend
    C.
    CodeIgniter
    D.
    Wordpress